![]() |
Routines |
| Prev: 24448 | Up: Map | Next: 24496 |
|
Used by the routines at LevelNew and ResetPlayerData.
Copies the default contents of the ten cubby holes (five down each side of the play area) from DefaultState_CubbyHoles to CubbyHoles, and cancels any bonus item object at State_BonusItem.
|
||||
| ResetCubbyHoles | 24480 | LD HL,24366 | Copy 10 bytes of data from DefaultState_CubbyHoles to CubbyHoles. | |
| 24483 | LD DE,24099 | |||
| 24486 | LD BC,10 | |||
| 24489 | LDIR | |||
| 24491 | XOR A | Write 0 to State_BonusItem. | ||
| 24492 | LD (24124),A | |||
| 24495 | RET | Return. | ||
| Prev: 24448 | Up: Map | Next: 24496 |