FIELD
Script FIELD.BIN of Kamidori Alchemy Meister: id 0x4547, 8563 instructions, fingerprint e350246cc923.
The dungeon floor: it runs every layer's map and stage loaders, places the floor's enemies and objects, and runs each layer's ready handlers, a round's handlers at the start of each player turn after the first, and the close handlers when the floor ends.
Source: the patch points kamidori.stage.after_loader, after_ready_handlers, after_round_handlers and after_close_handlers
Calls
Called by SYSTEM4.
It calls ADDEN (2 sites), ADDEXP, ADDILL (4 sites), ADDITEM (3 sites), AIM (3 sites), BOMBSEEK, BTL, BTRTN (2 sites), CALCBTPARAM (2 sites), CALCDMG, CALCOCC, CALCREVISE (3 sites), CALCSCOPE (2 sites), CHECKIMPROVE, CHECKOBJ, COMMITBTL, CONFIG, DIG, DRAWCH (3 sites), DRAWCHALL, DRAWCHP (27 sites), DRAWCHSTATE, DRAWMAP, DRAWMINIMAP (8 sites), DRAWOBJ, DRAWVOL (3 sites), ENTERMAP, FELLOW (2 sites), INFO, MES (12 sites), MVRTN, RECOVER, REMOVECH (4 sites), RENDERMAP (3 sites), REWARD, SAVE (2 sites), SBUNKI (2 sites), SELACT (2 sites), SELBOMB (7 sites), SETADVFLAG (4 sites), SETBOMBTARGET, SETCH, SETEN (2 sites), SETHALLTEX, SETMAPTEX, SETOBJ, SETROOM, STAGECLEAR, STATUS, USEITEM, WARPD (3 sites), WARPU (3 sites). It also has 9 calls whose script is computed when it runs.
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 1059 reads, 289 writes and 538 indexes more.
Patch points
kamidori.stage.after_loader, at0x527kamidori.stage.after_ready_handlers, at0xd58kamidori.stage.after_round_handlers, at0x933dkamidori.stage.after_close_handlers, at0xc785
Waits
Its instructions that can wait (for input, a sleep, a transition, a dialog or a movie), by opcode:
crossfade-surfaces: 2mark-frame-yield: 30sleep: 1