King's Quest II

King's Quest II is a PC graphic adventure game in which King Graham sets out to find the three golden keys to rescue Valanice.

Main Debug Commands
Press ALT+D or type FAST TALK to enable some debugging functions. These features are disabled upon entering a new room.

Here's the complete word list:
 * TP: Teleport to the appropriate room.
 * POS: Set Graham's X and Y positions.
 * GET OBJECT: Puts the appropriate object by ID in the player's inventory.
 * OBJECT or SP: Gives status on the appropriate object.
 * SET VAR: Sets a chosen variable to a given value.
 * SHOW VAR or SV: Displays the value of a variable.
 * SET FLAG: Sets the appropriate flag.
 * RESET FLAG: Resets the appropriate flag.
 * SHOW FLAG or SF: Displays info on a flag (Can be either set or not set)
 * LOOK FLAG: Displays detailed info on flags, including internal flag names. Drown.Swim and Genie.Delay are always displayed.

Other
When debug mode is active, the text for handling unknown words is simplified.



Type TESTER to display Graham's X and Y coordinates on the bottom of the screen.



Press F10 to display info on memory use.



Press F6 to display priority settings for the current room.

Genie


A much different genie graphic. The genie and lamp in the final game are part of Graham's sprite, there's no animation of the genie forming, and the genie and lamp are much smaller.

Keys
There are three different key designs for the gold key. There are three gold keys in the game, so each one could have used a different design. The bat key was definitely designed to be Dracula's key.

Unused Items
One item is partially coded but never used: The Dead Fish, object ID 84. This would be obtained by either picking up the dead golden fish, or by picking up the live fish and waiting until it dies.

Trying to view the object through the inventory screen will glitch the game severely, and there's no code in the game's logic that references it in any way.

However, there is a description for the item in View 86:

Classy King Graham
Word groups in the AGI engine define words and their synonyms, for example: acquire, take, get. King's Quest 2 has a single word group for its female characters, which means that you can call Valanice or Grandma "mermaid" and still have the parser understand you. The parser also understands perfectly if you refer to Little Red Riding Hood as a "sperm burping gutter slut".

Valid terms for female characters:
 * bitch
 * cunt
 * damsel
 * fairy
 * girl
 * grandma
 * grandmother
 * hag
 * hagatha
 * her
 * hose bag
 * lady
 * little red riding hood
 * maiden
 * mermaid
 * old hag
 * old lady
 * old woman
 * red riding hood
 * riding hood
 * slut
 * sperm burping gutter slut
 * valanice
 * whore
 * witch
 * woman

Unused Sounds/Music
All audio in the game is programmed with three sound channels and a noise channel. In most computers, only the first two channels are heard.

Both the two-channel and four-channel (Tandy) versions are provided here.

The early version of the Batman theme (Sound 09) is slower and only repeats twice before ending.