Prev: 46766 Up: Map Next: 46827
46799: Dispatch Object State
Use bits 0-3 of *IX+8 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 46799 LD BC,46811 Point BC at the state table at Object_State_Table.
46802 LD A,(IX+8) A=*IX+8.
46805 AND %00001111 Keep only bits 0-3.
46807 LD L,A L=A.
46808 JP StartGame_AfterActor Jump to StartGame_AfterActor.
Object_State_Table 46811 DEFW CollectBomb CollectBomb.
46813 DEFW CarryBomb CarryBomb.
46815 DEFW FlyThrownBomb FlyThrownBomb.
46817 DEFW IgnoreObjectState IgnoreObjectState.
46819 DEFW Handler_ArmedBomb Handler_ArmedBomb.
46821 DEFW Handler_ArmedBomb
46823 DEFW Handler_ArmedBomb
46825 DEFW Handler_ArmedBomb
Prev: 46766 Up: Map Next: 46827