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
+5 -5
View File
@@ -2,17 +2,17 @@ PacifidlogTown_House4_MapScripts:: @ 8203F4B
.byte 0
PacifidlogTown_House4_EventScript_203F4C:: @ 8203F4C
msgbox PacifidlogTown_House4_Text_204017, 2
msgbox PacifidlogTown_House4_Text_204017, MSGBOX_NPC
end
PacifidlogTown_House4_EventScript_203F55:: @ 8203F55
msgbox PacifidlogTown_House4_Text_203F93, 2
msgbox PacifidlogTown_House4_Text_203F93, MSGBOX_NPC
end
PacifidlogTown_House4_EventScript_203F5E:: @ 8203F5E
lock
faceplayer
msgbox PacifidlogTown_House4_Text_204035, 5
msgbox PacifidlogTown_House4_Text_204035, MSGBOX_YESNO
compare VAR_RESULT, 1
goto_eq PacifidlogTown_House4_EventScript_203F7F
compare VAR_RESULT, 0
@@ -20,12 +20,12 @@ PacifidlogTown_House4_EventScript_203F5E:: @ 8203F5E
end
PacifidlogTown_House4_EventScript_203F7F:: @ 8203F7F
msgbox PacifidlogTown_House4_Text_20404E, 4
msgbox PacifidlogTown_House4_Text_20404E, MSGBOX_DEFAULT
release
end
PacifidlogTown_House4_EventScript_203F89:: @ 8203F89
msgbox PacifidlogTown_House4_Text_204084, 4
msgbox PacifidlogTown_House4_Text_204084, MSGBOX_DEFAULT
release
end