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 committed 2018-12-02 03:37:46 -05:00
1 parent 145047d438
commit c557ac61ae
354 files changed
+4538 -4531

No files matched your search

+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