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

View File

@@ -6,7 +6,7 @@ MtPyre_1F_EventScript_230F3F:: @ 8230F3F
faceplayer
checkflag FLAG_0x11A
goto_eq MtPyre_1F_EventScript_230F6E
msgbox MtPyre_1F_Text_230F8A, 4
msgbox MtPyre_1F_Text_230F8A, MSGBOX_DEFAULT
giveitem_std ITEM_CLEANSE_TAG
compare VAR_RESULT, 0
goto_eq MtPyre_1F_EventScript_272054
@@ -15,16 +15,16 @@ MtPyre_1F_EventScript_230F3F:: @ 8230F3F
end
MtPyre_1F_EventScript_230F6E:: @ 8230F6E
msgbox MtPyre_1F_Text_231005, 4
msgbox MtPyre_1F_Text_231005, MSGBOX_DEFAULT
release
end
MtPyre_1F_EventScript_230F78:: @ 8230F78
msgbox MtPyre_1F_Text_23104F, 2
msgbox MtPyre_1F_Text_23104F, MSGBOX_NPC
end
MtPyre_1F_EventScript_230F81:: @ 8230F81
msgbox MtPyre_1F_Text_2310BA, 2
msgbox MtPyre_1F_Text_2310BA, MSGBOX_NPC
end
MtPyre_1F_Text_230F8A: @ 8230F8A