Prev: 24714 Up: Map Next: 24781
24745: Initialise New Level
Used by the routines at StartGame and 26311.
LevelNew 24745 LD A,(24048) A=ActivePlayer_Level.
24748 AND %00000011 If ActivePlayer_Level % $04 (every 4th level) ... then continue and reset the rocket else jump to LevelInitialisation.
24750 JR NZ,LevelInitialisation
24752 CALL RocketReset Call RocketReset.
24755 LD HL,24049 Increase the lives counter ActivePlayer_Lives by one.
24758 INC (HL)
24759 CALL PlayerInitialisation Call PlayerInitialisation.
This entry point is used by the routine at PlayerReset.
LevelInitialisation 24762 CALL 26921 Call 26921.
24765 CALL CreateWindow Call CreateWindow.
24768 CALL 30317 Call 30317.
24771 CALL DisplayPlayerLives Call DisplayPlayerLives.
24774 LD A,(23672) A=FRAMES.
24777 LD (24020),A Write A to LastFrame.
24780 RET Return.
Prev: 24714 Up: Map Next: 24781