Prev: 52467 Up: Map Next: 52551
52516: Handle Push Stack
Used by the routine at ExecuteCharacterCommand.
HandlePushStack 52516 LD A,(IX+1) A=*IX+1.
52519 PUSH AF Stash AF on the stack.
52520 LD A,2 A=2.
52522 CALL 41244 Call 41244.
52525 LD HL,(40935) HL=*40935.
52528 LD (40935),IX Write IX to *40935.
52532 LD (IX-2),L Write L to *IX-2.
52535 LD (IX-1),H Write H to *IX-1.
52538 LD A,(41014) Write *CurrentCharacter_ID to *IX+0.
52541 LD (IX+0),A
52544 POP AF Restore AF from the stack.
52545 LD (IX+1),A Write A to *IX+1.
52548 JP ContinueScriptExecution Jump to ContinueScriptExecution.
Prev: 52467 Up: Map Next: 52551