Prev: CCF3 Up: Map Next: CD47
CD24: Handle Push Stack
Used by the routine at ExecuteCharacterCommand.
HandlePushStack CD24 LD A,(IX+$01) A=*IX+01.
CD27 PUSH AF Stash AF on the stack.
CD28 LD A,$02 A=02.
CD2A CALL $A11C Call A11C.
CD2D LD HL,($9FE7) HL=*9FE7.
CD30 LD ($9FE7),IX Write IX to *9FE7.
CD34 LD (IX-$02),L Write L to *IX-02.
CD37 LD (IX-$01),H Write H to *IX-01.
CD3A LD A,($A036) Write *CurrentCharacter_ID to *IX+00.
CD3D LD (IX+$00),A
CD40 POP AF Restore AF from the stack.
CD41 LD (IX+$01),A Write A to *IX+01.
CD44 JP ContinueScriptExecution Jump to ContinueScriptExecution.
Prev: CCF3 Up: Map Next: CD47