|
1
|
if (con == 0)
|
|
2
|
{
|
|
3
|
con = 1;
|
|
4
|
alarm[0] = 90; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
5
|
global.interact = 1;
|
|
6
|
}
|
|
7
|
if (con == 2 && !i_ex(obj_writer))
|
|
8
|
{
|
|
9
|
con = 3;
|
|
10
|
alarm[0] = 30; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
11
|
create_writer = true;
|
|
12
|
}
|
|
13
|
if (con == 4 && !i_ex(obj_writer))
|
|
14
|
{
|
|
15
|
con = 5;
|
|
16
|
alarm[0] = 30; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
17
|
with (obj_ch3_BTB05_screenbloom)
|
|
18
|
disappeared = true;
|
|
19
|
create_writer = true;
|
|
20
|
}
|
|
21
|
if (con == 6)
|
|
22
|
{
|
|
23
|
if (obj_ch3_BTB05_screenbloom.disappear_index < 5)
|
|
24
|
{
|
|
25
|
if (!obj_ch3_BTB05_screenbloom.disappeared)
|
|
26
|
obj_ch3_BTB05_screenbloom.disappeared = true;
|
|
27
|
}
|
|
28
|
else
|
|
29
|
{
|
|
30
|
con = 7;
|
|
31
|
alarm[0] = 30; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
32
|
}
|
|
33
|
}
|
|
34
|
if (con == 8 && !i_ex(obj_writer) && !obj_ch3_BTB05_screenbloom.disappeared)
|
|
35
|
{
|
|
36
|
con = 9;
|
|
37
|
alarm[0] = 30; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
38
|
create_writer = true;
|
|
39
|
}
|
|
40
|
if (con == 10 && !i_ex(obj_writer))
|
|
41
|
{
|
|
42
|
con = 11;
|
|
43
|
alarm[0] = 60; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
44
|
}
|
|
45
|
if (con == 12)
|
|
46
|
{
|
|
47
|
con = 13;
|
|
48
|
alarm[0] = 30; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
49
|
with (obj_ch3_BTB05_screenbloom)
|
|
50
|
disappeared = true;
|
|
51
|
}
|
|
52
|
if (con == 14 && !i_ex(obj_writer) && !obj_ch3_BTB05_screenbloom.disappeared)
|
|
53
|
{
|
|
54
|
con = 15;
|
|
55
|
alarm[0] = 30; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
56
|
}
|
|
57
|
if (con == 16)
|
|
58
|
{
|
|
59
|
con = 17;
|
|
60
|
alarm[0] = 30; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
61
|
create_writer = true;
|
|
62
|
}
|
|
63
|
if (con == 18 && !i_ex(obj_writer) && !obj_ch3_BTB05_screenbloom.disappeared)
|
|
64
|
{
|
|
65
|
con = 19;
|
|
66
|
alarm[0] = 30; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
67
|
with (obj_ch3_BTB05_screenbloom)
|
|
68
|
disappeared = true;
|
|
69
|
}
|
|
70
|
if (con == 20 && !i_ex(obj_writer) && !obj_ch3_BTB05_screenbloom.disappeared)
|
|
71
|
{
|
|
72
|
con = 21;
|
|
73
|
alarm[0] = 30; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
74
|
create_writer = true;
|
|
75
|
}
|
|
76
|
if (con == 22 && !i_ex(obj_writer))
|
|
77
|
{
|
|
78
|
con = 23;
|
|
79
|
alarm[0] = 30; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
80
|
with (obj_ch3_BTB05_screenbloom)
|
|
81
|
disappeared = true;
|
|
82
|
}
|
|
83
|
if (con == 24 && !obj_ch3_BTB05_screenbloom.disappeared)
|
|
84
|
{
|
|
85
|
con = 25;
|
|
86
|
alarm[0] = 30; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
87
|
}
|
|
88
|
if (con == 26 && !i_ex(obj_writer) && !obj_ch3_BTB05_screenbloom.disappeared)
|
|
89
|
{
|
|
90
|
con = 27;
|
|
91
|
alarm[0] = 60; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
92
|
with (obj_ch3_BTB05_screenbloom)
|
|
93
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("blackfade", 0, 1, 60);
|
|
94
|
snd_volume(global.currentsong[1], 0, 60);
|
|
95
|
}
|
|
96
|
if (con == 28 && !i_ex(obj_writer) && !obj_ch3_BTB05_screenbloom.disappeared)
|
|
97
|
{
|
|
98
|
con = 29;
|
|
99
|
alarm[0] = 30; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
100
|
create_writer = true;
|
|
101
|
}
|
|
102
|
if (con == 29 && !i_ex(obj_writer))
|
|
103
|
{
|
|
104
|
con = 30;
|
|
105
|
alarm[0] = 60; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
106
|
with (obj_ch3_BTB05_screenbloom)
|
|
107
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("tvstrength", 1, 0, 60);
|
|
108
|
if (audio_is_playing(snd_tv_static))
|
|
109
|
snd_volume(snd_tv_static, 0, 60);
|
|
110
|
}
|
|
111
|
if (con == 31 && !i_ex(obj_writer))
|
|
112
|
{
|
|
113
|
con = 32;
|
|
114
|
alarm[0] = 60; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
115
|
create_writer = true;
|
|
116
|
}
|
|
117
|
if (con == 33 && !i_ex(obj_writer))
|
|
118
|
{
|
|
119
|
con = 34;
|
|
120
|
alarm[0] = 60; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
121
|
snd_play(snd_noise);
|
|
122
|
tv_stand_marker.visible = 1;
|
|
123
|
tv_smile_bg_marker.visible = 1;
|
|
124
|
tv_smile_marker.visible = 1;
|
|
125
|
wind_song[0] = snd_init("wind_highplace.ogg");
|
|
126
|
wind_song[1] = mus_loop_ext(wind_song[0], 0.75, 1);
|
|
127
|
}
|
|
128
|
if (con == 35)
|
|
129
|
{
|
|
130
|
con = 36;
|
|
131
|
alarm[0] = 60; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
132
|
create_writer = true;
|
|
133
|
}
|
|
134
|
if (con == 37 && !i_ex(obj_writer))
|
|
135
|
{
|
|
136
|
con = 38;
|
|
137
|
alarm[0] = 90; gml_Object_obj_ch3_BTB05_Alarm_0.gml
con++;
|
|
138
|
blackall.depth = 100;
|
|
139
|
blackall.image_blend = c_black;
|
|
140
|
scr_lerp_instance_var(blackall, "image_alpha", 0, 1, 60);
|
|
141
|
snd_volume(wind_song[1], 0, 60);
|
|
142
|
}
|
|
143
|
if (con == 39 && !i_ex(obj_writer))
|
|
144
|
{
|
|
145
|
con = 99;
|
|
146
|
global.plot = 300;
|
|
147
|
snd_free(103);
|
|
148
|
snd_free(wind_song[0]);
|
|
149
|
room_goto(room_dw_snow_zone_battle);
|
|
150
|
}
|
|
151
|
if (create_writer && !i_ex(obj_writer))
|
|
152
|
{
|
|
153
|
create_writer = false;
|
|
154
|
global.typer = 80;
|
|
155
|
if (speech_index == 0)
|
|
156
|
{
|
|
157
|
msgsetloc(0, Back when I was just a little old TV.Wait for input"Back when I was just a little old TV./", "obj_ch3_BTB05_slash_Step_0_gml_203_0" );
|
|
158
|
msgnextloc(Everyone used to gather around my glow to watch the specials,Delay 11Wait for input"Everyone used to gather around my glow to watch the specials^1,/", "obj_ch3_BTB05_slash_Step_0_gml_204_0" );
|
|
159
|
msgnextloc(Smiling. Delay 66Laughing. Delay 66Eating butterscotch pie.Wait for input"Smiling.^6 Laughing.^6 Eating butterscotch pie./", "obj_ch3_BTB05_slash_Step_0_gml_205_0" );
|
|
160
|
msgnextloc(Wasn't that just so much...Delay 11 fun?Wait for input"Wasn't that just so much..^1. fun?/", "obj_ch3_BTB05_slash_Step_0_gml_206_0" );
|
|
161
|
msgnextloc(To watch me.Wait for input"To watch me./", "obj_ch3_BTB05_slash_Step_0_gml_207_0" );
|
|
162
|
msgnextloc(I...Delay 11 was so happy.Wait for input"I..^1. was so happy./", "obj_ch3_BTB05_slash_Step_0_gml_208_0" );
|
|
163
|
msgnextloc(Then...Wait for inputClose Message"Then.../%", "obj_ch3_BTB05_slash_Step_0_gml_209_0" );
|
|
164
|
}
|
|
165
|
if (speech_index == 1)
|
|
166
|
msgsetloc(0, People stopped coming.Wait for inputClose Message"People stopped coming./%", "obj_ch3_BTB05_slash_Step_0_gml_214_0" );
|
|
167
|
if (speech_index == 2)
|
|
168
|
msgsetloc(0, Everyone disappeared...Delay 11 one by one...Wait for inputClose Message"Everyone disappeared..^1. one by one.../%", "obj_ch3_BTB05_slash_Step_0_gml_219_0" );
|
|
169
|
if (speech_index == 3)
|
|
170
|
msgsetloc(0, No one wanted to watch TV anymore.Wait for inputClose Message"No one wanted to watch TV anymore./%", "obj_ch3_BTB05_slash_Step_0_gml_224_0" );
|
|
171
|
if (speech_index == 4)
|
|
172
|
msgsetloc(0, No one wanted to play games anymore.Wait for inputClose Message"No one wanted to play games anymore./%", "obj_ch3_BTB05_slash_Step_0_gml_229_0" );
|
|
173
|
if (speech_index == 5)
|
|
174
|
msgsetloc(0, I've been all alone...Wait for inputClose Message"I've been all alone.../%", "obj_ch3_BTB05_slash_Step_0_gml_234_0" );
|
|
175
|
if (speech_index == 6)
|
|
176
|
msgsetloc(0, Until now.Wait for inputClose Message"Until now./%", "obj_ch3_BTB05_slash_Step_0_gml_239_0" );
|
|
177
|
if (speech_index == 7)
|
|
178
|
{
|
|
179
|
msgsetloc(0, When the KNIGHT appeared...Wait for input"When the KNIGHT appeared.../", "obj_ch3_BTB05_slash_Step_0_gml_244_0" );
|
|
180
|
msgnextloc(The ROARING KNIGHT.Wait for input"The ROARING KNIGHT./", "obj_ch3_BTB05_slash_Step_0_gml_245_0" );
|
|
181
|
msgnextloc(And I was told that if I keep you three busy,Delay 11Wait for input"And I was told that if I keep you three busy^1,/", "obj_ch3_BTB05_slash_Step_0_gml_246_0" );
|
|
182
|
msgnextloc(I can have ALL the people watch me that I want.Wait for inputClose Message"I can have ALL the people watch me that I want./%", "obj_ch3_BTB05_slash_Step_0_gml_247_0" );
|
|
183
|
}
|
|
184
|
var writer = instance_create(__view_get(e__VW.XView, 0) + 40, __view_get(e__VW.YView, 0) + 60, obj_writer);
|
|
185
|
writer.rate = 2;
|
|
186
|
speech_index++;
|
|
187
|
}
|
|
188
|
|
|
189
|
enum e__VW
|
|
190
|
{
|
|
191
|
XView,
|
|
192
|
YView,
|
|
193
|
WView,
|
|
194
|
HView,
|
|
195
|
Angle,
|
|
196
|
HBorder,
|
|
197
|
VBorder,
|
|
198
|
HSpeed,
|
|
199
|
VSpeed,
|
|
200
|
Object,
|
|
201
|
Visible,
|
|
202
|
XPort,
|
|
203
|
YPort,
|
|
204
|
WPort,
|
|
205
|
HPort,
|
|
206
|
Camera,
|
|
207
|
SurfaceID
|
|
208
|
}
|