LcdLeaveWorld
function · ui · orchestration
- Address
0x72a450· 71 bytes, up to0x72a496- Signature
void __cdecl ()- Meaning
- Clears the in-world and battlefield flags and the player, shows screen 0 and updates the display
- Confidence
- verified, proof one
- Finding
- ui/lcd#entering-and-leaving-the-world
Finding: Entering and leaving the world in ui: the keyboard LCD
0x72a370 enters the world: it shows screen 1, sets the in-world flag 0xcf06ec, caches the active player at 0xcf06e8 and, by the class byte [[player+0x110]+0x79] (1 to 9), sets a flag on the elements 0x14 and 0x2a through 0x72cf20. 0x72a450 leaves it: it clears the flag,
shows screen 0, clears the battlefield flag 0xcf06f8 and the player, and updates the display (0x72d060). 0x72a4a0 shows the battlefield screen: it sets 0xcf06f8, stores the time [0xb6ebbc] at 0xcf0704, fills the screen (0x72a5f0) and shows screen 3.
The derivation is in the doc.
Callers 1
- LeaveWorldUI ui
Callees 4
- LcdIsLocaleSupported ui
- LcdSetScreen ui
- LcdIsDeviceConnected ui
- 0x72d060 ui
Calls and jumps by a bare address, from tables/calls.tsv.