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
@@ -13,9 +13,9 @@ MeteorFalls_StevensCave_EventScript_23B182:: @ 823B182
waitmovement 0
applymovement 1, MeteorFalls_StevensCave_Movement_27259E
waitmovement 0
msgbox MeteorFalls_StevensCave_Text_23B1E1, 4
msgbox MeteorFalls_StevensCave_Text_23B1E1, MSGBOX_DEFAULT
trainerbattle 3, TRAINER_STEVEN, 0, MeteorFalls_StevensCave_Text_23B32D
msgbox MeteorFalls_StevensCave_Text_23B358, 4
msgbox MeteorFalls_StevensCave_Text_23B358, MSGBOX_DEFAULT
setflag FLAG_0x4F8
release
end
@@ -23,7 +23,7 @@ MeteorFalls_StevensCave_EventScript_23B182:: @ 823B182
MeteorFalls_StevensCave_EventScript_23B1CD:: @ 823B1CD
applymovement 1, MeteorFalls_StevensCave_Movement_27259E
waitmovement 0
msgbox MeteorFalls_StevensCave_Text_23B358, 4
msgbox MeteorFalls_StevensCave_Text_23B358, MSGBOX_DEFAULT
release
end