Prev: FC07 Up: Map Next: FC2B
FC1C: Step a position along y, the height, if y is moving
Used by the routines at MEET_DECOY and STEP_ALL_AXES.
Always two units: up if bit 4 of the direction in WORK_DIRECTION is set, down (bit 5) if not.
Input
C The axes moving: bit 1 y
D y
Output
D y after the step
STEP_ALONG_Y FC1C BIT 1,C y not moving
FC1E RET Z
FC1F BIT 4,(IY+WORK_DIRECTION-V) Up two
FC23 JR Z,STEP_ALONG_Y_0
FC25 INC D
FC26 INC D
FC27 RET
STEP_ALONG_Y_0 FC28 DEC D Down two
FC29 DEC D
FC2A RET
Prev: FC07 Up: Map Next: FC2B