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
@@ -33,7 +33,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_21C5E8:: @ 821C5E8
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5F6:: @ 821C5F6
msgbox LilycoveCity_PokemonCenter_1F_Text_21C61E, 2
msgbox LilycoveCity_PokemonCenter_1F_Text_21C61E, MSGBOX_NPC
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5FF:: @ 821C5FF
@@ -41,12 +41,12 @@ LilycoveCity_PokemonCenter_1F_EventScript_21C5FF:: @ 821C5FF
faceplayer
checkflag FLAG_BADGE07_GET
goto_eq LilycoveCity_PokemonCenter_1F_EventScript_21C614
msgbox LilycoveCity_PokemonCenter_1F_Text_21C69D, 4
msgbox LilycoveCity_PokemonCenter_1F_Text_21C69D, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonCenter_1F_EventScript_21C614:: @ 821C614
msgbox LilycoveCity_PokemonCenter_1F_Text_21C6F6, 4
msgbox LilycoveCity_PokemonCenter_1F_Text_21C6F6, MSGBOX_DEFAULT
release
end