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
+2 -2
View File
@@ -89,7 +89,7 @@ SkyPillar_Top_EventScript_239785:: @ 8239785
removeobject VAR_LAST_TALKED
fadescreenswapbuffers 0
bufferspeciesname 0, VAR_0x8004
msgbox gUnknown_08273204, 4
msgbox gUnknown_08273204, MSGBOX_DEFAULT
releaseall
end
@@ -124,7 +124,7 @@ SkyPillar_Top_EventScript_23979A:: @ 823979A
applymovement 1, SkyPillar_Top_Movement_23984B
waitmovement 0
removeobject 1
msgbox SkyPillar_Top_Text_239860, 4
msgbox SkyPillar_Top_Text_239860, MSGBOX_DEFAULT
closemessage
delay 20
fadeinbgm 1