benilla-re systems structs docs

LeaveBattlefield

Lua global function

Function
Script::LeaveBattlefield ui
Meaning
Sends opcode 0x2e1 to leave the battleground once it has ended verified, proof one
Registered in
global table s_battlefieldFunctions ui
Registrar pair
0x845880
Arguments
0 exact
Returns
0 values exact, kinds () agree

Arguments is the largest Lua stack index the function reads: a floor, never a check. Returns lists the number and the kinds of the values it pushes; ? is unknown. what the columns mean.

Cited in 1