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,17 +6,17 @@ SootopolisCity_House1_EventScript_22694D:: @ 822694D
faceplayer
checkflag FLAG_0x079
goto_eq SootopolisCity_House1_EventScript_226984
msgbox SootopolisCity_House1_Text_2269A1, 4
msgbox SootopolisCity_House1_Text_2269A1, MSGBOX_DEFAULT
giveitem_std ITEM_TM31
compare VAR_RESULT, 0
goto_eq SootopolisCity_House1_EventScript_272054
setflag FLAG_0x079
msgbox SootopolisCity_House1_Text_226A13, 4
msgbox SootopolisCity_House1_Text_226A13, MSGBOX_DEFAULT
release
end
SootopolisCity_House1_EventScript_226984:: @ 8226984
msgbox SootopolisCity_House1_Text_226A13, 4
msgbox SootopolisCity_House1_Text_226A13, MSGBOX_DEFAULT
release
end
@@ -25,7 +25,7 @@ SootopolisCity_House1_EventScript_22698E:: @ 822698E
faceplayer
waitse
playmoncry SPECIES_KECLEON, 0
msgbox SootopolisCity_House1_Text_226A60, 4
msgbox SootopolisCity_House1_Text_226A60, MSGBOX_DEFAULT
waitmoncry
release
end