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
@@ -44,20 +44,20 @@ EverGrandeCity_GlaciasRoom_EventScript_228469:: @ 8228469
checkflag FLAG_0x4FD
goto_eq EverGrandeCity_GlaciasRoom_EventScript_228490
playbgm MUS_SITENNOU, 0
msgbox EverGrandeCity_GlaciasRoom_Text_2284AC, 4
msgbox EverGrandeCity_GlaciasRoom_Text_2284AC, MSGBOX_DEFAULT
trainerbattle 3, TRAINER_GLACIA, 0, EverGrandeCity_GlaciasRoom_Text_2285B4
goto EverGrandeCity_GlaciasRoom_EventScript_22849A
end
EverGrandeCity_GlaciasRoom_EventScript_228490:: @ 8228490
msgbox EverGrandeCity_GlaciasRoom_Text_228640, 4
msgbox EverGrandeCity_GlaciasRoom_Text_228640, MSGBOX_DEFAULT
release
end
EverGrandeCity_GlaciasRoom_EventScript_22849A:: @ 822849A
setflag FLAG_0x4FD
call EverGrandeCity_GlaciasRoom_EventScript_2723F8
msgbox EverGrandeCity_GlaciasRoom_Text_228640, 4
msgbox EverGrandeCity_GlaciasRoom_Text_228640, MSGBOX_DEFAULT
release
end