![]() |
Routines |
| Prev: C337 | Up: Map | Next: C357 |
|
Used by the routine at upd_92_to_95.
Every fourth frame: a sound, a step off the counter at +$10, and either the end of the transformation (finish_transform) or a new random sprite (rand_legs_sprite). Eight steps, so the change takes 32 frames.
|
||||
| transform_step | C349 | LD A,($5BA2) | only on every fourth frame | |
| C34C | AND $03 | |||
| C34E | RET NZ | |||
| C34F | CALL sound_transform | a sound that depends on which sprite is showing | ||
| C352 | DEC (IX+$10) | the last step? | ||
| C355 | JR Z,finish_transform | |||
| Prev: C337 | Up: Map | Next: C357 |