summaryrefslogtreecommitdiff
path: root/data/scripts/sanctuary/script_PlayerPickUpSword.inc
blob: fff8a0634d94e2300d0ecf3f437254a4a4ef7f4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@ Player at Sanctuary pick up sword
SCRIPT_START script_PlayerPickUpSword
	PlaySound SFX_1D3
	CallWithArg SetPlayerAnimation2, ANIM_GET_NEW_SWORD
	Call sub_08096028
	Wait 0x003c
	SetSyncFlag 0x00020000
	Call WaitForPlayerAnim
	Wait 0x0078
	WaitForSyncFlagAndClear 0x00040000
	Call SetPlayerActionNormal
SCRIPT_END
	.2byte 0x0000