benilla-re systems structs docs

Script::SetTrainerSkillLineFilter

function · ui · primitive

Address
0x4da3f0 · 275 bytes, up to 0x4da502
Signature
int __fastcall (lua_State *L)
Meaning
Sets a trainer skill line filter bit, alone or with the others
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/trainerverbs#setting-the-skill-line-filter

Finding: Setting the skill line filter in ui: trainer window getters and filters

SetTrainerSkillLineFilter(n [, on, exclusive]) sets the filter to all groups for n below 1. Otherwise group n - 1 must be below the group count (Bad skill line in SetTrainerSkillLineFilter) and on must be a number (Missing on//off parameter in SetTrainerSkillLineFilter): zero clears the group's bit, a nonzero value with a nonzero exclusive makes it the only bit, and any other nonzero value adds it. Each change runs the finalizer and signals TRAINER_UPDATE through the store routine.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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