summaryrefslogtreecommitdiff
path: root/data/scripts/hyruleTown/script_Object69SimonsSimulation.inc
blob: 007610311bdcb72b47204c45b397caa2ab8e08c9 (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
@ Simons Simulation OBJECT_69
SCRIPT_START script_Object69SimonsSimulation
	BeginBlock
	_0807E888
	EndBlock
	CallWithArg sub_0806C2A0, 0x00000001
	WaitForFadeFinish
	Wait 0x003c
	_0807E878
	SetRoomFlag 0x0000
	PlayBgm BGM_FIGHT_THEME2
script_08011C04:
	CheckRoomFlag 0x0064
	JumpIfNot script_08011C04
	StopBgm
	_0807E864
	Wait 0x003c
	CameraTargetEntity
	Wait 0x003c
	Call Simon_CreateChest
	Wait 0x003c
	CameraTargetPlayer
	_0807E878
script_08011C28:
	CheckLocalFlag 0x0001
	JumpIfNot script_08011C28
	_0807E888
	WaitPlayerGetItem
	Wait 0x001e
	CallWithArg sub_0806C2A0, 0x00000000
	WaitForFadeFinish
	Wait 0x003c
	Call sub_0806C280
SCRIPT_END