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,17 +6,17 @@ LilycoveCity_House2_EventScript_21ED75:: @ 821ED75
faceplayer
checkflag FLAG_0x0EA
goto_eq LilycoveCity_House2_EventScript_21EDAC
msgbox LilycoveCity_House2_Text_21EDB6, 4
msgbox LilycoveCity_House2_Text_21EDB6, MSGBOX_DEFAULT
giveitem_std ITEM_TM44
compare VAR_RESULT, 0
goto_eq LilycoveCity_House2_EventScript_272054
setflag FLAG_0x0EA
msgbox LilycoveCity_House2_Text_21EDF9, 4
msgbox LilycoveCity_House2_Text_21EDF9, MSGBOX_DEFAULT
release
end
LilycoveCity_House2_EventScript_21EDAC:: @ 821EDAC
msgbox LilycoveCity_House2_Text_21EDF9, 4
msgbox LilycoveCity_House2_Text_21EDF9, MSGBOX_DEFAULT
release
end