adds constants, cleans up callstd and msgbox code

* adds some constants for standard script names and messagebox types
* replaces some callstd calls with msgbox calls where equivalent
* replaces msgbox and callstd calls using raw digits with versions that use the constants
This commit is contained in:
Melody
2018-12-02 03:37:46 -05:00
parent 145047d438
commit c557ac61ae
354 changed files with 4538 additions and 4531 deletions
@@ -305,32 +305,32 @@ Route110_TrickHousePuzzle7_EventScript_26E373:: @ 826E373
Route110_TrickHousePuzzle7_EventScript_26E389:: @ 826E389
trainerbattle 0, TRAINER_JOSHUA, 0, Route110_TrickHousePuzzle7_Text_26E481, Route110_TrickHousePuzzle7_Text_26E4C1
msgbox Route110_TrickHousePuzzle7_Text_26E4F4, 6
msgbox Route110_TrickHousePuzzle7_Text_26E4F4, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E3A0:: @ 826E3A0
trainerbattle 0, TRAINER_PATRICIA, 0, Route110_TrickHousePuzzle7_Text_26E531, Route110_TrickHousePuzzle7_Text_26E564
msgbox Route110_TrickHousePuzzle7_Text_26E57F, 6
msgbox Route110_TrickHousePuzzle7_Text_26E57F, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E3B7:: @ 826E3B7
trainerbattle 0, TRAINER_ALEXIS, 0, Route110_TrickHousePuzzle7_Text_26E5C0, Route110_TrickHousePuzzle7_Text_26E604
msgbox Route110_TrickHousePuzzle7_Text_26E61E, 6
msgbox Route110_TrickHousePuzzle7_Text_26E61E, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E3CE:: @ 826E3CE
trainerbattle 0, TRAINER_MARIELA, 0, Route110_TrickHousePuzzle7_Text_26E66B, Route110_TrickHousePuzzle7_Text_26E69C
msgbox Route110_TrickHousePuzzle7_Text_26E6BC, 6
msgbox Route110_TrickHousePuzzle7_Text_26E6BC, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E3E5:: @ 826E3E5
trainerbattle 0, TRAINER_ALVARO, 0, Route110_TrickHousePuzzle7_Text_26E6DA, Route110_TrickHousePuzzle7_Text_26E700
msgbox Route110_TrickHousePuzzle7_Text_26E722, 6
msgbox Route110_TrickHousePuzzle7_Text_26E722, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E3FC:: @ 826E3FC
trainerbattle 0, TRAINER_EVERETT, 0, Route110_TrickHousePuzzle7_Text_26E78D, Route110_TrickHousePuzzle7_Text_26E7AB
msgbox Route110_TrickHousePuzzle7_Text_26E7C4, 6
msgbox Route110_TrickHousePuzzle7_Text_26E7C4, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle7_EventScript_26E413:: @ 826E413