summaryrefslogtreecommitdiff
path: root/data/scripts/graveyard/script_Object69CrowStealingKey.inc
blob: 9c0bf816fea3f6407761695323a8aa7f8daf8611 (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
@ Graveyard OBJECT_69 Crow stealing key cutscene
SCRIPT_START script_Object69CrowStealingKey
	_0807E864
	Call sub_0807F9A4
	Call sub_0807DF28
	PlaySound SFX_1F3
	Call sub_0807F40C
	_0807E8E4_1
	Wait 0x000a
	_0807E8E4_3
	Wait 0x0032
	SetSyncFlag 0x00000002
	WaitForSyncFlagAndClear 0x00000004
	StartPlayerScript script_PlayerGetKeyStolen
	WaitForSyncFlagAndClear 0x00000040
	SetSyncFlag 0x00000008
	WaitForSyncFlagAndClear 0x00000010
	SetSyncFlag 0x00000020
	WaitForSyncFlagAndClear 0x00000040
	_0807F078 0x003c, 0x0000
	SetGlobalFlag 0x0020
	_0807E8E4_3
	Wait 0x001e
	_0807EB28 0x2809
	WaitUntilTextboxCloses
	Call sub_0807DF50
	_0807E878
	DoPostScriptAction 0x0006
SCRIPT_END