benilla-re systems structs docs

RegisterTutorialFunctions

function · ui · orchestration

Address
0x4b5a20 · 30 bytes, up to 0x4b5a3d
Meaning
Registers the four tutorial Lua functions
Confidence
verified, proof one
Finding
ui/tutorials#the-lua-functions

Finding: The Lua functions in ui: tutorials

TutorialsEnabled() pushes 1 when any byte of the acknowledged set differs from 0xFF, else nil; it pushes nil for an empty set. FlagTutorial(n) takes a number (Usage: FlagTutorial("tutorial") otherwise), truncates it and acknowledges n - 1; a result below 0 or above 49 does nothing and no error. ClearTutorials() cancels every queued node, fills both sets with ones and sends the empty message 0xFF. ResetTutorials() fills both sets with zeros, leaves the queue and sends the empty message 0x100. None of the four pushes a value but the first.

The derivation is in the doc.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.