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
@@ -24,17 +24,17 @@ EverGrandeCity_PokemonCenter_1F_EventScript_229A59:: @ 8229A59
end
EverGrandeCity_PokemonCenter_1F_EventScript_229A67:: @ 8229A67
msgbox EverGrandeCity_PokemonCenter_1F_Text_229ADA, 2
msgbox EverGrandeCity_PokemonCenter_1F_Text_229ADA, MSGBOX_NPC
end
EverGrandeCity_PokemonCenter_1F_EventScript_229A70:: @ 8229A70
msgbox EverGrandeCity_PokemonCenter_1F_Text_229B62, 2
msgbox EverGrandeCity_PokemonCenter_1F_Text_229B62, MSGBOX_NPC
end
EverGrandeCity_PokemonCenter_1F_EventScript_229A79:: @ 8229A79
lock
faceplayer
msgbox EverGrandeCity_PokemonCenter_1F_Text_229BF1, 4
msgbox EverGrandeCity_PokemonCenter_1F_Text_229BF1, MSGBOX_DEFAULT
closemessage
compare VAR_FACING, 2
call_if 1, EverGrandeCity_PokemonCenter_1F_EventScript_229AB6