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
+3 -3
View File
@@ -6,15 +6,15 @@ GraniteCave_1F_EventScript_22DA5E:: @ 822DA5E
faceplayer
checkflag FLAG_0x06D
goto_eq GraniteCave_1F_EventScript_22DA8A
msgbox GraniteCave_1F_Text_22DA94, 4
msgbox GraniteCave_1F_Text_22DA94, MSGBOX_DEFAULT
giveitem_std ITEM_HM05
setflag FLAG_0x06D
msgbox GraniteCave_1F_Text_22DBB7, 4
msgbox GraniteCave_1F_Text_22DBB7, MSGBOX_DEFAULT
release
end
GraniteCave_1F_EventScript_22DA8A:: @ 822DA8A
msgbox GraniteCave_1F_Text_22DBB7, 4
msgbox GraniteCave_1F_Text_22DBB7, MSGBOX_DEFAULT
release
end