summaryrefslogtreecommitdiff
path: root/data/scripts/script_080157AC.inc
blob: 57f353dc62ac5f707ceb03bc4d77af61cfd63e90 (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
SCRIPT_START script_080157AC
	CheckPlayerInRegion 0x01f8, 0x0310, 0x2020
	JumpIfNot script_080157AC
	_0807E864 
	Call sub_0807F9A4
	Call sub_0807DF28
	_0807E5F8 0x00000001
	WaitForSomething2 0x00000002
	Call sub_0807DF50
	_0807E878 
script_080157DA:
	CheckPlayerInRegion 0x0250, 0x0230, 0x3040
	JumpIfNot script_080157DA
	_0807E864 
	Call sub_0807F9A4
	Call sub_0807DF28
	Call sub_0807F3F8
	Wait 0x003c
	_0807E5F8 0x00000001
	WaitForSomething2 0x00000002
	StartPlayerScript script_080158F8
	_0807F0B4 0x0001
	SetEntityPositionRelative 0x0248, 0x0218
	CameraTargetEntity 
	Call sub_0807F5C0
	WaitForSomething2 0x00000010
	_0807E5F8 0x00000008
	WaitForSomething2 0x00000020
	_0807E5F8 0x00000001
	WaitForSomething2 0x00000002
	StartPlayerScript script_08015918
	WaitForSomething2 0x00000010
	_0807E5F8 0x00000001
	WaitForSomething2 0x00000002
	TextboxNoOverlapFollowPos 0x1066, 0x0002
	_0807EA94 
	_0807E5F8 0x00000001
	WaitForSomething2 0x00000002
	Call sub_0807DF50
	_0807E878 
	Call sub_08066F94
	_0807E5F8 0x00000008
script_08015880:
	CheckRoomFlag 0x0000
	JumpIfNot script_08015880
script_08015888:
	_0807EA94 
	ComparePlayerAction 0x001c
	JumpIf script_08015888
	_0807E864 
	Call sub_0807DF28
	_0807F0B4 0x0002
	SetEntityPositionRelative 0x0248, 0x0208
	CameraTargetEntity 
	StartPlayerScript script_08015938
	WaitForSomething2 0x00000010
	TextboxNoOverlapFollowPos 0x106a, 0x000c
	_0807EA94 
	_0807E5F8 0x00000008
	Wait 0x0078
	_0807E8E4_2 
	TextboxNoOverlapFollowPos 0x1068, 0x0002
	_0807EA94 
	_0807E5F8 0x00000001
	WaitForSomething2 0x00000002
.ifdef JP
	SetLocalFlag 0x0089
.else
.ifdef EU
	SetLocalFlag 0x0089
.else
	SetLocalFlag 0x008b
.endif
.endif
	Call sub_08066FB8
	Call sub_0807DF50
	_0807E878 
	_0807F0B4 0x0004
	CameraTargetPlayer 
	DoPostScriptAction 0x0006
SCRIPT_END