blob: 65c464af314631113e862c71933926fbdbb5b375 (
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
@ Minish Woods Ezlo Cutscene NPC4E
SCRIPT_START script_Npc4EEzloCutscene
BeginBlock
Call DisableRandomDrops
EndBlock
script_0801248A:
CheckPlayerInRegion 0x0208, 0x02c8, 0x4020
JumpIfNot script_0801248A
StopBgm
SetPlayerIdle
Call WaitForPlayerNormal
Call DisablePauseMenuAndPutAwayItems
StartPlayerScript script_PlayerAtFirstLookAtEzlo
MessageFromTargetPos TEXT_FINDING_EZLO, 0x01, 0x0007
WaitUntilTextboxCloses
CameraTargetPlayer
SetFadeTime 0x0004
_0807E80C 0x00000000
WaitForFadeFinish
_0807E858 0x0000
Call SetPlayerActionNormal
LoadRoomEntityList gUnk_080F4D70
Call DeleteAllEnemies
SetEntityPositionRelative 0x0388, 0x0168
Call sub_0807F844
SetFadeTime 0x0004
_0807E800 0x00000000
WaitForFadeFinish
PlayBgm BGM_EZLO_THEME
SetSyncFlag 0x00000010
WaitForSyncFlagAndClear 0x00000020
WaitForSyncFlagAndClear 0x00000100
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
SetSyncFlag 0x00000040
WaitForSyncFlagAndClear 0x00000080
WaitForSyncFlagAndClear 0x00000100
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
StopBgm
SetFadeTime 0x0004
_0807E80C 0x00000000
WaitForFadeFinish
MoveEntityToPlayer
Call sub_0807F844
CameraTargetPlayer
SetFadeMask 0xffffffff
SetFadeTime 0x0004
_0807E800 0x00000000
WaitForFadeFinish
Call EnablePauseMenu
EnablePlayerControl
PlayBGM
script_08012566:
CheckPlayerInRegion 0x03a0, 0x01a0, 0x1020
JumpIfNot script_08012566
SetPlayerIdle
Call WaitForPlayerNormal
Call DisablePauseMenuAndPutAwayItems
Call sub_0806DC7C
StopBgm
StartPlayerScript script_PlayerEzloBeingBullied
WaitForSyncFlagAndClear 0x00000001
SetEntityPositionRelative 0x0388, 0x0168
SetScrollSpeed 1
CameraTargetEntity
Wait 0x005a
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
PlayBgm BGM_EZLO_THEME
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
SetSyncFlag 0x00000040
WaitForSyncFlagAndClear 0x00000080
WaitForSyncFlagAndClear 0x00000100
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
SetSyncFlag 0x00000010
WaitForSyncFlagAndClear 0x00000020
WaitForSyncFlagAndClear 0x00000100
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
StopBgm
PlayBgm BGM_FIGHT_THEME2
Call EnablePauseMenu
EnablePlayerControl
SetSyncFlag 0x00000050
LoadRoomEntityList gUnk_080F51D0
WaitForSyncFlagAndClear 0x00000008
SetPlayerIdle
Call WaitForPlayerNormalOrTalkEzlo
Call DisablePauseMenuAndPutAwayItems
PlaySound SFX_SECRET
StopBgm
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
StartPlayerScript script_PlayerDefeatedOctoroks
WaitForSyncFlagAndClear 0x00000001
_0807E8E4_0
PlayBgm BGM_EZLO_THEME
Wait 0x001e
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
StopBgm
Wait 0x003c
PlayBGM
Call sub_0806DCA0
SetScrollSpeed 4
CameraTargetPlayer
Call EnablePauseMenu
EnablePlayerControl
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
SetSyncFlag 0x00000004
WaitForSyncFlagAndClear 0x00000008
StopBgm
Wait 0x003c
PlayBGM
Call EnableRandomDrops
SetGlobalFlag EZERO_1ST
CallWithArg ResetPlayerFlag, PL_NO_CAP
Call EnablePauseMenu
EnablePlayerControl
DoPostScriptAction 0x0006
SCRIPT_END
|