summaryrefslogtreecommitdiff
path: root/data/scripts/graveyard/script_PlayerGetKeyStolen.inc
blob: bad5627b944edb233280a7638776db2a603e23a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@ Player when crow steals key
SCRIPT_START script_PlayerGetKeyStolen
	PlaySound SFX_PLY_VO6
	SetAnimationState 0x0004
	PlaySound SFX_86
	Call sub_0807F36C
	SetEntitySpeed 0x0400
	WalkWest 0x0004
	Call sub_0807F1E8
	Wait 0x001e
	SetSyncFlag 0x00000040
	WaitForSyncFlagAndClear 0x00000020
	PlaySound SFX_PLY_JUMP
	SetAnimationState 0x0004
	Call sub_0807F210
	_0807EF3C 0x0200, 0x0020
	DoPostScriptAction 0x0000
	SetSyncFlag 0x00000040
	Call SetPlayerActionNormal
SCRIPT_END
	.2byte 0x0000