SHOPS
Script SHOPS.BIN of Soukoku no Arterial: id 0x52f9, 989 instructions, fingerprint 0492a662e072.
OME has no note on what it does yet; what follows is from its script index.
Calls
Called by SHOP.
It calls ADDCARD, ADDITEM, SBUNKI.
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 18 reads, 17 writes and 15 indexes more.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
money | 6 | 3 | 0 |
item_owned_counts | 0 | 0 | 5 |
card_owned_counts | 0 | 0 | 4 |
card_prices | 0 | 0 | 4 |
item_prices | 0 | 0 | 4 |
card_arg_row | 1 | 2 | 0 |
card_arg_slot | 1 | 2 | 0 |
item_arg_id | 0 | 3 | 0 |
item_kinds | 0 | 0 | 2 |
card_arg_count | 0 | 1 | 0 |
card_leader_lp | 0 | 0 | 1 |
card_obtained_flags | 0 | 0 | 1 |
card_pictures | 0 | 0 | 1 |
card_sort_keys | 0 | 0 | 1 |
item_arg_count | 0 | 1 | 0 |
item_obtained_flags | 0 | 0 | 1 |
item_pictures | 0 | 0 | 1 |
item_sort_keys | 0 | 0 | 1 |
Waits
Its instructions that can wait (for input, a sleep, a transition, a dialog or a movie), by opcode:
mark-frame-yield: 1sleep: 1