Prev: 52917 Up: Map Next: 52955
52936: Record Right 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 not negative it sets bit 2 of the contact flags at ContactFlags and carries on at NextStep_Flags. Otherwise the next step is drawn.
FlagRightContact 52936 LD A,(52411) The horizontal scroll speed.
52939 BIT 7,A Jump to FinishStep_Next if bit 7 of A is set.
52941 JP NZ,FinishStep_Next
52944 LD A,(23601) The contact flags.
52947 OR %00000100 Set the bits of A that are set in 4.
52949 LD (23601),A Update the contact flags.
52952 JP NextStep_Flags Jump to NextStep_Flags.
Prev: 52917 Up: Map Next: 52955