summaryrefslogtreecommitdiff
path: root/data/scripts/dhc/script_CutsceneOrchestratorVaatiWithZelda.inc
blob: f6743f5bbb392a10880d03b590ac22318788c70c (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
@ DHC CUTSCENE_ORCHESTRATOR Vaati with Zelda
SCRIPT_START script_CutsceneOrchestratorVaatiWithZelda
	BeginBlock
	EndBlock
script_0800DA64:
	CheckPlayerInRegion 0x0078, 0x0148, 0x4040
	JumpIfNot script_0800DA64
	SetPlayerIdle
	Call WaitForPlayerNormal
	Call DisablePauseMenuAndPutAwayItems
	_0807E8E4_0
	Call CreatePlayerExclamationMark
	Wait 0x003c
	SetScrollSpeed 4
	SetEntityPositionRelative 0x0078, 0x0080
	CameraTargetEntity
	Call WaitForCameraTouchRoomBorder
	SetSyncFlag 0x00000001
	WaitForSyncFlagAndClear 0x00000002
	MessageFromTargetPos TEXT_VAATI2, 0x2d, 0x0002
	WaitUntilTextboxCloses
	SetSyncFlag 0x00000001
	Wait 0x001e
	MessageFromTargetPos TEXT_VAATI2, 0x2e, 0x0002
	WaitUntilTextboxCloses
	_0807E8E4_0
	CallWithArg SetPlayerPos, 0x00780138
	SetScrollSpeed 4
	CameraTargetPlayer
	Call WaitForCameraTouchRoomBorder
	SetRoomFlag 0x0000
	Call CreatePlayerQuestionMark
	Wait 0x001e
	_0807E8E4_1
	Wait 0x000a
	_0807E8E4_3
	Wait 0x000a
	_0807E8E4_2
	Call CreatePlayerExclamationMark
	Wait 0x003c
	SetRoomFlag 0x0001
	SetLocalFlag 0x0077
	Call EnablePauseMenu
	EnablePlayerControl
	DoPostScriptAction 0x0006
SCRIPT_END
	.2byte 0x0000