summaryrefslogtreecommitdiff
path: root/data/scripts/script_0800B308.inc
blob: a283ba9168e2abf7dee7d09c3454775e4cd5af1d (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
SCRIPT_START script_0800B308
	BeginBlock 
.ifdef JP
	CheckLocalFlag 0x001e
.else
.ifdef EU
	CheckLocalFlag 0x001e
.else
	CheckLocalFlag 0x001d
.endif
.endif
	JumpIf script_0800B39C
	DoPostScriptAction 0x0001
	SetEntitySpeed 0x0040
	SetEntityDirection 0x0010
	CheckKinstoneFused 0x0006
	JumpIfNot script_0800B32C
	Call sub_080676D8
script_0800B32C:
	CheckKinstoneFused 0x0007
	JumpIfNot script_0800B33A
	Call sub_080676D8
script_0800B33A:
	CheckKinstoneFused 0x0008
	JumpIfNot script_0800B348
	Call sub_080676D8
script_0800B348:
	EndBlock 
	Call sub_0806757C
script_0800B350:
	EndBlock 
	WaitForSomething2 0x00000002
	PlaySound SFX_ITEM_BOMB_EXPLODE
	Call sub_080676D8
	Call sub_0806757C
	Call sub_080675D4
	Wait 0x0014
	BeginBlock 
	_0807E5F8 0x00000001
	CheckKinstoneFused 0x0006
	JumpIfNot script_0800B350
	CheckKinstoneFused 0x0007
	JumpIfNot script_0800B350
	CheckKinstoneFused 0x0008
	JumpIfNot script_0800B350
	EndBlock 
.ifdef JP
	SetLocalFlag 0x001e
.else
.ifdef EU
	SetLocalFlag 0x001e
.else
	SetLocalFlag 0x001d
.endif
.endif
	PlaySound SFX_SECRET
script_0800B39C:
	DoPostScriptAction 0x0006
SCRIPT_END
	.2byte 0x0000