benilla-re systems structs docs

s_worldEntered

global · ui

Address
0xb4b424 · 1 bytes, up to 0xb4b424
Type
uint8_t
Meaning
Holds 1 from the enter cascade to the leave function, the once-per-world latch
Confidence
verified, proof one
Finding
ui/worldenter#the-enter-cascade

Finding: The enter cascade in ui: entering and leaving the world

0x4908c0 runs when the active player arrives. A once-per-world latch 0xb4b424 makes a second entry return; otherwise it sets the latch, runs set-up calls on the player, then fires PLAYER_LOGIN (id 270) if it is armed and PLAYER_ENTERING_WORLD (id 272), which it fires every time. After the events it makes 38 calls: the minimap initializer 0x4ed9d0, the chat release 0x4989c0 (which clears the display latch and shows the queued lines) and 36 more that rebuild each frame's state for the new world. It ends by setting tutorial flag 0x29 and calling 0x4b5390 again.

The derivation is in the doc.