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
@@ -15,17 +15,17 @@ Route110_TrickHousePuzzle4_EventScript_26C873:: @ 826C873
Route110_TrickHousePuzzle4_EventScript_26C87E:: @ 826C87E
trainerbattle 0, TRAINER_CORA, 0, Route110_TrickHousePuzzle4_Text_26C92D, Route110_TrickHousePuzzle4_Text_26C96E
msgbox Route110_TrickHousePuzzle4_Text_26C9A2, 6
msgbox Route110_TrickHousePuzzle4_Text_26C9A2, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle4_EventScript_26C895:: @ 826C895
trainerbattle 0, TRAINER_YUJI, 0, Route110_TrickHousePuzzle4_Text_26C9E4, Route110_TrickHousePuzzle4_Text_26CA20
msgbox Route110_TrickHousePuzzle4_Text_26CA53, 6
msgbox Route110_TrickHousePuzzle4_Text_26CA53, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle4_EventScript_26C8AC:: @ 826C8AC
trainerbattle 0, TRAINER_PAULA, 0, Route110_TrickHousePuzzle4_Text_26CA9C, Route110_TrickHousePuzzle4_Text_26CACB
msgbox Route110_TrickHousePuzzle4_Text_26CAD1, 6
msgbox Route110_TrickHousePuzzle4_Text_26CAD1, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle4_Text_26C8C3: @ 826C8C3