summaryrefslogtreecommitdiff
path: root/data/scripts/hyruleTown/script_SturgeonAllBooksCollected.inc
blob: bebab8d5c4446620f027f5f970ddffcab8f5d078 (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
53
54
55
@ Library Sturgeon all books collected
SCRIPT_START script_SturgeonAllBooksCollected
	BeginBlock
	SetEntityPositionRelative 0x0068, 0x0018
	DoPostScriptAction 0x000f
	SetAnimationState 0x0004
	SetAnimation 0x0004
	SetEntitySpeed 0x0300
	PlaySound SFX_STAIRS
	EndBlock
	WaitForSyncFlag 0x00000002
	MessageNoOverlap TEXT_LIBRARY, 0x0d
	WaitUntilTextboxCloses
	DoPostScriptAction 0x0007
	Call sub_08064D08
	MoveTo 0x0068, 0x0078
	Call sub_08064D10
	Wait 0x000f
	SetAnimationState 0x0002
	Wait 0x000f
	Call sub_08064D08
	MoveTo 0x0098, 0x0078
	Call sub_08064D10
	Wait 0x000f
	SetAnimationState 0x0004
	PlaySound SFX_PLY_LIFT
	Wait 0x000f
	SetAnimationState 0x0002
	MoveTo 0x00ac, 0x0078
	Wait 0x000f
	SetAnimationState 0x0004
	PlaySound SFX_PLY_LIFT
	Wait 0x000f
	SetAnimationState 0x0002
	MoveTo 0x00c0, 0x0078
	Wait 0x000f
	SetAnimationState 0x0004
	PlaySound SFX_PLY_LIFT
	Wait 0x000f
	SetAnimationState 0x0006
	Wait 0x001e
	Call sub_08064D08
	MoveTo 0x0068, 0x0078
	Call sub_08064D10
	Wait 0x000f
	SetAnimationState 0x0000
	Wait 0x000f
	Call sub_08064D08
	MoveTo 0x0068, 0x0018
	Call sub_08064D10
	PlaySound SFX_STAIRS
	SetSyncFlag 0x00000001
	DoPostScriptAction 0x0006
SCRIPT_END
	.2byte 0x0000