summaryrefslogtreecommitdiff
path: root/data/scripts/script_08008D8C.inc
blob: e92f7fbbcb91731952a6a3dd21f507f77cfe5cf6 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
SCRIPT_START script_08008D8C
	BeginBlock 
	Call sub_08061FD8
	Call sub_08061E70
	DoPostScriptAction 0x000a
	EndBlock 
script_08008DA0:
	CheckEntityInteractType 
	JumpIfNot script_08008DA0
	_0807E864 
	_0807EB74 
	Call sub_08061FD8
	Call sub_08062048
	_0807EA94 
	_0807E878 
	Jump script_08008DA0
	.2byte 0x0000
SCRIPT_START script_08008DC0
	BeginBlock 
	_0807E9D4 
	DoPostScriptAction 0x000a
	_0807EB44 0x0004
	CallWithArg sub_0807F3D8, 0x00000000
	EndBlock 
script_08008DD8:
	CheckEntityInteractType 
	JumpIfNot script_08008DD8
	_0807E864 
	_0807EB74 
	CallWithArg sub_0807F3D8, 0x00000000
	Call sub_080643D8
	_0807EA94 
	_0807E878 
	_0807EB44 0x0004
	CallWithArg sub_0807F3D8, 0x00000000
	Jump script_08008DD8
SCRIPT_START script_08008E08
	BeginBlock 
	SetEntityPositionRelative 0x0088, 0x0078
	EndBlock 
script_08008E12:
	CheckPlayerInRegion 0x00d8, 0x0098, 0x4020
	JumpIfNot script_08008E12
	_0807E864 
	Call sub_0807F9A4
	Call sub_0807DF28
	_0807F0B4 0x0001
	CameraTargetEntity 
	WaitForPlayerAction0x17 
	Wait 0x003c
	StartPlayerScript script_08008F74
	WaitForSomething2 0x00000020
	_0807E5F8 0x00000001
	WaitForSomething2 0x00000002
	_0807E5F8 0x00000001
	WaitForSomething2 0x00000002
	Wait 0x003c
	_0807E5F8 0x00000080
	WaitForSomething2 0x00000100
	_0807E5F8 0x00000001
	WaitForSomething2 0x00000002
	Wait 0x000f
	_0807E5F8 0x00000080
	WaitForSomething2 0x00000100
	_0807E5F8 0x00000004
	WaitForSomething2 0x00000008
	TextboxNoOverlapFollowPos 0x1053, 0x000e
	_0807EA94 
	_0807E5F8 0x00000080
	WaitForSomething2 0x00000100
	_0807E5F8 0x00000080
	WaitForSomething2 0x00000100
	_0807E5F8 0x00000004
	WaitForSomething2 0x00000008
	_0807E5F8 0x00000001
	WaitForSomething2 0x00000002
	_0807E5F8 0x00000080
	WaitForSomething2 0x00000100
	_0807E5F8 0x00000040
	WaitForSomething2 0x00000020
	_0807E5F8 0x00000001
	WaitForSomething2 0x00000002
	_0807F034 0x0035
	WaitPlayerAction8 
	StartPlayerScript script_08008FC0
	WaitForSomething2 0x00000020
	_0807E8E4_0 
	_0807E5F8 0x00000080
	WaitForSomething2 0x00000100
	_0807E5F8 0x00000010
	Wait 0x0078
	_0807E5F8 0x00000080
	WaitForSomething2 0x00000100
	_0807E8E4_1 
	_0807E5F8 0x00000001
	WaitForSomething2 0x00000002
	_0807F034 0x0047
	WaitPlayerAction8 
	SetIntVariable 0x00000003
	Call sub_0807F420
	_0807E8E4_0 
	_0807E5F8 0x00000080
	WaitForSomething2 0x00000100
	_0807F0B4 0x0004
	CameraTargetPlayer 
	SetGlobalFlag 0x0015
	Call sub_0806DCC0
	Call sub_0807DF50
	_0807E878 
	DoPostScriptAction 0x0006
SCRIPT_END
	.2byte 0x0000