summaryrefslogtreecommitdiff
path: root/data/scripts/northHyruleField/script_Object69FixBridge.inc
blob: e7fca431019ae0e0950729e992fc033e7bbe924e (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
	SetPlayerIdle
	MoveEntityToPlayer
	CameraTargetEntity
	SetEntitySpeed 0x0200
	EndBlock
	Wait 0x000f
	_0807E8E4_2
	Call CreatePlayerExclamationMark
	Wait 0x001e
	_0807EDD4 0x00b8, 0x0258
	Wait 0x001e
	SetRoomFlag 0x0065
	Wait 0x0078
	_0807EEB4
	CameraTargetPlayer
	EnablePlayerControl
	DoPostScriptAction 0x0006
SCRIPT_END