Prev: 40741 Up: Map Next: 40822
40778: Routine at 9F4A
Used by the routines at Action_Dir, Action_ThrowAt and ActionTie.
40778 LD DE,(46856) Switch the addresses stored in 46856 and 46858 using DE and IY.
40782 LD IY,(46858)
40786 LD (46856),IY
40790 LD (46858),DE
40794 LD BC,(46824)
40798 LD A,B
40799 LD (46824),A
40802 LD A,C
40803 LD (46825),A
40806 CALL TriggerAction Call TriggerAction.
40809 LD (46824),BC
40813 LD (46856),DE
40817 LD (46858),IY
40821 RET Return.
Prev: 40741 Up: Map Next: 40822