ADDEXP
Script ADDEXP.BIN of Kamidori Alchemy Meister: id 0x3440, 284 instructions, fingerprint 606b83e952a3.
Awards experience to one character: the amount its caller passes (COMMITBTL after a battle, or FIELD), times the costume bonus, over 100. A character at its level cap, or an amount of 0 or less, gains none. Weapon experience is decided after.
Source: the patch point kamidori.experience.after_calculation
Its caller sets these globals before the call:
| Global | What it holds |
|---|---|
current_battle_slot | the battle slot whose unit gains the experience (ADDEXP@0x0 reads battle_unit_unit_ids by it) |
shared_scratch_value | the experience its caller awards |
Calls
It calls CALCCC, CALCREVISE, MES, SHOWCC, SHOWGROW.
Globals
The named globals its instructions read, write or index (take as an array’s base), with how many operands do each. Cells no global names yet take 6 reads, 4 writes and 8 indexes more.
Patch points
Waits
Its instructions that can wait (for input, a sleep, a transition, a dialog or a movie), by opcode: