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

View File

@@ -3,12 +3,12 @@ SSTidalLowerDeck_MapScripts:: @ 823C818
SSTidalLowerDeck_EventScript_23C819:: @ 823C819
trainerbattle 0, TRAINER_PHILLIP, 0, SSTidalLowerDeck_Text_23C847, SSTidalLowerDeck_Text_23C8A0
msgbox SSTidalLowerDeck_Text_23C8B4, 6
msgbox SSTidalLowerDeck_Text_23C8B4, MSGBOX_AUTOCLOSE
end
SSTidalLowerDeck_EventScript_23C830:: @ 823C830
trainerbattle 0, TRAINER_LEONARD, 0, SSTidalLowerDeck_Text_23C917, SSTidalLowerDeck_Text_23C97D
msgbox SSTidalLowerDeck_Text_23C98E, 6
msgbox SSTidalLowerDeck_Text_23C98E, MSGBOX_AUTOCLOSE
end
SSTidalLowerDeck_Text_23C847: @ 823C847