mirror of
https://github.com/zeldaret/tmc
synced 2026-08-22 06:44:55 -04:00
Fade documentation
This commit is contained in:
@@ -7,7 +7,7 @@ SCRIPT_START script_IntroCameraTarget
|
||||
PlayBgm BGM_MINISH_CAP
|
||||
SetFadeTime 0x0002
|
||||
@ Fade in
|
||||
DoFade4
|
||||
SetFade4
|
||||
WaitForFadeFinish @ TODO wait for fade to be finished
|
||||
Wait 0x0078
|
||||
SetSyncFlag 0x00000004
|
||||
|
||||
@@ -8,7 +8,7 @@ SCRIPT_START script_Npc4EOutsideLinksHouse
|
||||
Call sub_0807DF28
|
||||
EndBlock
|
||||
SetFadeTime 0x0010
|
||||
DoFade6
|
||||
SetFade6
|
||||
WaitForFadeFinish
|
||||
SetSyncFlag 0x00000001
|
||||
WaitForSyncFlagAndClear 0x00000002
|
||||
|
||||
@@ -32,7 +32,7 @@ SCRIPT_START script_SmithIntro
|
||||
DoPostScriptAction 0x0000
|
||||
Wait 0x001e
|
||||
SetFadeTime 0x0002
|
||||
DoFade5
|
||||
SetFade5
|
||||
WaitForFadeFinish
|
||||
Call sub_08053634
|
||||
SCRIPT_END
|
||||
|
||||
@@ -12,7 +12,7 @@ SCRIPT_START script_ZeldaLeaveLinksHouse
|
||||
_0807EDD4 0x0078, 0x0098
|
||||
DoPostScriptAction 0x0008
|
||||
SetFadeTime 0x0010
|
||||
DoFade5
|
||||
SetFade5
|
||||
WaitForFadeFinish
|
||||
Call sub_08053634
|
||||
DoPostScriptAction 0x0006
|
||||
|
||||
@@ -19,7 +19,7 @@ SCRIPT_START script_PlayerWakingUpInHyruleCastle
|
||||
EndBlock
|
||||
Wait 0x003c
|
||||
SetFadeTime 0x0004
|
||||
DoFade4
|
||||
SetFade4
|
||||
WaitForFadeFinish
|
||||
script_08009EA4:
|
||||
Call CheckAnyKeyPressed
|
||||
|
||||
@@ -14,7 +14,7 @@ SCRIPT_START script_Npc4EMonsters
|
||||
SetSyncFlag 0x00800000
|
||||
WaitForSyncFlagAndClear 0x01000000
|
||||
SetFadeTime 0x0004
|
||||
DoFade7
|
||||
SetFade7
|
||||
WaitForFadeFinish
|
||||
Wait 0x003c
|
||||
PlaySound SFX_SPIRITS_RELEASE
|
||||
@@ -23,7 +23,7 @@ SCRIPT_START script_Npc4EMonsters
|
||||
SetSyncFlag 0x00000010
|
||||
WaitForSyncFlagAndClear 0x00000020
|
||||
SetFadeTime 0x0002
|
||||
DoFade6
|
||||
SetFade6
|
||||
WaitForFadeFinish
|
||||
CallWithArg DeleteManager36, 0x00000002
|
||||
_0807F0C8 0x0000, 0x0000
|
||||
|
||||
@@ -18,7 +18,7 @@ SCRIPT_START script_Npc4EIntroCastle
|
||||
WaitUntilTextboxCloses
|
||||
StopBgm
|
||||
SetFadeTime 0x0004
|
||||
DoFade5
|
||||
SetFade5
|
||||
WaitForFadeFinish
|
||||
Call sub_08064180
|
||||
Call sub_08064180
|
||||
@@ -39,7 +39,7 @@ SCRIPT_START script_Npc4EIntroCastle
|
||||
Wait 0x000a
|
||||
_0807F0B4 0x0001
|
||||
SetFadeTime 0x0001
|
||||
DoFade4
|
||||
SetFade4
|
||||
SetSyncFlag 0x0002a800
|
||||
WaitForSyncFlagAndClear 0x00055000
|
||||
SetEntityPositionRelative 0x01f8, 0x0078
|
||||
|
||||
@@ -19,7 +19,7 @@ SCRIPT_START script_Npc4EIntroTown
|
||||
SetEntityPositionRelative 0x00c8, 0x0148
|
||||
Call sub_0807F844
|
||||
SetFadeTime 0x0002
|
||||
DoFade6
|
||||
SetFade6
|
||||
WaitForFadeFinish
|
||||
StartPlayerScript script_PlayerIntro1
|
||||
SetSyncFlag 0x00000002
|
||||
|
||||
@@ -20,7 +20,7 @@ SCRIPT_START script_Object69CameraTarget
|
||||
WaitForSyncFlagAndClear 0x00001000
|
||||
StopBgm
|
||||
SetFadeTime 0x0004
|
||||
DoFade5
|
||||
SetFade5
|
||||
WaitForFadeFinish
|
||||
SetRoomFlag 0x0001
|
||||
DoPostScriptAction 0x0006
|
||||
|
||||
@@ -7,7 +7,7 @@ SCRIPT_START script_Object69MinishVaati
|
||||
EndBlock
|
||||
PlayBgm BGM_EZLO_STORY
|
||||
SetFadeTime 0x0004
|
||||
DoFade4
|
||||
SetFade4
|
||||
WaitForFadeFinish
|
||||
Wait 0x003c
|
||||
SetSyncFlag 0x00000080
|
||||
|
||||
@@ -135,7 +135,7 @@ script_08015104:
|
||||
_0807F0B4 0x0004
|
||||
CameraTargetEntity
|
||||
SetFadeTime 0x0100
|
||||
DoFade4
|
||||
SetFade4
|
||||
_0807E80C 0x00000000
|
||||
EndBlock
|
||||
StartPlayerScript script_PlayerSeenOriginStory
|
||||
|
||||
@@ -54,7 +54,7 @@ SCRIPT_START script_Npc4EMinishPortalClosing
|
||||
Call sub_0808D280
|
||||
Wait 0x0078
|
||||
SetFadeTime 0x0004
|
||||
DoFade5
|
||||
SetFade5
|
||||
WaitForFadeFinish
|
||||
Call sub_0807FB94 @ Roll Credits
|
||||
MoveEntityToPlayer
|
||||
@@ -62,7 +62,7 @@ SCRIPT_START script_Npc4EMinishPortalClosing
|
||||
_0807F0B4 0x0004
|
||||
CameraTargetPlayer
|
||||
SetSyncFlag 0x80000000
|
||||
DoFade4
|
||||
SetFade4
|
||||
WaitForFadeFinish
|
||||
Call sub_0807DF50
|
||||
EnablePlayerControl
|
||||
|
||||
@@ -9,12 +9,12 @@ SCRIPT_START script_Npc4EUnfreezeCastleStaff
|
||||
Wait 0x003c
|
||||
PlaySound SFX_EVAPORATE
|
||||
SetFadeTime 0x0004
|
||||
DoFade7
|
||||
SetFade7
|
||||
WaitForFadeFinish
|
||||
SetSyncFlag 0x00000001
|
||||
PlaySound SFX_APPARATE
|
||||
SetFadeTime 0x0002
|
||||
DoFade6
|
||||
SetFade6
|
||||
WaitForFadeFinish
|
||||
Wait 0x001e
|
||||
SetSyncFlag 0x00000002
|
||||
|
||||
@@ -12,7 +12,7 @@ SCRIPT_START script_Object3EPictureBackRoom
|
||||
StartPlayerScript script_PlayerMoveToPicture
|
||||
WaitForSyncFlagAndClear 0x00000002
|
||||
SetFadeTime 0x0004
|
||||
DoFade5
|
||||
SetFade5
|
||||
WaitForFadeFinish
|
||||
LoadRoomEntityList gUnk_080F5680
|
||||
StartPlayerScript script_PlayerSanctuaryIntro
|
||||
@@ -45,7 +45,7 @@ SCRIPT_START script_Object3EPictureBackRoom
|
||||
WaitForSyncFlagAndClear 0x00000040
|
||||
SetFadeMask 0xffff7fff
|
||||
SetFadeTime 0x0004
|
||||
DoFade5
|
||||
SetFade5
|
||||
WaitForFadeFinish
|
||||
StopBgm
|
||||
_0807E858 0x0000
|
||||
@@ -56,7 +56,7 @@ SCRIPT_START script_Object3EPictureBackRoom
|
||||
WaitUntilTextboxCloses
|
||||
SetFadeMask 0xffffffff
|
||||
SetFadeTime 0x0004
|
||||
DoFade4
|
||||
SetFade4
|
||||
WaitForFadeFinish
|
||||
SetSyncFlag 0x00000004
|
||||
WaitForSyncFlagAndClear 0x00000002
|
||||
|
||||
@@ -23,7 +23,7 @@ script_08015BF0:
|
||||
Call sub_0807FBC4
|
||||
CameraTargetPlayer
|
||||
SetFadeTime 0x0100
|
||||
DoFade4
|
||||
SetFade4
|
||||
_0807E80C 0x00000000
|
||||
EndBlock
|
||||
SetFadeTime 0x0004
|
||||
|
||||
@@ -6,7 +6,7 @@ SCRIPT_START script_Object69TakeoverCutscene
|
||||
CameraTargetEntity
|
||||
EndBlock
|
||||
SetFadeTime 0x0004
|
||||
DoFade4
|
||||
SetFade4
|
||||
WaitForFadeFinish
|
||||
Wait 0x003c
|
||||
_0807F0B4 0x0004
|
||||
@@ -39,14 +39,14 @@ SCRIPT_START script_Object69TakeoverCutscene
|
||||
SetSyncFlag 0x00000010
|
||||
WaitForSyncFlagAndClear 0x00000020
|
||||
SetFadeTime 0x0004
|
||||
DoFade5
|
||||
SetFade5
|
||||
WaitForFadeFinish
|
||||
SetSyncFlag 0x00000010
|
||||
LoadRoomEntityList gUnk_080FCE30
|
||||
StopBgm
|
||||
Wait 0x0078
|
||||
SetFadeTime 0x0004
|
||||
DoFade4
|
||||
SetFade4
|
||||
WaitForFadeFinish
|
||||
PlayBgm BGM_DIGGING_CAVE
|
||||
SetSyncFlag 0x00000040
|
||||
@@ -60,7 +60,7 @@ SCRIPT_START script_Object69TakeoverCutscene
|
||||
SetSyncFlag 0x00000004
|
||||
WaitForSyncFlagAndClear 0x00000008
|
||||
SetFadeTime 0x0004
|
||||
DoFade5
|
||||
SetFade5
|
||||
WaitForFadeFinish
|
||||
StopBgm
|
||||
SetRoomFlag 0x0000
|
||||
|
||||
@@ -18,7 +18,7 @@ script_0800A0FE:
|
||||
CallWithArg sub_08094AE8, script_Object6AV3DefeatedMinishCap
|
||||
PlaySound SFX_APPARATE
|
||||
SetFadeTime 0x0002
|
||||
DoFade6
|
||||
SetFade6
|
||||
EndBlock
|
||||
WaitForFadeFinish
|
||||
WaitForSyncFlagAndClear 0x00000004
|
||||
|
||||
@@ -41,10 +41,10 @@ script_0800B698:
|
||||
WaitUntilTextboxCloses
|
||||
script_0800B6A6:
|
||||
SetFadeTime 0x0004
|
||||
DoFade7
|
||||
SetFade7
|
||||
WaitForFadeFinish
|
||||
Call sub_080873FC
|
||||
DoFade6
|
||||
SetFade6
|
||||
WaitForFadeFinish
|
||||
CameraTargetPlayer
|
||||
Wait 0x001e
|
||||
|
||||
@@ -42,7 +42,7 @@ script_080101AC:
|
||||
WaitUntilTextboxCloses
|
||||
StopBgm
|
||||
SetFadeTime 0x0004
|
||||
DoFade5
|
||||
SetFade5
|
||||
WaitForFadeFinish
|
||||
CallWithArg SetPlayerPos, 0x03400378
|
||||
Call SetPlayerActionNormal
|
||||
@@ -57,7 +57,7 @@ script_080101AC:
|
||||
CameraTargetPlayer
|
||||
EndBlock
|
||||
SetFadeTime 0x0004
|
||||
DoFade4
|
||||
SetFade4
|
||||
WaitForFadeFinish
|
||||
PlayBGM
|
||||
Call sub_080A13B4
|
||||
|
||||
@@ -7,7 +7,7 @@ SCRIPT_START script_PlayerSleepingInn
|
||||
EndBlock
|
||||
Wait 0x003c
|
||||
SetFadeTime 0x0004
|
||||
DoFade4
|
||||
SetFade4
|
||||
WaitForFadeFinish
|
||||
script_08010A78:
|
||||
Call CheckAnyKeyPressed
|
||||
|
||||
@@ -12,7 +12,7 @@ script_08012368:
|
||||
BeginBlock
|
||||
SetFadeTime 0x0004
|
||||
SetFadeMask 0x00007fff
|
||||
DoFade5
|
||||
SetFade5
|
||||
_0807E858 0x0080
|
||||
EndBlock
|
||||
WaitForFadeFinish
|
||||
@@ -36,7 +36,7 @@ script_08012368:
|
||||
BeginBlock
|
||||
SetFadeTime 0x0004
|
||||
SetFadeMask 0xffffffff
|
||||
DoFade4
|
||||
SetFade4
|
||||
_0807E858 0x0080
|
||||
EndBlock
|
||||
WaitForFadeFinish
|
||||
|
||||
@@ -31,10 +31,10 @@ script_0800B7A2:
|
||||
MessageNoOverlap 0x0590
|
||||
WaitUntilTextboxCloses
|
||||
SetFadeTime 0x0010
|
||||
DoFade7
|
||||
SetFade7
|
||||
WaitForFadeFinish
|
||||
ModHealth 0x00a0
|
||||
DoFade6
|
||||
SetFade6
|
||||
WaitForFadeFinish
|
||||
MessageNoOverlap 0x057f
|
||||
WaitUntilTextboxCloses
|
||||
|
||||
@@ -58,13 +58,13 @@ script_080134F8:
|
||||
Call WaitForPlayerFrameHiBit
|
||||
Wait 0x003c
|
||||
SetFadeTime 0x0004
|
||||
DoFade7
|
||||
SetFade7
|
||||
PlaySound SFX_EVAPORATE
|
||||
WaitForFadeFinish
|
||||
Wait 0x003c
|
||||
SetSyncFlag 0x00000010
|
||||
SetFadeTime 0x0002
|
||||
DoFade6
|
||||
SetFade6
|
||||
WaitForFadeFinish
|
||||
PlaySound SFX_109
|
||||
MessageFromTargetPos 0x0503, 0x000c
|
||||
|
||||
@@ -61,13 +61,13 @@ script_0801373C:
|
||||
Call WaitForPlayerFrameHiBit
|
||||
Wait 0x003c
|
||||
SetFadeTime 0x0004
|
||||
DoFade7
|
||||
SetFade7
|
||||
PlaySound SFX_EVAPORATE
|
||||
WaitForFadeFinish
|
||||
Wait 0x003c
|
||||
SetSyncFlag 0x00000010
|
||||
SetFadeTime 0x0002
|
||||
DoFade6
|
||||
SetFade6
|
||||
WaitForFadeFinish
|
||||
PlaySound SFX_109
|
||||
MessageFromTargetPos 0x0504, 0x000c
|
||||
|
||||
@@ -66,13 +66,13 @@ script_080138D0:
|
||||
Call WaitForPlayerFrameHiBit
|
||||
Wait 0x003c
|
||||
SetFadeTime 0x0004
|
||||
DoFade7
|
||||
SetFade7
|
||||
PlaySound SFX_EVAPORATE
|
||||
WaitForFadeFinish
|
||||
Wait 0x003c
|
||||
SetSyncFlag 0x00000010
|
||||
SetFadeTime 0x0002
|
||||
DoFade6
|
||||
SetFade6
|
||||
WaitForFadeFinish
|
||||
PlaySound SFX_109
|
||||
MessageFromTargetPos 0x0505, 0x000c
|
||||
|
||||
@@ -13,7 +13,7 @@ script_08009DF0:
|
||||
JumpIfNot script_08009E4E
|
||||
Call sub_0807DF28
|
||||
SetFadeTime 0x0002
|
||||
DoFade5
|
||||
SetFade5
|
||||
WaitForFadeFinish
|
||||
Call sub_0804E864
|
||||
Wait 0x001e
|
||||
|
||||
@@ -5,7 +5,7 @@ SCRIPT_START script_PlayerWakeAfterRest
|
||||
EndBlock
|
||||
WaitForSyncFlagAndClear 0x00000002
|
||||
SetFadeTime 0x0002
|
||||
DoFade4
|
||||
SetFade4
|
||||
WaitForFadeFinish
|
||||
DoPostScriptAction 0x0014
|
||||
Wait 0x001e
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
SCRIPT_START script_08016482
|
||||
FadeInvert
|
||||
Nop2 0x0080
|
||||
DoFade4
|
||||
DoFade5
|
||||
DoFade6
|
||||
DoFade7
|
||||
SetFade4
|
||||
SetFade5
|
||||
SetFade6
|
||||
SetFade7
|
||||
_0807E800 0x00000000
|
||||
_0807E80C 0x00000000
|
||||
_0807E858_0
|
||||
|
||||
Reference in New Issue
Block a user