summaryrefslogtreecommitdiff
path: root/data/scripts/hyruleTown/script_CutsceneMiscObjectCarlov.inc
blob: 7c5c6c1a39ed47c72319d816bbad462882f18429 (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
@ Hyrule Town CUTSCENE_ORCHESTRATOR at Carlov 2
SCRIPT_START script_CutsceneMiscObjectCarlov
	BeginBlock
	SetEntityPositionRelative 0x01f8, 0x00e0
	CheckLocalFlag 0x005e
	JumpIf script_080145E4
	EndBlock
script_080145C2:
	CheckRoomFlag 0x0005
	JumpIfNot script_080145C2
	SetPlayerIdle
	ClearRoomFlag 0x0005
.ifdef EU
	Wait 0x0018
	_0807E8E4_1
	SetAnimationState 0x0006
.else
	Wait 0x000c
	FaceAwayFromPlayer
.endif
	MessageFromTargetPos TEXT_CARLOV, 0x2e, 0x000c
	WaitUntilTextboxCloses
.ifdef EU
	Wait 0x0018
.endif
	EnablePlayerControl
	Jump script_080145C2
script_080145E4:
	EndBlock
SCRIPT_END