![]() |
Routines |
| Prev: 5F38 | Up: Map | Next: 5F53 |
|
Used by the routines at LevelNew and ResetPlayerData.
|
||||
| ResetFlowerLeaf | 5F40 | LD HL,$5F26 | Copy 08 bytes of data from DefaultState_Flower to State_Flower. | |
| 5F43 | LD DE,$5E8C | |||
| 5F46 | LD BC,$0008 | |||
| 5F49 | LDIR | |||
| 5F4B | LD HL,$5E94 | HL=Leaf_1_State. | ||
| 5F4E | LD B,$04 | B=04 (leaf counter). | ||
| 5F50 | JP SetObjectInactive | Jump to SetObjectInactive to set all leaf objects inactive. | ||
| Prev: 5F38 | Up: Map | Next: 5F53 |