![]() |
Routines |
| Prev: A8F4 | Up: Map | Next: AA15 |
|
Used by the routine at ship_hits_ground_objects.
Reverses and halves the ship's step across (+7 of the ship record, ship_dx, reverse_speed) and reverses this pass's scroll step across (scroll_across).
|
||||
| bounce_across | AA01 | PUSH HL | ||
| AA02 | LD HL,(ship_dx) | |||
| AA05 | CALL reverse_speed | |||
| AA08 | LD (ship_dx),HL | |||
| AA0B | POP HL | |||
| AA0C | LD A,(scroll_across) | |||
| AA0F | NEG | |||
| AA11 | LD (scroll_across),A | |||
| AA14 | RET | |||
| Prev: A8F4 | Up: Map | Next: AA15 |