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
@@ -4,7 +4,7 @@ SootopolisCity_House2_MapScripts:: @ 8226A76
SootopolisCity_House2_EventScript_226A77:: @ 8226A77
lock
faceplayer
msgbox SootopolisCity_House2_Text_226AAB, 5
msgbox SootopolisCity_House2_Text_226AAB, MSGBOX_YESNO
compare VAR_RESULT, 1
call_if 1, SootopolisCity_House2_EventScript_226A99
compare VAR_RESULT, 0
@@ -13,11 +13,11 @@ SootopolisCity_House2_EventScript_226A77:: @ 8226A77
end
SootopolisCity_House2_EventScript_226A99:: @ 8226A99
msgbox SootopolisCity_House2_Text_226AF1, 4
msgbox SootopolisCity_House2_Text_226AF1, MSGBOX_DEFAULT
return
SootopolisCity_House2_EventScript_226AA2:: @ 8226AA2
msgbox SootopolisCity_House2_Text_226B41, 4
msgbox SootopolisCity_House2_Text_226B41, MSGBOX_DEFAULT
return
SootopolisCity_House2_Text_226AAB: @ 8226AAB