King's Quest Early SCI Cheat
Here is how to access the debug mode in King's Quest IV, or any
other early SCI game, press LSHIFT+RSHIFT+the numeric keypad minus
key. (make sure Num Lock is off) A debug window will open in the
top right-hand corner. To exit the debug mode, press Shift-D.
To Teleport:
While you're still in debug mode, press G. This will open up another
window at the bottom of the screen. The variable that controls
what room your in is 13, so type in 13 and press enter. You will
now see a number assigned to the room you are in. Delete that
number, and enter a different number.
To get an object:
press I from the main window. In the next window that appears,
type in Inv. This is a collection, so hit C for collection. Keep
hitting ENTER until you see the object you want. Now, you'll want
to change where the object is located. Hit E for edit, and type
location. In the resulting window is the number of the room that
the object is located in. Delete that, and type in ego.
All global variable values can be changed. Changes will take effect after exiting DEBUG.
| Global
variables |
Notes |
|
1 - Game ID (Example kq1)
|
|
|
|
2 -
|
Room number (Ex. rm8 for room #8) |
|
|
|
|
|
0 - Max, but 99 is quite slow
|
|
|
|
|
|
|
|
|
9 - Pointer to object inventory
|
|
|
|
12 - Previous scene number
|
|
|
|
|
|
Can be used for teleport.
|
|
|
|
|
If non-zero, Auto-DEBUG on room CHANGE
|
|
|
|
|
New score is displayed only after next non-DEBUG change.
|
|
|
|
|
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.
| Key
- Command |
Notes |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
b - Break in (If object value is changed,
Auto-DEBUG)
|
|
|
|
c - Inspect current object
|
|
|
Inspect subcommands
| Keys |
Effect |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Collection: If you press C while inspecting Inv, you
can get Inventory List.
|
|
Use inspect subcommands recursively. Example While viewing Inventory
List, assign ego address to owner. ego, owner are objects. So you
can collect all treasures at any time. Write ego in lower case.
You can inspect hex address of memory (Example $3455) or any object
(Example, Sound)
You can help keep The Sierra Help Pages alive
by helping to defray some of the costs of hosting this site. If it has been of help to you, please
consider contributing to help keep it online.
Thank you. |
|