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_1R_MapScripts:: @ 8239B50
MagmaHideout_2F_1R_EventScript_239B51:: @ 8239B51
trainerbattle 0, TRAINER_GRUNT_51, 0, MagmaHideout_2F_1R_Text_239BAD, MagmaHideout_2F_1R_Text_239C4B
msgbox MagmaHideout_2F_1R_Text_239C74, 6
msgbox MagmaHideout_2F_1R_Text_239C74, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_1R_EventScript_239B68:: @ 8239B68
trainerbattle 0, TRAINER_GRUNT_40, 0, MagmaHideout_2F_1R_Text_239CAB, MagmaHideout_2F_1R_Text_239D09
msgbox MagmaHideout_2F_1R_Text_239D1D, 6
msgbox MagmaHideout_2F_1R_Text_239D1D, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_1R_EventScript_239B7F:: @ 8239B7F
trainerbattle 0, TRAINER_GRUNT_41, 0, MagmaHideout_2F_1R_Text_239D62, MagmaHideout_2F_1R_Text_239D75
msgbox MagmaHideout_2F_1R_Text_239D7D, 6
msgbox MagmaHideout_2F_1R_Text_239D7D, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_1R_EventScript_239B96:: @ 8239B96
trainerbattle 0, TRAINER_GRUNT_42, 0, MagmaHideout_2F_1R_Text_239DC5, MagmaHideout_2F_1R_Text_239DDA
msgbox MagmaHideout_2F_1R_Text_239DE2, 6
msgbox MagmaHideout_2F_1R_Text_239DE2, MSGBOX_AUTOCLOSE
end
MagmaHideout_2F_1R_Text_239BAD: @ 8239BAD