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,16 +6,16 @@ MauvilleCity_House1_EventScript_20F976:: @ 820F976
faceplayer
checkflag FLAG_0x06B
goto_eq MauvilleCity_House1_EventScript_20F9A5
msgbox MauvilleCity_House1_Text_20F9AF, 4
msgbox MauvilleCity_House1_Text_20F9AF, MSGBOX_DEFAULT
giveitem_std ITEM_HM06
setflag FLAG_0x06B
setflag FLAG_HIDE_ROUTE_111_ROCK_SMASH_TIP_GUY
msgbox MauvilleCity_House1_Text_20FAA9, 4
msgbox MauvilleCity_House1_Text_20FAA9, MSGBOX_DEFAULT
release
end
MauvilleCity_House1_EventScript_20F9A5:: @ 820F9A5
msgbox MauvilleCity_House1_Text_20FB67, 4
msgbox MauvilleCity_House1_Text_20FB67, MSGBOX_DEFAULT
release
end