benilla-re systems structs docs

s_teleportFlag

global · terrain

Address
0xc6325c · 4 bytes, up to 0xc6325f
Type
uint32_t
Meaning
Holds 1 when the new area window shares no more than an edge index with the previous one
Confidence
verified, proof one
Finding
terrain/mapupdate#map-update-order

Finding: Map update order in terrain: map update

0x698390 runs once a frame from the world frame with 1, and from the map loaders with 0. With the teleport flag set it first clears the pending work (0x6a6710). It then runs, in this order: the map object frame start 0x6b3890, the tile load pass 0x6985d0, the progress hook with 0.5, the pending doodads 0x698c50, the area unload 0x6984f0, the map object update 0x698720, the node reset 0x6989e0 and the progress hook with 1.0. Only with a nonzero argument does it go on to refresh the sky gradient texture when 2.0 seconds have passed since the last refresh, step the liquid animation and age the queued ripples.

The derivation is in the doc.