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
@@ -1,12 +1,12 @@
@ Ezlo talk after first ocarina travel
SCRIPT_START script_EzloTalkOcarina
EndBlock
_0807E864
Call sub_0807FA40
SetPlayerIdle
Call WaitForPlayerNormalOrTalkEzlo
Call sub_0807DF28
_0807EB28 0x0b5f
EzloMessage 0x0b5f
WaitUntilTextboxCloses
Call sub_0807DF50
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0006
SCRIPT_END
@@ -13,8 +13,8 @@ script_0800C5D6:
Jump script_0800C5D6
script_0800C5EA:
EndBlock
_0807E864
SetPlayerIdle
Call sub_08060270
WaitUntilTextboxCloses
_0807E878
EnablePlayerControl
Jump script_0800C5D6
@@ -7,23 +7,23 @@ script_08012368:
CheckLocalFlag 0x0004
JumpIfNot script_08012368
Call sub_0807DF28
_0807E864
SetPlayerIdle
StopBgm
BeginBlock
_0807E778 0x0004
SetFadeTime 0x0004
SetFadeMask 0x00007fff
DoFade5
_0807E858 0x0080
EndBlock
WaitForFadeFinish
PlayBgm BGM_ELEMENTAL_SANCTUARY
_0807EB28 0x1401
EzloMessage 0x1401
WaitUntilTextboxCloses
_0807EB44 0x0004
SetAnimationState 0x0004
DoPostScriptAction 0x0000
DoPostScriptAction 0x0007
PlaySound SFX_ELEMENT_FLOAT
SetEntity0x20 0xffff8000
SetEntityVelocity 0xffff8000
Wait 0x003c
_0807E8E4_0
StartPlayerScript script_PlayerAfterToD
@@ -31,22 +31,22 @@ script_08012368:
MessageNoOverlap 0x1402
WaitUntilTextboxCloses
StopBgm
SetEntity0x20 0x00010000
SetEntityVelocity 0x00010000
Wait 0x003c
BeginBlock
_0807E778 0x0004
SetFadeTime 0x0004
SetFadeMask 0xffffffff
DoFade4
_0807E858 0x0080
EndBlock
WaitForFadeFinish
PlayBGM
_0807EB28 0x1403
EzloMessage 0x1403
WaitUntilTextboxCloses
SetIntVariable 0x00000203
Call sub_0807F420
Call LoadMenu
Call sub_0807DF50
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0006
SCRIPT_END
.2byte 0x0000
@@ -1,6 +1,6 @@
@ After ToD OBJECT_69 Cutscene
SCRIPT_START script_Object69AfterToD
_0807E864
SetPlayerIdle
script_0800AFB2:
EndBlock
BeginBlock
@@ -9,11 +9,11 @@ script_0800AFB2:
JumpIfNot script_0800AFB2
EndBlock
Call sub_0807DF28
_0807EB28 0x1c04
EzloMessage 0x1c04
WaitUntilTextboxCloses
SetLocalFlagByBank 0x0100, 0x0004
Call sub_0807DF50
_0807E878
EnablePlayerControl
DoPostScriptAction 0x0006
SCRIPT_END
.2byte 0x0000
@@ -2,7 +2,7 @@
SCRIPT_START script_ShopwellsDog
BeginBlock
SetEntitySpeed 0x0100
_0807EB44 0x0004
SetAnimationState 0x0004
EndBlock
Wait 0x001e
PlaySound SFX_VO_DOG