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
+4 -4
View File
@@ -6,7 +6,7 @@ DewfordTown_House2_EventScript_1FE22E:: @ 81FE22E
faceplayer
checkflag FLAG_0x121
goto_eq DewfordTown_House2_EventScript_1FE267
msgbox DewfordTown_House2_Text_1FE27A, 4
msgbox DewfordTown_House2_Text_1FE27A, MSGBOX_DEFAULT
giveitem_std ITEM_SILK_SCARF
compare VAR_RESULT, 0
goto_eq DewfordTown_House2_EventScript_1FE25D
@@ -15,17 +15,17 @@ DewfordTown_House2_EventScript_1FE22E:: @ 81FE22E
end
DewfordTown_House2_EventScript_1FE25D:: @ 81FE25D
msgbox DewfordTown_House2_Text_1FE356, 4
msgbox DewfordTown_House2_Text_1FE356, MSGBOX_DEFAULT
release
end
DewfordTown_House2_EventScript_1FE267:: @ 81FE267
msgbox DewfordTown_House2_Text_1FE3D1, 4
msgbox DewfordTown_House2_Text_1FE3D1, MSGBOX_DEFAULT
release
end
DewfordTown_House2_EventScript_1FE271:: @ 81FE271
msgbox DewfordTown_House2_Text_1FE444, 2
msgbox DewfordTown_House2_Text_1FE444, MSGBOX_NPC
end
DewfordTown_House2_Text_1FE27A: @ 81FE27A