benilla-re systems structs docs

Script::GetTrainerServiceDescription

function · ui · primitive

Address
0x4d9b40 · 616 bytes, up to 0x4d9da7
Signature
int __fastcall (lua_State *L)
Meaning
Returns the expanded description of a trainer service
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/trainerverbs#description

Finding: Description in ui: trainer window getters and filters

GetTrainerServiceDescription(row) returns the expanded description of the sent spell. For a type 1 trainer's used row, or a sent spell without a description, it first tries the spell named by the learn effect: its description, else the description of the item that spell creates when it has attribute 0x20 and a create-item effect (0x18). It then falls back to the sent spell's description and gives nil when that is empty too.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 9

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