summaryrefslogtreecommitdiff
path: root/data/scripts/cloudTops/script_GregalHealthy.inc
blob: 8f96aa4fd510c36b96a1a6d67f5470cddc6e2204 (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
25
26
27
28
29
30
31
32
33
34
35
36
@ Cloud Tops Gregal healthy
SCRIPT_START script_GregalHealthy
	BeginBlock
	Call sub_0806CD58
	DoPostScriptAction 0x000a
	SetAnimationState 0x0004
	SetAnimation 0x0006
	EndBlock
script_08014C42:
	CheckEntityInteractType
	JumpIfNot script_08014C42
	SetPlayerIdle
	FacePlayer
script_08014C4C:
	Call sub_0806CCD0
	JumpIfNot script_08014C4C
script_08014C56:
	Call sub_0806CCB4
	JumpIfNot script_08014C56
	CheckLocalFlag 0x0066
	JumpIf script_08014C7C
	SetLocalFlag 0x0066
	MessageNoOverlap 0x2f0d
	WaitUntilTextboxCloses
	GivePlayerItem 0x000a
	WaitPlayerGetItem
	Jump script_08014C82
script_08014C7C:
	MessageNoOverlap 0x2f09
	WaitUntilTextboxCloses
script_08014C82:
	Wait 0x000f
	EnablePlayerControl
	SetAnimationState 0x0004
	SetAnimation 0x0006
	Jump script_08014C42