summaryrefslogtreecommitdiff
path: root/data/scripts/lakeHylia/script_KingGustafHologram.inc
blob: 0c3d6af781f7323e679b747a70a4641a3727e7b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
@ After ToD King Gustaf
SCRIPT_START script_KingGustafHologram
	BeginBlock
	DoPostScriptAction 0x0008
	EndBlock
script_08012368:
	CheckLocalFlag 0x0004
	JumpIfNot script_08012368
	Call DisablePauseMenuAndPutAwayItems
	SetPlayerIdle
	StopBgm
	BeginBlock
	SetFadeTime 0x0004
	SetFadeMask 0x00007fff
	SetFade5
	_0807E858 0x0080
	EndBlock
	WaitForFadeFinish
	PlayBgm BGM_ELEMENTAL_SANCTUARY
	EzloMessage TEXT_GUSTAF, 0x01
	WaitUntilTextboxCloses
	SetAnimationState 0x0004
	DoPostScriptAction 0x0000
	DoPostScriptAction 0x0007
	PlaySound SFX_ELEMENT_FLOAT
	SetEntityVelocity 0xffff8000
	Wait 0x003c
	_0807E8E4_0
	StartPlayerScript script_PlayerAfterToD
	WaitForSyncFlagAndClear 0x00000001
	MessageNoOverlap TEXT_GUSTAF, 0x02
	WaitUntilTextboxCloses
	StopBgm
	SetEntityVelocity 0x00010000
	Wait 0x003c
	BeginBlock
	SetFadeTime 0x0004
	SetFadeMask 0xffffffff
	SetFade4
	_0807E858 0x0080
	EndBlock
	WaitForFadeFinish
	PlayBGM
	EzloMessage TEXT_GUSTAF, 0x03
	WaitUntilTextboxCloses
	SetIntVariable 0x00000203
	Call LoadMenu
	Call EnablePauseMenu
	EnablePlayerControl
	DoPostScriptAction 0x0006
SCRIPT_END
	.2byte 0x0000