I'm developing a basic program consisting of menus and random integers to convert different tables from the Dungeons and Dragons DM's guide to my calculator so i wont have to crackout dice to do what i need. This program consists of the random dungeon tables, treasure tables, a general encounter generator im building, and random item generation.
I am currently writing the code for the first dungeon building generator which only consists of pulling up one of ten starting areas. However, 2 problems arise.
A. Only one possibility pops up
B. That one possibility doesnt display right. The first output doesnt display and the other 3 outputs do show up
Here is the code. I wont display the whole thing, but just enough so you get the jist of it
Lbl II
randInt(1,10)➡Y
If Y=1
Output(1,1,"Square room,
Output(2,1,"20 x 20 ft. with
Output(3,1,"a passage on
Output(4,1,"each wall."
Pause
ClrHome
Goto GG (this is the previous menu)
ElseIf Y=2
And the rest of the code goes on like that for all ten possibilities of starting areas.
Now I know that output doesnt need to be displayed like that, however, it didnt display anything even when the words were spaced out. Any idea what could help?