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 committed 2018-12-02 03:37:46 -05:00
1 parent 145047d438
commit c557ac61ae
354 files changed
+4538 -4531

No files matched your search

@@ -165,7 +165,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252C4F:: @ 8252C4F
BattleFrontier_BattlePyramidEmptySquare_EventScript_252C6A:: @ 8252C6A
setvar VAR_0x8004, 7
special CallBattlePyramidFunction
callstd 1
callstd STD_FIND_ITEM
compare VAR_0x8007, 0
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C87
setvar VAR_0x8004, 8
@@ -781,4 +781,3 @@ BattleFrontier_BattlePyramidEmptySquare_Text_25502F:: @ 825502F
BattleFrontier_BattlePyramidEmptySquare_Text_255068:: @ 8255068
.string "There aren’t any TRAINERS left that\n"
.string "can take you on now…$"