label script functions

This commit is contained in:
theo3
2021-12-27 21:26:32 -08:00
parent ebaa6d76fa
commit c4f2efe132
525 changed files with 2621 additions and 2625 deletions
@@ -6,31 +6,31 @@ SCRIPT_START script_Object69Takeover
script_08015BF0:
CheckPlayerInRegion 0x0160, 0x0020, 0x3040
JumpIfNot script_08015BF0
_0807E864
Call sub_0807F9A4
SetPlayerIdle
Call WaitForPlayerNormal
Call sub_0807DF28
Call sub_0807FBC4
StartPlayerScript script_PlayerAtTakeover
WaitForSyncFlagAndClear 0x00000100
CameraTargetPlayer
_0807E778 0x0004
SetFadeTime 0x0004
_0807E80C 0x00000000
WaitForFadeFinish
StopBgm
Call sub_08053BE8
BeginBlock
_0807E864
SetPlayerIdle
Call sub_0807FBC4
CameraTargetPlayer
_0807E778 0x0100
SetFadeTime 0x0100
DoFade4
_0807E80C 0x00000000
EndBlock
_0807E778 0x0004
SetFadeTime 0x0004
_0807E800 0x00000000
WaitForFadeFinish
PlayBGM
_0807EB28 0x131f
EzloMessage 0x131f
WaitUntilTextboxCloses
.ifdef JP
SetLocalFlag 0x009b
@@ -47,7 +47,7 @@ script_08015BF0:
.endif
Call sub_0807FBCC
Call sub_0807DF50
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0006
SCRIPT_END
.2byte 0x0000