benilla-re systems structs docs

s_lcdInWorld

global · ui

Address
0xcf06ec · 1 bytes, up to 0xcf06ec
Type
uint8_t
Meaning
Holds 1 between entering and leaving the world
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.