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
@@ -11,7 +11,7 @@ Route114_FossilManiacsHouse_EventScript_22AD3A:: @ 822AD3A
faceplayer
checkflag FLAG_0x105
goto_eq Route114_FossilManiacsHouse_EventScript_22AD69
msgbox Route114_FossilManiacsHouse_Text_22AD85, 4
msgbox Route114_FossilManiacsHouse_Text_22AD85, MSGBOX_DEFAULT
giveitem_std ITEM_TM28
compare VAR_RESULT, 0
goto_eq Route114_FossilManiacsHouse_EventScript_272054
@@ -20,16 +20,16 @@ Route114_FossilManiacsHouse_EventScript_22AD3A:: @ 822AD3A
end
Route114_FossilManiacsHouse_EventScript_22AD69:: @ 822AD69
msgbox Route114_FossilManiacsHouse_Text_22AE48, 4
msgbox Route114_FossilManiacsHouse_Text_22AE48, MSGBOX_DEFAULT
release
end
Route114_FossilManiacsHouse_EventScript_22AD73:: @ 822AD73
msgbox Route114_FossilManiacsHouse_Text_22AE92, 3
msgbox Route114_FossilManiacsHouse_Text_22AE92, MSGBOX_SIGN
end
Route114_FossilManiacsHouse_EventScript_22AD7C:: @ 822AD7C
msgbox Route114_FossilManiacsHouse_Text_22AEC2, 3
msgbox Route114_FossilManiacsHouse_Text_22AEC2, MSGBOX_SIGN
end
Route114_FossilManiacsHouse_Text_22AD85: @ 822AD85