Skip to content

Appendix I

Joe King edited this page Sep 3, 2022 · 1 revision

Appendix I - List of Inventory IDs

Persistent Items (stored in game-save file)

ID Code Description Notes
1 armor Armor QTY/HP Integer
2 backpack Has backpack for extended grenade max qty 1=yes | 0=no
3 carry_sprite Sprite ID of item player has in-hand Used when carrying a key
4 coffee Has bag of coffee from Louie's Pub Not implemented
5 coolant Present coolant QTY Integer
6 crystals Bitfield of sky crystals player has acquired Crystal number corresponds to position in bitfield (rightmost)
7 equipped Inventory ID of weapon player is presently armed with Integer
8 firebomb Fictitious bomb of devastation Not implemented
9 grenades Present grenade QTY Integer
10 gunchaos Has Chaos Gun Not implemented
11 gun_ember Has Ember Gun Not implemented
12 gun_flame Has Flamethrower 1=yes | 0=no
13 gun_grenade Has Grenade Launcher (required to throw grenades) 1=yes | 0=no
14 gun_laser Has Laser gun Not implemented
15 gun_peacock Has Peacock gun Not implemented
16 gun_plasma Has Plasma gun Not implemented
17 gun_rocket Has Rocket gun (set to 1 by the rocket powerup) 1=yes | 0=no
18 gun_triad Has Triad gun (set to 1 by the triple-fire powerup) 1=yes | 0=no
19 lives Present lives QTY Integer
20 loot Present loot/money QTY Integer
21 pow_hp_regen Has HP-Regeneration Powerup 1=yes | 0=no
22 shield Has shield 1=yes | 0=no
23 xp Present XP units Integer
24 xp_level Present XP level Integer
25 xp_level_max Maximum XP level Integer

Temp Items (lost when exiting stage)

ID Code Description Notes
26 beamgates . . . n/a
27 blink Visibly blinking from taking damage n/a
28 boom_count Explosion counter for end-of-boss effects Integer
29 bubble Presently surrounded in "air bubble" sprite 1=yes | 0=no
30 cannonballing Presently volleying forward as a fireball of death 1=yes | 0=no
31 captives Remaining captives to rescue (I think) Not implemented
32 drts_shld_idxptr Pointer to dart that was reflected by shield (I think) Integer representing dart index
33 heatbar Present heat-bar value 0 to 100 (I think)
34 heatbar_breached Weapon overheated 1=yes | 0=no
35 heatbar_flux_qty Units heat-bar is changing per cycle Integer
36 heatbar_flux_sign Direction heat-bar is changing _+1=heating | -1=cooling
37 jetpack Has jetpack 1=yes | 0=no
38 jetpack_boost Has jetpack booster (allows player to jet faster) 1=yes | 0=no
39 jetpack_adrift Used in ending scenes - means player is spinning slowly 1=yes | 0=no
40 jetpack_propel Jetpack is thrusting 1=yes | 0=no
41 knee_deep_in_sticky Presently on tar 1=yes | 0=no
42 knee_deep_in_water Presently in shallow water 1=yes | 0=no
43 lilypad Presently surfing on lily pad 1=yes | 0=no
44 loot_at_start Loot/money at start of stage Used to calculate loot acquired in-stage
45 mob_pattern Present FSM pattern Used by mobs to keep track of attack/evade patterns
46 num_rounds Arbitrary ammo counter Used by wizard to keep track of spell sparkles
47 phase Another "pattern tracker" like mob_pattern Integer
48 pow_death_denied Has Death-Denied Powerup - cannot be killed 1=yes | 0=no
49 pow_invincible Has Invincible Powerup - cannot be hurt or damaged 1=yes | 0=no
50 powtmr_chaos Seconds remaining until Chaos Powerup expires Integer
51 powtmr_rocket Seconds remaining until Rocket Powerup expires Integer
52 powtmr_rootbeer Seconds remaining until Root Beer Powerup expires Integer
53 powtmr_triad Seconds remaining until Triple-Fire Powerup expires Integer
54 equipped_spell Present spell that wizard is casting/about-to-cast Integer
55 sprite Deprecated Not implemented
56 strafe_mode Presently using strafe action 1=yes | 0=no
57 swap_x X-coord of grid to be swapped (used to teleport chests) Integer
58 swap_y Y-coord of grid to be swapped (used to teleport chests) Integer
59 unit_w Deprecated Not implemented
60 unit_h Deprecated Not implemented
Clone this wiki locally