summaryrefslogtreecommitdiff
path: root/data/scripts/cutscene/intro/script_PlayerIntro.inc
blob: 81dbc1e2e571d614549b83a0974b6d164d69c1e8 (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
@ Intro Player
SCRIPT_START script_PlayerIntro
	BeginBlock
	Call DisablePauseMenuAndPutAwayItems
	SetPlayerIdle
	SetLocalFlag 0x0046
	EndBlock
	WaitForFadeFinish
	Wait 0x001e
	@ Wake up message
	MessageFromTarget TEXT_PROLOGUE, 0x05
	WaitUntilTextboxCloses
	Wait 0x003c
	Call sub_0807529C
	Wait 0x003c
	@ Exclamation mark
	DoPostScriptAction 0x0014
	Wait 0x001e
	@ Give control to the player?
	Call sub_08053250
	EnablePlayerControl
	Call EnablePauseMenu
	Call ResetPlayerAnimationAndAction
SCRIPT_END