summaryrefslogtreecommitdiff
path: root/data/scripts/hyruleTown/script_GormanSecondHouse.inc
blob: cd0a269e19943dd70d80e04fc9c70b1d19a6db72 (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
@ Hyrule Town Gorman at second house
SCRIPT_START script_GormanSecondHouse
	BeginBlock
	SetAnimationState 0x0004
	DoPostScriptAction 0x0000
	DoPostScriptAction 0x000a
	_0807E9D4
	SetEntitySpeed 0x0040
	EndBlock
script_0800FDE2:
	Call sub_08069A60
script_0800FDE8:
	Call sub_0806991C
script_0800FDEE:
	EndBlock
	BeginBlock
	Call sub_08069ACC
	JumpIf script_0800FE06
	MoveTowardsTarget
	JumpIfNot script_0800FDEE
	Jump script_0800FDE2
script_0800FE06:
	EndBlock
	SetAnimationState 0x0002
	DoPostScriptAction 0x0000
	Wait 0x001e
	SetAnimationState 0x0006
	DoPostScriptAction 0x0000
	Wait 0x001e
	SetAnimationState 0x0002
	DoPostScriptAction 0x0000
	Wait 0x001e
	SetAnimationState 0x0006
	DoPostScriptAction 0x0000
	Wait 0x003c
	Call sub_08069A3C
	Jump script_0800FDE8
	.2byte 0x0000