Prev: C913 Up: Map Next: CACB
CA84: Table: Object Handlers
Records of 07 bytes: an id, a flag, a handler, another flag and a second handler. FF at CACA ends the list. The BF bytes from here to CB42 take in this table and the Special Object Records at CACB, each with its terminator. 6C1F copies them to 5F1D and 6C5D copies them back for a new game, and 8471, 8500 and 853C load, save and verify them. 96CB walks this table. Read by Start, LoadGame, SaveGame and TurnAdvanceTheOtherCharacters.
Barrel.
CA84 DEFB $02
CA85 DEFB $00
CA86 DEFW Event_TheBarrel
CA88 DEFB $00
CA89 DEFW $0000
Spider Web.
CA8B DEFB $02
CA8C DEFB $00
CA8D DEFW Event_TheSpider
CA8F DEFB $00
CA90 DEFW $0000
Spider Web.
CA92 DEFB $05
CA93 DEFB $00
CA94 DEFW Event_TheWebSmothersYou
CA96 DEFB $00
CA97 DEFW $0000
Goblins Door.
CA99 DEFB $02
CA9A DEFB $00
CA9B DEFW Event_CloseTheGoblinsDoor
CA9D DEFB $00
CA9E DEFW $0000
Deep Bog.
CAA0 DEFB $02
CAA1 DEFB $00
CAA2 DEFW Event_TheDeepBog
CAA4 DEFB $02
CAA5 DEFW Event_TheDeepBog
Magic Door.
CAA7 DEFB $04
CAA8 DEFB $00
CAA9 DEFW Event_CloseTheMagicDoor
CAAB DEFB $01
CAAC DEFW Event_OpenTheMagicDoor
Ring.
CAAE DEFB $00
CAAF DEFB $00
CAB0 DEFW Event_TheRing
CAB2 DEFB $00
CAB3 DEFW $0000
S flag. AAF9 copies this countdown into the next byte, and Event_ClearTheFlag clears B700 when it runs out.
CAB5 DEFB $05
CAB6 DEFB $00
CAB7 DEFW Event_ClearTheFlag
CAB9 DEFB $00
CABA DEFW $0000
Forest.
CABC DEFB $04
CABD DEFB $00
CABE DEFW Event_StungFromAbove
CAC0 DEFB $03
CAC1 DEFW Event_DropsFromAbove
Hole.
CAC3 DEFB $05
CAC4 DEFB $00
CAC5 DEFW Event_TheHoleVanishes
CAC7 DEFB $01
CAC8 DEFW Event_AHoleAppears
CACA DEFB $FF Termination character ($FF).
Prev: C913 Up: Map Next: CACB