summaryrefslogtreecommitdiff
path: root/data/scripts/cutscene/takeover/script_PlayerAtTakeover.inc
blob: 2a585822ce1bcd931333a98a9c93d93f68a659c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@ Player at Western Wood Cutscene
SCRIPT_START script_PlayerAtTakeover
	BeginBlock
	SetEntitySpeed 0x0080
	EndBlock
	DoPostScriptAction 0x0001
	MoveTo 0x0168, 0x0058
	SetAnimationState 0x0004
	DoPostScriptAction 0x0000
	CallWithArg SetPlayerAnimation2, ANIM_EZLO_SEARCH
	Call WaitForPlayerAnim
	MessageFromTargetPos TEXT_VAATI, 0x18, 0x000c
	WaitUntilTextboxCloses
	CallWithArg SetPlayerAnimation2, ANIM_EZLO_LEAVE_LEFT
	Call WaitForPlayerAnim
	SetAnimationState 0x0004
	DoPostScriptAction 0x0000
	SetSyncFlag 0x00000100
	Call SetPlayerActionNormal
SCRIPT_END