![]() |
Routines |
| Prev: CE97 | Up: Map | Next: CEC8 |
|
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 | CEB5 | LD A,($CCBB) | The horizontal scroll speed. | |
| CEB8 | BIT 7,A | Jump to FinishStep_Next if bit 7 of A is clear. | ||
| CEBA | JP Z,FinishStep_Next | |||
| CEBD | LD A,($5C31) | The contact flags. | ||
| CEC0 | OR %00001000 | Set the bits of A that are set in 08. | ||
| CEC2 | LD ($5C31),A | Update the contact flags. | ||
| CEC5 | JP NextStep_Flags | Jump to NextStep_Flags. | ||
| Prev: CE97 | Up: Map | Next: CEC8 |