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 committed 2018-12-02 03:37:46 -05:00
1 parent 145047d438
commit c557ac61ae
354 files changed
+4538 -4531

No files matched your search

@@ -29,7 +29,7 @@ EverGrandeCity_PokemonLeague_1F_EventScript_22960A:: @ 822960A
message gUnknown_08272A21
waitmessage
pokemart EverGrandeCity_PokemonLeague_1F_Pokemart_229624
msgbox gUnknown_08272A3F, 4
msgbox gUnknown_08272A3F, MSGBOX_DEFAULT
release
end
@@ -88,14 +88,14 @@ EverGrandeCity_PokemonLeague_1F_EventScript_2296A3:: @ 82296A3
EverGrandeCity_PokemonLeague_1F_EventScript_2296AE:: @ 82296AE
playse SE_HAZURE
msgbox EverGrandeCity_PokemonLeague_1F_Text_229787, 4
msgbox EverGrandeCity_PokemonLeague_1F_Text_229787, MSGBOX_DEFAULT
releaseall
end
EverGrandeCity_PokemonLeague_1F_EventScript_2296BB:: @ 82296BB
applymovement VAR_LAST_TALKED, EverGrandeCity_PokemonLeague_1F_Movement_27259E
waitmovement 0
msgbox EverGrandeCity_PokemonLeague_1F_Text_2297EF, 4
msgbox EverGrandeCity_PokemonLeague_1F_Text_2297EF, MSGBOX_DEFAULT
closemessage
applymovement VAR_LAST_TALKED, EverGrandeCity_PokemonLeague_1F_Movement_2725A2
waitmovement 0