Global variables |
Notes |
1 - Game ID (Example kq1) |
Read only (@) |
2 - Room number (Ex. rm8 for room #8) |
Read only |
3 - Speed |
0 - Max, but 99 is quite slow |
4 - Unknown |
|
5-8 - Something from EventHandler |
|
9 - Pointer to object inventory |
Read only |
12 - Previous scene number |
|
13 - Scene number |
Can be used for teleport. |
14 - Breakpoint flag |
If non-zero, Auto-DEBUG on room CHANGE |
15 - Score |
New score is displayed only after next non-DEBUG change. |
16 - Max Score |
New score is displayed only after next non-DEBUG change. |
30 - Pointer to SG Directory. |
Use INSPECT to view SG directory. |
Global variable's marked with (@), attempted value changes have no effect.
They are automatically restored. Here are the debug commands.