Prev: 9DBD Up: Map Next: 9E34
9DD9: Routine at 9DD9
Used by the routine at 77D1.
9DD9 PUSH BC Stash BC, DE and IY on the stack.
9DDA PUSH DE
9DDB PUSH IY
9DDD LD IY,($B70C)
9DE1 LD D,(IY+$10)
9DE4 LD A,($B710)
9DE7 LD E,A
9DE8 CALL Step3ByteTable Call Step3ByteTable.
9DEB JR Z,$9E1D
9DED LD A,$02
9DEF CP E
9DF0 JR Z,$9E01
9DF2 LD A,(IY+$07)
9DF5 AND $48
9DF7 CP $40
9DF9 LD A,$00
9DFB JR NZ,$9DFE
9DFD INC A
9DFE CP E
9DFF JR NZ,$9DE8
9E01 LD BC,$0008
9E04 PUSH IY
9E06 ADD IY,BC
9E08 CALL $71F3 Call 71F3.
9E0B POP IY
9E0D JR NZ,$9DE8
9E0F LD A,($B70F)
9E12 AND A
9E13 JR NZ,$9E1D
9E15 LD A,(IX+$00)
9E18 CALL $9E34 Call 9E34.
9E1B JR Z,$9DE8
9E1D LD A,(IX+$00)
9E20 POP IY Restore IY, DE and BC from the stack.
9E22 POP DE
9E23 POP BC
9E24 RET Return.
This entry point is used by the routines at 96B3 and ActionClimbOut.
9E25 CALL $9E2B Call 9E2B.
9E28 CALL $9E40
9E2B PUSH IX
9E2D PUSH IY
9E2F POP IX
9E31 POP IY
9E33 RET Return.
Prev: 9DBD Up: Map Next: 9E34