![]() |
Game Status Buffer |
| Address | Length | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 47560 | 74 |
Workspace filled from Default_Table_ItemLocations by the routine at GameStart. Object locations occupy the 74 bytes at Table_ItemLocations. The current room is *CurrentRoom. Pointers to the message, exit and handler tables follow.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47660 | 1 |
Bit 0 is set when the long room description was just shown, so Handler_DisplayRoom waits for a key before listing exits and objects.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47664 | 2 |
Corresponds to whether the player has already seen the image for the following rooms:
Handler_DisplayRoom tests and sets the bit for the current room. The bit number is the room's place in 59398.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47670 | 1 |
Holds a single byte, where each bit relates to a turn-based event as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47671 | 8 |
One countdown per bit of *Flag_TurnBasedEventState. Handler_TurnBasedEvents decrements a set counter each turn and runs the handler from Pointer_TurnBasedEvents_Jump when it hits zero.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47679 | 1 |
Only bit 0 is used. When it is set, Princess Mara ("The Princess,Mara", the first byte of Table_FollowingItems) follows the player from room to room. MovePlayerToRoom moves the item for each set bit into the room the player just entered. Bits 1-7 are never set.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47680 | 8 |
Each bit of *Flag_PrincessFollowing makes the item at the same position here follow the player when the room changes. Default bit 0 holds "The Princess,Mara" (Princess Mara).
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47688 | 13 |
Where each of the 13 scenic events is (the count is at Count_ScenicEvents).
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47720 | 1 |
The number of items the player is currently holding.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47721 | 50 |
When loading or saving, this buffer is used for storing Table_FlagsToClear - which are then copied to/ from the table itself.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47771 | 1 |
The room the player starts the game in is room 0:
N/A.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47772 | 26 |
Pointer to the table containing groups of room IDs that an event could occur in.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47836 | 2 |
Pointer to the table containing the game vocabulary.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47838 | 2 |
Pointer to the jump table containing turn-based events.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47840 | 2 |
Pointer to the table containing the relationships between rooms.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47842 | 2 |
Pointer to the table containing item descriptions.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47844 | 2 |
Pointer to the table containing all the rooms which have an image to display.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47846 | 2 |
Pointer to the jump table for displaying an image relating to a room.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47848 | 2 |
Pointer to the table containing room descriptions.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47850 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47852 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47854 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47856 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47858 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47860 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47862 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47864 | 2 |
The total number of items in the game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47866 | 2 |
The total number of objects in the game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47868 | 2 |
The total number of verb word tokens the game has.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47870 | 2 |
The total number of rooms which have related images in the game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47872 | 2 |
The total number of scenic events in the game, see Table_ScenicEventLocations.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47874 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47876 | 50 |
The line being typed and the parsed tokens.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47926 | 10 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47936 | 1 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47937 | 4 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47941 | 8 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47949 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47951 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 47953 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 48562 | 12 |
Pointers to the direction names, in the order north, south, east, west, up and down.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 54200 | 148 |
74 pointers to the object messages. Indexed with the count stored at *Count_Items.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 54348 | 154 |
One pointer per room. Room 0 and room 1 are unused. The starting room is 5, The Great Valley.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 54502 | 84 |
42 pointers to the noun phrases the parser matches.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 59700 | 462 |
Six direction bytes for each room, in the order used by GetRoomPointer: north, south, east, west, up, down. 0 means no exit. Some of these bytes are rewritten when a door opens or an event moves the player.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 60162 | 14 |
Addresses zeroed by the routine at GameStart before the game starts.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63890 | 74 |
The starting values for the game status buffer. GameStart copies all 316 bytes over Table_ItemLocations at the start of every game, so the layout is the same as the entries from Table_ItemLocations to Count_ConfigurableExits.
Starting places for the items. GameStart copies this table to Table_ItemLocations at the start of every game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63990 | 1 |
Copied to Flag_DisplayState. Bit 0 is clear at the start of every game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63994 | 2 |
Copied to Table_RoomImagesAlreadySeen. No room picture has been shown yet.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64000 | 1 |
Copied to Flag_TurnBasedEventState. No turn-based event has started.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64001 | 8 |
Copied to Counter_WoodNymph. One countdown per bit of *Flag_TurnBasedEventState.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64009 | 1 |
Copied to Flag_PrincessFollowing. Princess Mara is not following at the start.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64010 | 8 |
Copied to Table_FollowingItems. Default bit 0 holds "The Princess,Mara" (Princess Mara).
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64018 | 13 |
Copied to Table_ScenicEventLocations. Where each of the 13 scenic events starts.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64050 | 1 |
Copied to Count_InventoryItems. The player starts holding 0 item(s).
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64051 | 50 |
Copied to LoadSaveBuffer. Initial bytes for the saved-location pointers.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64101 | 1 |
Copied to CurrentRoom. The player starts in room 5:
The Great Valley.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64102 | 26 |
Copied to Table_ScenicEventRooms. Pointers to the room lists for each scenic event.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64166 | 2 |
Copied to Pointer_Vocabulary. Points at the vocabulary table.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64168 | 2 |
Copied to Pointer_TurnBasedEvents_Jump. Points at the turn-based events jump table.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64170 | 2 |
Copied to Pointer_RoomMap.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64172 | 2 |
Copied to Pointer_ItemDescriptions.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64174 | 2 |
Copied to Pointer_RoomsWithImages.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64176 | 2 |
Copied to Pointer_RoomImage.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64178 | 2 |
Copied to Pointer_RoomDescriptions.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64180 | 2 |
Copied to Pointer_ItemGroupingTable.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64182 | 2 |
Copied to Pointer_ObjectNounPhrases.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64184 | 2 |
Copied to Pointer_ObjectList.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64186 | 2 |
Copied to Pointer_JumpTable_Verbs.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64188 | 2 |
Copied to Pointer_ConfigurableExits.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64190 | 2 |
Copied to Pointer_JumpTable_ScenicEvents.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64192 | 2 |
Copied to Pointer_VerbWordTokens.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64194 | 2 |
Copied to Count_Items.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64196 | 2 |
Copied to Count_Objects.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64198 | 2 |
Copied to Count_VerbTokens.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64200 | 2 |
Copied to Count_RoomsWithImages.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64202 | 2 |
Copied to Count_ScenicEvents.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64204 | 2 |
Copied to Count_ConfigurableExits.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64269 | 68 |
Verb routines in the same order as Table_VerbTokens. Used by Handler_DispatchVerb.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64337 | 10 |
The first five timed events. The remaining three entries are the first three scenic handlers at JumpTable_ScenicEvents, which the routine at Handler_TurnBasedEvents also reads.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64347 | 26 |
Handlers run when the current room matches an entry in the room list at Table_ScenicEventLocations. Used by Handler_ScenicEvents.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64373 | 24 |
Handlers that draw the ten location pictures. Three entries share The Enchanted Wood.
|