LBA1:Game flags

From LBA File Information
Jump to navigation Jump to search

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.

Inventory flags: 0 ~ 27[edit]

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?

Story flags: 28 ~ 199[edit]

ID (hex) (dec) Name
0x23 35 If 0, a zommed sequence of opening the ventilation shaft will be played when Twinsen escapes his house after arresting Zoe. Set to 1 after the sequence (also if Twinsen is killed during the arrest).
0x2F 47 Value of 1 indicates that Twinsen has opened the door to the Citadel Island Tavern's basement. The door will be always open from now on.
0x46 70 Set to 1 if inventory items are taken from Twinsen when he goes to jail (inventory is empty), set to 0 after he gets back his stuff.
0x5C 92 Set to 1 if the green grobo in the Citadel Island Tavern has told Twinsen about taking Zoe to the port and leaving for another island.
0x6B 107 Set to 1 after Twinsen kills yellow groboclone in the Citadel Island Tavern (after the Tavern has been closed down). Makes the Tavern open again and groboclone not appear any more.

Video flags: 200 ~ 255[edit]

ID (hex) (dec) Name
0xC8 200 BAFFE.FLA
0xC9 201 BAFFE3.FLA
0xCA 202 BAFFE3.FLA