Prev: C907 Up: Map Next: C92C
C91A: Nudge along U
For an arch in a wall of constant V: +1 or -1 into +$0E, towards its middle line.
Input
IX The pillar, holding the arch's middle
IY The player's legs
NUDGE_ALONG_U C91A LD A,(IX+$09) On the middle line already
C91D CP (IY+$01)
C920 JR Z,NUDGE_ALONG_U_1
C922 LD A,$01 +1 if the middle is at a greater U, else -1
C924 JR NC,NUDGE_ALONG_U_0
C926 NEG
NUDGE_ALONG_U_0 C928 LD (IY+$0E),A The U nudge
This entry point is used by the routine at NUDGE_ALONG_V.
NUDGE_ALONG_U_1 C92B RET
Prev: C907 Up: Map Next: C92C