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
@@ -25,17 +25,17 @@ Route110_TrickHousePuzzle1_EventScript_26B93D:: @ 826B93D
Route110_TrickHousePuzzle1_EventScript_26B948:: @ 826B948
trainerbattle 0, TRAINER_SALLY, 0, Route110_TrickHousePuzzle1_Text_26B9FB, Route110_TrickHousePuzzle1_Text_26BA3F
msgbox Route110_TrickHousePuzzle1_Text_26BA57, 6
msgbox Route110_TrickHousePuzzle1_Text_26BA57, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle1_EventScript_26B95F:: @ 826B95F
trainerbattle 0, TRAINER_EDDIE, 0, Route110_TrickHousePuzzle1_Text_26BA82, Route110_TrickHousePuzzle1_Text_26BAB0
msgbox Route110_TrickHousePuzzle1_Text_26BAC3, 6
msgbox Route110_TrickHousePuzzle1_Text_26BAC3, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle1_EventScript_26B976:: @ 826B976
trainerbattle 0, TRAINER_ROBIN, 0, Route110_TrickHousePuzzle1_Text_26BB10, Route110_TrickHousePuzzle1_Text_26BB2E
msgbox Route110_TrickHousePuzzle1_Text_26BB52, 6
msgbox Route110_TrickHousePuzzle1_Text_26BB52, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle1_Text_26B98D:: @ 826B98D