![]() |
Routines |
| Prev: 9056 | Up: Map | Next: 90A7 |
|
Used by the routines at move_missile and update_attacker.
Used by the attackers, the debris and the homing missiles. Tests the landscape in mode 0 (piece_step_x) and then moves the object by its velocity (move_object). In mode 0 place_collision_box negates the object's velocity before the test, and this routine negates it again after; how a touch turns into a bounce is collide_with_landscape's business and not yet worked out here.
|
||||||||
| move_bouncing | 909A | XOR A | Test the landscape in mode 0 | |||||
| 909B | LD (piece_step_x),A | |||||||
| 909E | CALL test_landscape_at | |||||||
| 90A1 | CALL negate_velocity | Negate the velocity again, and move | ||||||
| 90A4 | JP move_object | |||||||
| Prev: 9056 | Up: Map | Next: 90A7 |