summaryrefslogtreecommitdiff
path: root/data/scripts/hyruleTown/script_LibrariLater.inc
blob: 11a781b9179317e2cf3074d33fd8448fd9e47c7c (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
@ Librari at the lake
SCRIPT_START script_LibrariLater
	BeginBlock
	DoPostScriptAction 0x000a
	SetAnimationState 0x0004
	SetAnimation 0x0000
	EndBlock
script_08012440:
	CheckEntityInteractType
	JumpIfNot script_08012440
	SetPlayerIdle
	SetAnimation 0x0008
	Call WaitForAnimDone
	SetAnimation 0x0009
	Call sub_0806B2B4
	WaitUntilTextboxCloses
	CheckLocalFlag KHOUSE23_TALK1ST
	JumpIf script_08012474
	SetLocalFlag KHOUSE23_TALK1ST
	GivePlayerItem ITEM_HEART_CONTAINER
	WaitPlayerGetItem
.ifdef USA
	SetLocalFlag 0x00d0
.else
.ifdef DEMO_USA
	SetLocalFlag 0x00d0
.endif
.endif
script_08012474:
	EnablePlayerControl
	SetAnimation 0x0000
	Jump script_08012440
	.align 2, 0