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

View File

@@ -40,7 +40,7 @@ SkyPillar_Outside_EventScript_239304:: @ 8239304
waitmovement 0
applymovement 255, SkyPillar_Outside_Movement_2725A4
waitmovement 0
msgbox SkyPillar_Outside_Text_239416, 4
msgbox SkyPillar_Outside_Text_239416, MSGBOX_DEFAULT
closemessage
delay 30
setvar VAR_0x8004, 1
@@ -50,7 +50,7 @@ SkyPillar_Outside_EventScript_239304:: @ 8239304
special sub_8139560
waitstate
delay 40
msgbox SkyPillar_Outside_Text_2394BC, 4
msgbox SkyPillar_Outside_Text_2394BC, MSGBOX_DEFAULT
closemessage
applymovement 255, SkyPillar_Outside_Movement_2393EB
applymovement 1, SkyPillar_Outside_Movement_2393DE
@@ -71,7 +71,7 @@ SkyPillar_Outside_EventScript_239304:: @ 8239304
applymovement 1, SkyPillar_Outside_Movement_2725AA
waitmovement 0
delay 30
msgbox SkyPillar_Outside_Text_23950C, 4
msgbox SkyPillar_Outside_Text_23950C, MSGBOX_DEFAULT
closemessage
setflag FLAG_SYS_WEATHER_CTRL
setweather 15
@@ -79,7 +79,7 @@ SkyPillar_Outside_EventScript_239304:: @ 8239304
special WaitWeather
waitstate
delay 30
msgbox SkyPillar_Outside_Text_23953A, 4
msgbox SkyPillar_Outside_Text_23953A, MSGBOX_DEFAULT
closemessage
playse SE_KAIDAN
fadescreenswapbuffers 1
@@ -138,7 +138,7 @@ SkyPillar_Outside_EventScript_2393F8:: @ 82393F8
end
SkyPillar_Outside_EventScript_2393F9:: @ 82393F9
msgbox SkyPillar_Outside_Text_239402, 3
msgbox SkyPillar_Outside_Text_239402, MSGBOX_SIGN
end
SkyPillar_Outside_Text_239402: @ 8239402