![]() ![]() |
Routines |
Prev: 24403 | Up: Map | Next: 24496 |
Used by the routines at Message_SprayBugs and 26327.
|
||||
LevelNew | 24448 | LD HL,24120 | Increment CurrentPlayer_Lives by one (for display purposes). | |
24451 | INC (HL) | |||
24452 | CALL LevelNew_0 | Call LevelNew_0. | ||
24455 | CALL ResetFlowerLeaf | Call ResetFlowerLeaf. | ||
24458 | CALL PlayerInit | Call PlayerInit. | ||
Initialise the level.
|
||||
LevelInit | 24461 | CALL CreateWindow | Call CreateWindow. | |
24464 | CALL DrawPlayArea | Call DrawPlayArea. | ||
24467 | CALL 24496 | Call 24496. | ||
24470 | CALL DisplayPlayerLives | Call DisplayPlayerLives. | ||
24473 | LD A,(23672) | Write FRAMES to LastFrame. | ||
24476 | LD (24095),A | |||
24479 | RET | Return. | ||
This entry point is used by the routine at ResetPlayerData.
|
||||
LevelNew_0 | 24480 | LD HL,24366 | Copy 10 bytes of data from 24366 to 24099. | |
24483 | LD DE,24099 | |||
24486 | LD BC,10 | |||
24489 | LDIR | |||
24491 | XOR A | Reset 24124. | ||
24492 | LD (24124),A | |||
24495 | RET | Return. |
Prev: 24403 | Up: Map | Next: 24496 |