benilla-re systems structs docs

Script::CloseQuest

function · ui · orchestration

Address
0x501a10 · 15 bytes, up to 0x501a1e
Signature
int __fastcall (lua_State *L)
Meaning
Declines the open quest dialog and closes it
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/questpanel#money-and-the-title

Finding: Money and the title in ui: quest panel state and the quest dialog verbs

GetRewardMoney() returns the reward money cell and GetQuestMoneyToGet() the wanted money cell. GetTitleText() and GetObjectiveText() return the title and the objective buffers. GetAvailableTitle(i) and GetActiveTitle(i) return nil beyond the pool; GetAvailableLevel(i) and GetActiveLevel(i) return 0 there. The level functions raise Usage: GetGetAvailableLevel(index) and Usage: GetGetActiveLevel(index) for a non-number. CloseQuest() runs ReportQuestDeclined with no sharer flag.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

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