Skip to content

adventure

Parodper edited this page Mar 30, 2019 · 3 revisions

ADVENTURE Program

#Variables used

  • A: Position on the horizontal axis
  • B: Position on the vertical axis
  • C: Key pressed
  • D: Temp position on the horizontal axis
  • E: Temp position on the vertical axis
  • F: Room number
  • G: Boolean to avoid redrawing the room all the time
  • H: Weapon level
  • I: Money
  • J: Enemy position on the horizontal axis
  • K: Enemy position on the vertical axis
  • L: Health
  • M: Enemy health
  • Y, Z: Loop variables #Gotos
  • A: Menu
  • 0: Goes to the room section
  • 1: Goes to the movement section

Bugs

  • When you enter a new room it may not redraw. To solve it press the arrow keys.

Rooms

Here rooms are shown surrounded by | and -. These and everything outside them do not appear on the program.

Room 1

Goes to room 5
+|-----------------+
|A0               O|
| 0 0 +++x+++++++++|
| 0 0 +++O+++++++++|
|   0O+++++++++++++|
+----|-------------+
    Goes to room 2

x O The x is a bush cuttable with a weapon The O is the shop (room X)

Room 2

  Return to room 1
+-|----------------+
|0 000000000000000S|
|0 000000000000000S|
|0                S->River. Goes to room 3
|00000000000000000S|
+------------------+

Room 3

+------------------+
|       =          |
*==================-Goes to room 4
|                  |
|                  |
+------------------+
* Goes back to room 1

Room 4

+------------------+
|                  |
*=======::         |
|       :4         |
|                  |
+------------------+

* Goes to room 3 The '4' is a chest with a lvl 1 weapon

Room 5

+------------------+
|0000              |
|04 0              |
|0  0              |
|0-00              |
+-|----------------+
  Return to room 1

The '4' is a chest that contais gold. It might have been robbed by the time you enter here if you take long enough

Room 6

+------------------+
|1 1M->Weapon lvl n|
|2 5M->Health      |
|                  |
|                 0-Here appears the money left
+------------------+

Press a number to buy. Press [EXIT] to exit

Room 7

  Health
+-|----------------+
|10                |
|                8 - Monster.
|                  |
|                  |
+------------------+

Kill the monster to gain money. When you enter the room or the monster is killed it will reappear on a random location. To exit go to the top right corner

Menu

Load

Enter the saved number on pairs of digits. Example:

? 12 ? 34 ...

Save

Save the list of numbers on paper. The format is AABBFFHHIILL.

Exit

Exits the program

Clone this wiki locally