Prev: 52887 Up: Map Next: 52936
52917: Record Left Contact
Used by the routine at NextStep.
Used when the ship is in the same column as a step of a segment. When the horizontal speed is negative it sets bit 3 of the contact flags at ContactFlags and carries on at NextStep_Flags. Otherwise the next step is drawn.
FlagLeftContact 52917 LD A,(52411) The horizontal scroll speed.
52920 BIT 7,A Jump to FinishStep_Next if bit 7 of A is clear.
52922 JP Z,FinishStep_Next
52925 LD A,(23601) The contact flags.
52928 OR %00001000 Set the bits of A that are set in 8.
52930 LD (23601),A Update the contact flags.
52933 JP NextStep_Flags Jump to NextStep_Flags.
Prev: 52887 Up: Map Next: 52936