![]() |
Routines |
| Prev: BEE4 | Up: Map | Next: BF11 |
|
When the player enters a room (or comes back after losing a life) both of the player's records start as type 120 with their real type saved at +$10 (see exit_screen and lose_life). This handler steps the type on by one every other frame, with a sound whose pitch follows the frame, and upd_127 finishes the effect.
|
||||
| upd_120_to_126 | BEFE | CALL adj_m4_m12 | sprite drawing offset for this kind of object | |
| BF01 | LD A,($5BA2) | only on alternate frames of the counter at $5BA2 | ||
| BF04 | CPL | |||
| BF05 | AND $01 | |||
| BF07 | RET NZ | |||
| BF08 | INC (IX+$00) | next frame of the effect, a sound, and redraw | ||
| BF0B | CALL sound_materialise | |||
| BF0E | JP set_wipe_and_draw_flags | |||
| Prev: BEE4 | Up: Map | Next: BF11 |