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
+4 -4
View File
@@ -3,22 +3,22 @@ MagmaHideout_2F_2R_MapScripts:: @ 8239E07
MagmaHideout_2F_2R_EventScript_239E08:: @ 8239E08
trainerbattle 0, TRAINER_GRUNT_52, 0, MagmaHideout_2F_2R_Text_239E64, MagmaHideout_2F_2R_Text_239EA5
msgbox MagmaHideout_2F_2R_Text_239EBB, 6
msgbox MagmaHideout_2F_2R_Text_239EBB, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_2R_EventScript_239E1F:: @ 8239E1F
trainerbattle 0, TRAINER_GRUNT_43, 0, MagmaHideout_2F_2R_Text_239F31, MagmaHideout_2F_2R_Text_239F71
msgbox MagmaHideout_2F_2R_Text_239FA1, 6
msgbox MagmaHideout_2F_2R_Text_239FA1, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_2R_EventScript_239E36:: @ 8239E36
trainerbattle 0, TRAINER_GRUNT_44, 0, MagmaHideout_2F_2R_Text_239FDE, MagmaHideout_2F_2R_Text_23A050
msgbox MagmaHideout_2F_2R_Text_23A07D, 6
msgbox MagmaHideout_2F_2R_Text_23A07D, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_2R_EventScript_239E4D:: @ 8239E4D
trainerbattle 0, TRAINER_GRUNT_45, 0, MagmaHideout_2F_2R_Text_23A0E4, MagmaHideout_2F_2R_Text_23A14C
msgbox MagmaHideout_2F_2R_Text_23A16F, 6
msgbox MagmaHideout_2F_2R_Text_23A16F, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_2R_Text_239E64: @ 8239E64