summaryrefslogtreecommitdiff
path: root/data/scripts/hyruleTown/script_CarlovChest.inc
blob: b0cc0227127ac3f35a74cd6513086acd339cfe71 (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
@ Hyrule Town Picolyte Bottle object in Carlov Chest room
SCRIPT_START script_CarlovChest
	BeginBlock
	EndBlock
script_080148F4:
	CheckRoomFlag 0x0000
	JumpIfNot script_080148F4
	ClearRoomFlag 0x0000
	Call sub_0806E140
	JumpIfNot script_08014932
	WaitUntilTextboxCloses
	CheckTextboxResult
	JumpIfNot script_08014938
	SetPlayerIdle
	SetSyncFlag 0x00000001
	WaitForSyncFlagAndClear 0x00000002
	Call sub_0806E1E0
	WaitUntilTextboxCloses
	Wait 0x0018
	EnablePlayerControl
	Jump script_080148F4
script_08014932:
	WaitUntilTextboxCloses
	Jump script_08014938
script_08014938:
	SetSyncFlag 0x00000004
	WaitForSyncFlagAndClear 0x00000008
	Call sub_0806E1FC
	Wait 0x001e
	Call EnablePauseMenu
SCRIPT_END
	.2byte 0x0000