arterial.battle.before_phases
Patch point of Soukoku no Arterial, in the script BTL.
BTL's call of PHASECONTROLLER, which plays the battle out. SETREGULATION has taken the battle's rule (battle_rule_id), SETBTSKILL its skills and DECKBUILD the decks, and the battle's music plays. battle_id is the battle (a DUINIT id) and current_opponent_id the arena opponent (0 outside the arena). battle_result is 0. BTL reaches here at each try: a lost battle that the player fights again (リトライ) comes back through DECKBUILD to here.
The point is one instruction, named the same in every revision of the script that has it. Its site, a dword offset into the script, in each revision OME knows:
| Script revision (fingerprint) | Site |
|---|---|
67fe6c6f4b8e (the script as OME’s index has it) | 0x51e |
The base mod raises arterial.battle.start here. The patching and Lua guides explain how a mod uses a point.