blob: 54bf63fb4238928db8d59993def5cebe1ae00679 (
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
|
@ Sanctuary CUTSCENE_MISC_OBJECT text board
SCRIPT_START script_CutsceneMiscObjectTextBoard
BeginBlock
CheckLocalFlag 0x007a
JumpIf script_08013C2A
CheckInventory1 ITEM_RED_SWORD
JumpIf script_08013C2A
CheckInventory1 ITEM_GREEN_SWORD
JumpIfNot script_08013C98
CheckInventory1 ITEM_EARTH_ELEMENT
JumpIfNot script_08013C98
CheckInventory1 ITEM_FIRE_ELEMENT
JumpIfNot script_08013C98
EndBlock
DoPostScriptAction 0x0008
WaitForSyncFlagAndClear 0x00000004
SetAction 0x0002
PlaySound SFX_134
Jump script_08013C32
script_08013C2A:
CheckLocalFlag 0x007c
JumpIf script_08013C98
script_08013C32:
BeginBlock
DoPostScriptAction 0x0007
Call MakeCheckableObjectInteractable
DoPostScriptAction 0x000a
CallWithArg sub_080962F8, 0x00000000
.ifndef EU
CallWithArg sub_0807F8E8, 0x00000004
.endif
EndBlock
script_08013C58:
EndBlock
BeginBlock
CheckSyncFlagAndClear 0x00000008
JumpIf script_08013C92
CheckEntityInteractType
JumpIfNot script_08013C58
EndBlock
SetPlayerIdle
FacePlayer
CheckLocalFlag 0x007d
JumpIf script_08013C82
EzloMessage TEXT_PANEL_TUTORIAL, 0x01
Jump script_08013C86
script_08013C82:
EzloMessage TEXT_PANEL_TUTORIAL, 0x06
script_08013C86:
WaitUntilTextboxCloses
Wait 0x000f
EnablePlayerControl
Jump script_08013C58
script_08013C92:
EndBlock
SetAction 0x0004
script_08013C98:
DoPostScriptAction 0x0008
DoPostScriptAction 0x0006
SCRIPT_END
.align 2, 0
|