Prev: A3E6 Up: Map Next: A55F
A541: Action: ClimbOut
ActionClimbOut A541 LD IY,($B70C) IY=ptrCurObject.
A545 LD A,($B6E8) A=CurrentObject.
A548 CP (IY+$01) If this is not a mother object (i.e. something to climb out of) jump to 9F76.
A54B JP NZ,$9F76
A54E CALL LocateObject Call LocateObject.
A551 CALL $A5CA Call A5CA.
A554 JP Z,DisplayExits_3
A557 CALL $9D44 Call 9D44.
A55A LD (IY+$01),$FF
A55E RET Return.
Prev: A3E6 Up: Map Next: A55F