blob: 2d0a85d1222d7ce3e1f526099bb4e5d7665e00e7 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
@ Cloud Tops Gregal sick
SCRIPT_START script_GregalSick
BeginBlock
DoPostScriptAction 0x000a
SetAnimation 0x0000
EndBlock
CheckLocalFlag SORA_ELDER_RECOVER
JumpIf script_08014BE8
script_08014B48:
EndBlock
BeginBlock
CheckRoomFlag 0x0000
JumpIf script_08014B70
CheckEntityInteractType
JumpIfNot script_08014B48
EndBlock
SetPlayerIdle
FacePlayer
MessageNoOverlap TEXT_WIND_TRIBE, 0x01
WaitUntilTextboxCloses
Wait 0x000f
EnablePlayerControl
Jump script_08014B48
script_08014B70:
EndBlock
SetPlayerIdle
Call DisablePauseMenuAndPutAwayItems
SetSyncFlag 0x00000001
DoPostScriptAction 0x0004
WaitForSyncFlagAndClear 0x00000002
SetAnimation 0x0010
Call sub_0806CCF8
Wait 0x0014
Call sub_0806CD04
Wait 0x0014
Call sub_0806CD14
Wait 0x0014
Call sub_0806CD20
Wait 0x0014
Call sub_0806CD30
Wait 0x0014
Call sub_0806CD3C
Wait 0x0014
Call sub_0806CD4C
PlaySound SFX_SECRET
SetSyncFlag 0x00000001
WaitForSyncFlagAndClear 0x00000002
Call EnablePauseMenu
EnablePlayerControl
script_08014BE8:
SetAnimation 0x0010
Call sub_0806CD4C
script_08014BF2:
CheckEntityInteractType
JumpIfNot script_08014BF2
SetPlayerIdle
CheckLocalFlag SORA_ELDER_TALK1ST
JumpIf script_08014C1C
SetLocalFlag SORA_ELDER_TALK1ST
MessageNoOverlap TEXT_WIND_TRIBE, 0x07
WaitUntilTextboxCloses
SetIntVariable 100
GivePlayerItem ITEM_SHELLS
WaitPlayerGetItem
Jump script_08014C22
script_08014C1C:
MessageNoOverlap TEXT_WIND_TRIBE, 0x08
WaitUntilTextboxCloses
script_08014C22:
Wait 0x000f
EnablePlayerControl
Jump script_08014BF2
|