![]() |
Routines |
| Prev: 94A8 | Up: Map | Next: 9524 |
|
A shot attacker is scored and turned to debris (check_shot). Otherwise it changes course by its type (change_course) and accelerates (accelerate). Then, as for most types: animate (animate_object), move bouncing off the landscape in a 34 by 35 box (move_bouncing), place it (place_object), and draw it (draw_object_images) with its colour (colour_sprite). The other update routines join this tail at its entry points.
|
||||||||
| update_attacker | 9507 | CALL check_shot | Shot: score and debris, and no steering | |||||
| 950A | JR NZ,animate_move_draw | |||||||
| 950C | CALL change_course | Change course; accelerate | ||||||
| 950F | CALL accelerate | |||||||
|
This entry point is used by the routine at update_debris.
|
||||||||
| animate_move_draw | 9512 | CALL animate_object | Animate | |||||
| 9515 | LD BC,$2322 | 34 wide, 35 high | ||||||
|
This entry point is used by the routines at update_cloud and update_tough_attacker.
|
||||||||
| move_draw | 9518 | CALL move_bouncing | Move, bouncing | |||||
|
This entry point is used by the routines at update_small_object and update_rammer.
|
||||||||
| place_draw | 951B | CALL place_object | Place it on the screen | |||||
|
This entry point is used by the routines at update_rocket_part and update_debris.
|
||||||||
| draw_object | 951E | CALL draw_object_images | Draw it | |||||
| 9521 | JP colour_sprite | And colour it | ||||||
| Prev: 94A8 | Up: Map | Next: 9524 |