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
@@ -2,12 +2,12 @@ AbandonedShip_Corridors_1F_MapScripts:: @ 82379A4
.byte 0
AbandonedShip_Corridors_1F_EventScript_2379A5:: @ 82379A5
msgbox AbandonedShip_Corridors_1F_Text_237A60, 2
msgbox AbandonedShip_Corridors_1F_Text_237A60, MSGBOX_NPC
end
AbandonedShip_Corridors_1F_EventScript_2379AE:: @ 82379AE
trainerbattle 0, TRAINER_CHARLIE, 0, AbandonedShip_Corridors_1F_Text_2379C5, AbandonedShip_Corridors_1F_Text_237A01
msgbox AbandonedShip_Corridors_1F_Text_237A1B, 6
msgbox AbandonedShip_Corridors_1F_Text_237A1B, MSGBOX_AUTOCLOSE
end
AbandonedShip_Corridors_1F_Text_2379C5: @ 82379C5