LBA2:Game variables

From LBA File Information
Jump to navigation Jump to search

0 to 195 game state flags:

  0: Twinsen gets the holomap (set 1)
  1: Magic Ball
  2: Number of darts (0-3)
  3: Sendall's Ball
  4: Magic Tunic
  5: Pearl of Incandescence
  6: Pyramid Key
  7: Steering Wheel
  8:
  9: Broken Pistol
 10: Emporer's Sabre
 11: Wannies Glove
 12: Proto Pack
 13: Ferry Ticket
 14: Nitro Meca Penguin
 15: Gazogem
 16: Dissidents Ring
 17: Gallic Acid
 18: Ferry Man song
 19: Lightening Spell
 20: Umbrella
 21: Number of Magic Gems
 22: Horn of the Blue Triton
 23: Blowgun
 24: Memory Viewer
 25: Firefly Tart
 26: Portable Radio
 27: Garden Balsam
 28: Magic Slate
 29: Alien Translator
 30: Wizards Diploma
 31: Franco Key Fragment
 32: Sup Key Fragment
 33: Mosquibee Key Fragment
 34: Wannies Key Fragment
 35: Throne Key
 36: Pick Axe
 37: Burger Master's Key
 38: Burger Master's Notes
 39: Protection Spell
 40: Zoe's position.
       0: New game
       1: Zoe talks
       2: Zoe waiting outside the door
       3 - 14: Zoe walking to dinofly way point.
      15: Gave car part to Zoe and she mentions portable radio.
      16 - 19: Walking towards car       
      20: Working on car
 41: Hacienda Grobo state
      0: Grobo in first area
      1: Outside womens steam room
      2: Grobo attacking Twinsen (after he enters steam room a second time)
 42: Dinofly Injured status
      0: Injured
      1: Cured.
 43: Package Centre
      0: Package in default location.
      1: Package in reception
      2: Pushed package onto final conveyor
      3: Leaving package basement area
      4: Grobo opens box.
      5: Paid guy to move box.
 44: Citadel Tavern waiter.
      0: Not in cellar.
      1: In Cellar
 45: Citadel shop keeper status
      0: Normal
      1: Scared away with meca penguin
      2: Returned to shop
 46: Citadel shop cash register
      0: Not stolen
      1: Stolen
 47: Unjured WAnnie
      0: Injured
      1: Healed
      2: Asking how to find Mosquibee Queen
 48: Throne Door
      0: Locked
      1: Unlocked
 49: Package collection centre door to lower area
      0: Locked
      1: Unlocked
 50: Package centre hidden money
      0: Not collected
      1: Opened Box
 51: Stopping the rain
      0: Default.
      1: spoke to weather wizard
      2: Spoke to Raph
      3: Killed Tralu and freed Raph
      4: Rain cleared and aliens landed
 52: ?
 53: Tralu: Hit switch to unlock first door
      0: Closed
      1: Open
 54: Pyramid Key
      0: Default
      1: Neighbour says he needs gallic acid but there's none left on the island.
      2: Gave gallic acid to neighbour
      3: Got pyramid key
      4: Used pyramid key to open door in cellar.
 55: Full key fragment
      0: Default
      1: Has full key (all fragments)
 56: Lighthouse keeper
      0: Default
      1: ?
      2: ?
      3: After lighthouse keeper runs away upon freeing him
      4: ?
      5: After cut scene finishes and alien cut scene starts.
 57: Umbrella Status
      0: Not stolen
      1: Stolen
      2: Retrieved umbrella
      3: Returned umbrella on Citadel.
 58: Unknown
 59: Ferry ticket
      0: Default
      1: Purchased a ferry ticket
      2: ?
      3: Boarded ferry
      4: Arrived at Desert Island
      5: Bought a ferry ticket on Desert Island
      6: ?
      7: Entered Ferry from Desert to Citadel Island
      8: Arrived on Citadel Island
 60: Tralu Boss fight
      0: Default
      1: Entered Tralu boss area
      2: Defeated Tralu
      3: Unlocked door to free Raph
 61: Becoming a Wizard
      0: Default
      1: ?
      2: ?
      3: Paid Wizard entrance fee.
      4: Received horn of the blue triton
      5: Received Magic slate
      6: ?
      7: Received Wizard Diploma
 62: The healing wizard
      0: Default
      1: Mr. Paul tells you to visit the wizard Ker'aooc
      2: Ker'aooc house keeper says to try the school of magic
      3: Arrived at the school of magic for the first time. Grand rector appears.
 63: Obtaining the blowgun
      0: Default
      1: Hit all targets
      2: Received the blowgun
 64: Ferry man song
      0: Default
      1: Fainting in firefly scene
      2: Gave pie to old man and got key
      3: Unlocked chapel door.
      4: Monk says to call on ferry man services
 65: School of magic entrance doors.
      0: Locked
      1: Unlocked
 66: Sewers map in neighbours house
      0: Unreadable
      1: Readable
      2: Read
 67: Otringal: Hiding in box
      0: Default
      1: Inside box no lid
      2: Inside box with lid
 68: Cut scene with Zoe outside Twinsens house at start of game
      0: Default
      1: Cut scene with Zoe
 69: Cut scene "Notification of soldiers attacking"
      0: Default
      1: Mousquibee cut scene "Soldiers attacking"
      2: Left cut scene and entered throne room from blowtron area
      3: Ferry man to Island of the Wannies cut scene
      4: Mousquibee rebels say queen is captured.
 70: Alien cut scene after rain clearing.
      0: Not triggered
      1: Cut scene over
 71: Citadel Bike Taxi
      0: Not on bike
      1: On bike
 72: Attacking kids in school
      0-7: Depending upon which children you hit. Doesn't seem like bit values.
 73: Mousquibee blowtron
      0: Default
      1: Own
 74: Fixing car, getting horn
      0: Default
      1: Got car part
      2: Gave car part to Zoe
      3: Zoe called on portable radio
      4: Zoe says to try the car at the race track
      5: Traded the flower for the Horn of the blue triton
 75: Unknown.
 76: Door to fragment in Wannie Mines
      0: Locked
      1: Unlocked
 77: Citadel Island: Grobo brother way point (after he beats you up at the school)
      0: Default
      1: At school
      2: Way point
      3: Way point
      4: Way point
      5: Way point, normally despawns at 4.
 78: Brother of Skipping/Sitting child (after you beat them up)
      0: Default
      1: Spawned
 79: Funfrock pizza scene
      0: Default
      1: Funfrock Speech
      2: Funfrock inside afterwards
 80: Wizard on magic carpet position.
      0 - 81 depending upon where he is.
 81: Wizard to Otringal
      0: Default
      1: Recieved Wizard diploma
      2: Accepted Sup invitation to go to Zeelich
 82: Ferry man taxi
      0: Not on taxi
      1: On taxi (cut scene not movie)
 83: Wizard to Baldino cell
      0: Default
      1: As wizard going to spaceship
      2: Leaving spaceship getting attacked
      3: Getting attacked leaving spaceship
      4: Entering spaceport as wizard - Joe scene.
      5: Escaped cell and Joe vanished
      6: Used Itineray token to return home
      7: Landed on Citadel: Zoe calls to say come home
      8: Zoe says to go to the school of magic
      9: Dinofly lands in the oasis in the desert
     10: Spoke to rector about lightning spell. Told to get Sendells ball. Informed about clam.
     11: Got pearl of incandescence.
     12: Used lightning spell to get Sendells Ball
     13: Baldino called form Emerald moon.
 84: Unlocked mosquibee cell
      0: Default
      1: Unlocked cell
      2: Mosquibee gone (Triggered on Twinsen re-entering)
 85: Spaceship from Desert to Baldino crash landing.
      0: Default
      1: ?
      2: ?
      3: Used itineray token in spaceship from Desert Island to Emerald Moon
      4: Landed on Emerald Moon
      5: Gave wrong password
      6: Gave correct password
      7: Unlocked Baldino cell
      8: After cut scene of unlocking cell
      9: Emerald moon - after cut scene with CX guy dying
     10: Unlocked door with Baldino to Baldinos spaceship
     11: Crash landed with Baldino
 86: Killed green alien on spaceship and triggered guards
      0: Not killed
      1: Killed
 87: Otringal Cells: Joe
      0: Joe there
      1: Joe gone
 88: Otringal Cells guards
      0 - 22 depending on which you've killed. Bit values?
 89: Temple of Bu moving platform
      0: Not on platform
      1: On platform
 90: Unknown
 91: Unknown
 92: Otringal: On top of tower killing people (definitely bit values, can be combined)
      0: Killed nobody.
      1: Killed scientist on left
      2: Killed scientist on right
      4: Killed soldier
      8: Killed Sup
 93: Emerald Moon: Yellow/black doors
      0: Locked
      1: Unlocked
 94: Dinofly location?
      0: Default
      1: Started new game, Zoe cut scene
      2: Island of the Dome of slate
      3: Desert Island
      4: Island across from the Hacienda
      5: Dinofly to Dome of slate
      6: Dinofly to Desert Island from Citadel
 95: Wizard note about finishing the spell
      0: Not read
      1: Read
 96: Unknown
 97: Emerald Moon: Circle door
      0: Locked
      1: Unlocked
 98: Emerald Moon: Triangle door
      0: Locked
      1: Unlocked
 99: Emerald Moon: Square door
      0: Locked
      1: Unlocked
100: Emerald moon: Spaceship landed
      0: Not landed
      1: Landed
101: Otringal fence behind prison panel 4
      0: Not destroyed
      1: Destroyed
102: Otringal fence behind prison panel 2
      0: Not destroyed
      1: Destroyed
103: Otringal fence behind prison panel 1
      0: Not destroyed
      1: Destroyed
104: Otringal fence behind prison panel 5
      0: Not destroyed
      1: Destroyed
105: Otringal fence behind prison panel 6
      0: Not destroyed
      1: Destroyed
106: Otringal fence behind prison panel 3
      0: Not destroyed
      1: Destroyed
107: Undergas elevator
      0: Default
      1: Taken elevator down
      2: Took right elevator up.
      3: Took left elevator up
108: Citadel > Desert Island ferry cut scene
      0: Default
      2: In cut scene
109: Wizard outfit
      0: Not purchased
      1: Purchased
110: Outside after Otringal cells
      0: Default
      1: Outside
111: Temple of Bu poster in Ferry ticket office
      0: Not read
      1: Read
112: Otringal guards status
      0: Friendly
      1: They attack you
113: Unknown
114: Unknown
115: Unknown
116: Otringal Safari giraffe
      0: Default
      1: Outside
      2: Inside
117: Super jet pack (Not inventory flag)
      0: Default
      1: Baldino given super jet pack
118: Desert Island: Pétanque player
      0: Default
      1: Healed
119: House area, Zoe at car.
      0: Default
      1: Entering outside house area, Zoe is at the car
120: Gazogem refinary second or third room life container.
      0: Default
      1: Opened
121: Telescope on Hacienda roof
      0: Default
      1: Used (Allows you to fly there with Dinofly)
122: Leontine Taxi
      0: Default
      1: Taking taxi.
123: Taxi to Island of the Francos
      0: Can't take
      1: Can take
124: Otringal Rebels
      0: Default
      1: Spoke to CX guy on Celebration Island
      2: Can take boat from Otringal
      3: Talking to Rick in bar about Island CX
      4: Got ring of dissidents from Johnny Rocket
      5: Entered tourist shop rebel area
125: Yellow Taxi to Island of the Francos from Celebration Island cut scene
      0: Default
      1: Cut scene active
126: Taking yellow taxi from Island of the Francos to Otringal
      0: Default
      1: Taking taxi.
127: Gazogem to Baldino
      0: Not given
      1: Given
128: Unknown
129: Boarded boat to elevator to the under gas
      0: Default
      1: Boarded boat
130: Lazer pistol
      0: Have nothing
      1: Have crystal
      2: Have broken pistol
      3: Working pistol
131: Ricks Bar entertainment
      0: Kiss on Stage
      1: Singer about to come on stage
      2: Singer on stage
      3: Kiss about to come on stage
132: Johnny Rocket position
      0: By swimming pool
      1: In his room
133: Otringal: Left cell block
      0: Default
      1: Left
134: Gems in Otringal Mines (bit values)
      0: No gems
      1: Gem near lava and grabber
      2: Gem near Franco guard
      3: Gem near Wannie and machine
135: Otringal Mines: Gem in small area with two wannies digging
      0: Not collected
      1: Collected
136: Mine gems second area (bit values)
      0: No gems
      1: Gem near church
      2: Gem near wannies glove
137: Mousquibee Gems landing area - bit values
      0: No gems
      1: Gem near rope
      2: Gem near Ferry man song location
138: Mousquibee Gems - bit values
      0: No gems
      1: Gem by bridge
      2: Gem by Franco guard
139: Mousquibee Gem by spider
      0: Not collected
      1: Collected
140: Volcano Island gems - bit values
141: Volcano Island gems 2 - bit values
142: Volcano Island gems 3 - gem inside hideout?
      0: Not collected
      1: Collected
143: Moya the turtle
      0: Default
      1: Currently on Moya
144: Otringal tourist shop: Wizard diplomoa
      0: Not sold
      1: Sold
145: Otringal tourist shop: Ferry Ticket
      0: Not sold
      1: Sold
146: Otringal tourist shop: Umbrella
      0: Not sold
      1: Sold
147: Burger Masters Notes
      0: Default
      1: Found
148: Sup key fragment
      0: Default
      1: ?
      2: ?
      3: Got Sup key fragment
      4: Broke window above key chest
149: Landed with dinofly in desert
      0: Default
      1: Landed
150: Twinsen climbing rope in mousquibee cut scene
      0: Default
      1: Climbing
152: default 1 Rain
159: default 256 ???

194: set to 1 probably if Twinsen have done an action near the crashed spaceship (Citadel Island, at the Sendell’s Sign).
195: set to 1 if the wizards have been freed (at the Dark Monk’s Statue, room 1), otherwise it is 0.