LBA1:Game flags
Game flags are global to the whole game. They are stored in the game save file, and restored on load. Their values indicate various story elements and side-quests.
First 27 game flags indicate presence of the inventory objects. For all of them flag value 1 means the inventory item is present in the inventory, while value 0 means the item is not present.
ID (hex) | (dec) | Name |
---|---|---|
0x00 | 0 | Inventory: Holomap |
0x01 | 1 | Inventory: Magic Ball |
0x02 | 2 | Inventory: Funfrock's Saber |
0x03 | 3 | Inventory: Gawley's Horn |
0x04 | 4 | Inventory: Tunic |
0x05 | 5 | Inventory: Book of Bu |
0x06 | 6 | Inventory: Sendell's Medallion |
0x07 | 7 | Inventory: Clear Water |
0x08 | 8 | Inventory: Red magnetic card |
0x09 | 9 | Inventory: Blue elves club card |
0x0A | 10 | Inventory: Twinsen's ID card |
0x0B | 11 | Inventory: Architect's pass |
0x0C | 12 | Inventory: Proto-Pack |
0x0D | 13 | Inventory: Snowboard |
0x0E | 14 | Inventory: Meca-Penguin |
0x0F | 15 | Inventory: Can of fuel |
0x10 | 16 | Inventory: Pirate flag |
0x11 | 17 | Inventory: Magic Flute |
0x12 | 18 | Inventory: Space Guitar |
0x13 | 19 | Inventory: Hair dryer |
0x14 | 20 | Inventory: Ancestral key |
0x15 | 21 | Inventory: Bottle of syrup |
0x16 | 22 | Inventory: Empty bottle |
0x17 | 23 | Inventory: Ferry ticket |
0x18 | 24 | Inventory: Teleportation Center keypad |
0x19 | 25 | Inventory: Coffee pot |
0x1A | 26 | Inventory: Clover boxes list |
0x1B | 27 | ??Inventory: clover leaf? |
There are 28 items in the inventory, but the last one, lucky clover leaf, is not a real item (cannot be obtained), so it is not referenced in the scripts.