![]() |
Routines |
| Prev: F4FC | Up: Map | Next: F54D |
|
Used by the routine at play.
Jumped to from the play loop (play) when launch_state is $FF, after the rocket has been built and has risen. Clears the play area, shows the end of the level (planet_secured, which also counts the level on in the record, +18), plays its tune (level_tune), waits fourteen delays, clears the play area again and the player's three flag bytes (+3 to +5, see messages_and_players), and starts the next life's play at play.
The rocket's part of this is from the agent who read launch_state's setting; here, planet_secured is read counting the level on.
|
||||
| level_done | F52A | CALL clear_play_area | Clear the play area; the end-of-level display | |
| F52D | CALL planet_secured | |||
| F530 | LD DE,level_tune | Its tune | ||
| F533 | CALL play_tune | |||
| F536 | LD B,$0E | A pause | ||
| level_done_0 | F538 | CALL delay | ||
| F53B | DJNZ level_done_0 | |||
| F53D | CALL clear_play_area | Clear the play area | ||
| F540 | XOR A | Clear the record's three flag bytes, and play on | ||
| F541 | LD (player_flag_bits),A | |||
| F544 | LD ($F5EB),A | |||
| F547 | LD ($F5EC),A | |||
| F54A | JP play | |||
| Prev: F4FC | Up: Map | Next: F54D |