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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user