Level selection menu: entry transition events (#12) (#35) [commit 1]

This commit is contained in:
xCrystal
2024-01-28 17:57:11 +01:00
parent 2fdfa9057f
commit 52bb92028e
9 changed files with 109 additions and 37 deletions

View File

@@ -100,6 +100,7 @@
- **wCurLevel**: initialized in LevelSelectionMenu (where it is also used), and stays static during the level.
- **wDefaultLevelSelectionMenuLandmark**: used to know in which landmark to place the player when entering level selection menu.
- **wCurOverworldMiscPal**
- **wLevelSelectionMenuEntryEventQueue**: which events have to be triggered the next time the player enters the level selection menu.
- These addresses share memory region with string buffers from *wStringBuffer3* onwards. They are placed in memory in the following order.
- **wTempSpaceStruct**: Temporary scope. Same structure as *wCurSpaceStruct*
@@ -119,6 +120,8 @@
- **wDisabledSpacesBackups**: preserved on save to **sDisabledSpacesBackups**.
- **wMapObjectsBackups**: preserved on save to **sMapObjectsBackups**.
- **wLevelSelectionMenu\*** addresses, union under the *"Miscellaneous WRAM 1"* section. Temporary scope during level selection menu, except for *wLevelSelectionMenuEntryEventQueue*.
- Other WRAM 0 addresses (not preserved on save):
- **wText2bpp**
- **wWhichHUD**