summaryrefslogtreecommitdiff
path: root/data/scripts/northHyruleField/script_Object69FixBridge.inc
blob: 3dff4c45215f97627f45c6608a8697d606908b8b (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
@ Outside Caste OBJECT_69 Fix bridge
SCRIPT_START script_Object69FixBridge
	BeginBlock
.ifdef JP
	SetLocalFlag 0x008c
.else
.ifdef EU
	SetLocalFlag 0x008c
.else
.ifdef DEMO_JP
	SetLocalFlag 0x008c @ TODO deduplicate
.else
	SetLocalFlag 0x008e
.endif
.endif
.endif
	_0807E864
	MoveEntityToPlayer
	CameraTargetEntity
	SetEntitySpeed 0x0200
	EndBlock
	Wait 0x000f
	_0807E8E4_2
	Call sub_0807F3F8
	Wait 0x001e
	_0807EDD4 0x00b8, 0x0258
	Wait 0x001e
	SetRoomFlag 0x0065
	Wait 0x0078
	_0807EEB4
	CameraTargetPlayer
	_0807E878
	DoPostScriptAction 0x0006
SCRIPT_END