Prev: B6AE Up: Map Next: B6EB
B6CF: Dispatch Object State
Use bits 0-3 of *IX+08 as an index into Object_State_Table.
Input
IX Actor slot
Use bits 0-3 of the actor flags as an index into Object_State_Table.
DispatchObjectState B6CF LD BC,$B6DB Point BC at the state table at Object_State_Table.
B6D2 LD A,(IX+$08) A=*IX+08.
B6D5 AND %00001111 Keep only bits 0-3.
B6D7 LD L,A L=A.
B6D8 JP StartGame_AfterActor Jump to StartGame_AfterActor.
Object_State_Table B6DB DEFW CollectBomb CollectBomb.
B6DD DEFW CarryBomb CarryBomb.
B6DF DEFW FlyThrownBomb FlyThrownBomb.
B6E1 DEFW IgnoreObjectState IgnoreObjectState.
B6E3 DEFW Handler_ArmedBomb Handler_ArmedBomb.
B6E5 DEFW Handler_ArmedBomb
B6E7 DEFW Handler_ArmedBomb
B6E9 DEFW Handler_ArmedBomb
Prev: B6AE Up: Map Next: B6EB