summaryrefslogtreecommitdiff
path: root/data/scripts/mtCrenel/script_MelariInRoom.inc
blob: b05818261c29fe3371eb18d49b42eb9c3c757c7c (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
@ Mines Melari in his room
SCRIPT_START script_MelariInRoom
	BeginBlock
	Call Melari_MakeInteractable
	DoPostScriptAction 0x000a
	SetAnimationState 0x0004
	SetAnimation 0x0000
	EndBlock
script_0800D31E:
	EndBlock
	BeginBlock
	Call sub_08068910
	CheckEntityInteractType
	JumpIfNot script_0800D31E
	EndBlock
	SetPlayerIdle
	FacePlayer
	SetIntVariable 0x00000000
	Call sub_0806C028
	MessageFromTarget TEXT_MINISH2, 0x19
	WaitUntilTextboxCloses
	Wait 0x000f
	EnablePlayerControl
	Jump script_0800D31E