|
King's Quest Codes -
View Version Number: Press [Alt] + V.
DeBug Mode: Press [Left Shift] + [Right shift] + [Keypad Plus] to enable debug mode. Except as noted, the following global variable values may be edited. The changes only take effect after debug mode is exited.
Global variables | Comment | 1 | Game ID | Read only | 2 | Room number | Read only | 3 | Speed | 0 (fastest) to 99 (slowest) | 4 | Unknown | | 5-8 | Something from EventHandler | | 9 | Pointer to object | Inventory; Read only | 12 | Previous scene number | | 13 | Scene number | 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. |
| | | Key | Command | Comment | Q | Quit | Quit immediately | T | Temp variable | Inspect temp variable | A | Inspect | | I | Inspect | See "Inspect" sub-commands | O | Object | | R | Resources | | S | Send stack | | D | Display memory | | F | Free heap | | G | Global variable | Inspect global variable | L | Local variable | Inspect local variable | B | Break in (If object value is changed, Auto-debug) | | C | Inspect current object | |
Key | Inspect subcommand effect | [Up], [Down], [Left], [Right] | Scroll | [Enter] | Next item | [Comma] | Move to address | I | Inspect | E | Edit | C | Collection |
|
|