|
1
|
con = -1;
|
|
2
|
customcon = 0;
|
|
3
|
global.flag[6 disable_text_skip] = 0;
|
|
4
|
global.flag[7 disable_menu?] = 0;
|
|
5
|
init = 0;
|
|
6
|
if (!scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (2))
|
|
7
|
scr_getcharscr_getchar
function scr_getchar(arg0)
{
switch (arg0)
{
case "kr":
case "kris":
arg0 = 1;
break;
case "su":
case "susie":
arg0 = 2;
break;
case "ra":
case "ralsei":
arg0 = 3;
break;
case "no":
case "noelle":
arg0 = 4;
break;
}
var characterToGet = arg0;
getchar = 0;
if (global.char[0] == 0)
{
global.char[0] = characterToGet;
getchar = 1;
}
if (global.char[1] == 0 && getchar == 0)
{
global.char[1] = characterToGet;
getchar = 1;
}
if (global.char[2] == 0 && getchar == 0)
{
global.char[2] = characterToGet;
getchar = 1;
}
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
havechar[3] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
if (global.char[i] == 4)
{
havechar[3] = 1;
charpos[3] = i;
}
}
}
} (2);
|
|
8
|
if (!scr_havecharscr_havechar
function scr_havechar(arg0)
{
var checker = arg0;
if (checker == "susie" || checker == "su" || checker == "s")
checker = 2;
if (checker == "ralsei" || checker == "ra" || checker == "r")
checker = 3;
if (checker == "noelle" || checker == "no" || checker == "n")
checker = 4;
_rreturn = 0;
if (global.char[0] == checker)
_rreturn = 1;
if (global.char[1] == checker)
_rreturn = 1;
if (global.char[2] == checker)
_rreturn = 1;
return _rreturn;
} (3))
|
|
9
|
scr_getcharscr_getchar
function scr_getchar(arg0)
{
switch (arg0)
{
case "kr":
case "kris":
arg0 = 1;
break;
case "su":
case "susie":
arg0 = 2;
break;
case "ra":
case "ralsei":
arg0 = 3;
break;
case "no":
case "noelle":
arg0 = 4;
break;
}
var characterToGet = arg0;
getchar = 0;
if (global.char[0] == 0)
{
global.char[0] = characterToGet;
getchar = 1;
}
if (global.char[1] == 0 && getchar == 0)
{
global.char[1] = characterToGet;
getchar = 1;
}
if (global.char[2] == 0 && getchar == 0)
{
global.char[2] = characterToGet;
getchar = 1;
}
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
havechar[3] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
if (global.char[i] == 4)
{
havechar[3] = 1;
charpos[3] = i;
}
}
}
} (3);
|
|
10
|
var vending_machine = instance_create(400, 80, obj_npc_room);
|
|
11
|
vending_machine.sprite_index = spr_dw_green_room_vending;
|
|
12
|
with (vending_machine)
|
|
13
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
14
|
var tv_readable = instance_create(560, 360, obj_readable_room1);
|
|
15
|
with (tv_readable)
|
|
16
|
{
|
|
17
|
extflag = "racing";
|
|
18
|
image_xscale = 2;
|
|
19
|
}
|
|
20
|
var ramb_npc = instance_create(715, 60, obj_npc_ramb);
|
|
21
|
ramb_npc.sprite_index = spr_npc_ramb_clean;
|
|
22
|
with (ramb_npc)
|
|
23
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
24
|
var bar_front = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (550, 40, spr_dw_green_room_bar_front);
|
|
25
|
bar_front.depth = ramb_npc.depth - 10;
|
|
26
|
lancer_npc = instance_create(92, 118, obj_npc_room_animated);
|
|
27
|
with (lancer_npc)
|
|
28
|
{
|
|
29
|
sprite_index = spr_lancer_rt;
|
|
30
|
extflag = "lancer";
|
|
31
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
32
|
image_speed = 0;
|
|
33
|
}
|
|
34
|
lancer_marker = -4;
|
|
35
|
door_closed = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (992, 14, spr_dw_green_room_door_changing);
|
|
36
|
door_closed.depth = 98900;
|
|
37
|
door_ranking = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (1120, 14, spr_dw_green_room_door_ranking);
|
|
38
|
door_ranking.depth = 98900;
|
|
39
|
var couch_left = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (400, 240, spr_dw_green_room_couch_left);
|
|
40
|
with (couch_left)
|
|
41
|
depth = 97000;
|
|
42
|
var couch_right = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (760, 240, spr_dw_green_room_couch_right);
|
|
43
|
with (couch_right)
|
|
44
|
depth = 97000;
|
|
45
|
var poster_left_readable = instance_create(190, 90, obj_readable_room1);
|
|
46
|
with (poster_left_readable)
|
|
47
|
{
|
|
48
|
extflag = "left_poster";
|
|
49
|
image_xscale = 2;
|
|
50
|
image_yscale = 2;
|
|
51
|
}
|
|
52
|
var tv_right_readable = instance_create(830, 360, obj_readable_room1);
|
|
53
|
with (tv_right_readable)
|
|
54
|
{
|
|
55
|
extflag = "tv_right";
|
|
56
|
image_xscale = 3;
|
|
57
|
image_yscale = 2;
|
|
58
|
}
|
|
59
|
var cactus_left_readable = instance_create(280, 400, obj_readable_room1);
|
|
60
|
with (cactus_left_readable)
|
|
61
|
{
|
|
62
|
extflag = "cactus_left";
|
|
63
|
image_xscale = 2;
|
|
64
|
image_yscale = 2;
|
|
65
|
}
|
|
66
|
var cactus_right_readable = instance_create(1120, 400, obj_readable_room1);
|
|
67
|
with (cactus_right_readable)
|
|
68
|
{
|
|
69
|
extflag = "cactus_right";
|
|
70
|
image_xscale = 2;
|
|
71
|
image_yscale = 2;
|
|
72
|
}
|
|
73
|
var changing_readable = instance_create(1020, 130, obj_readable_room1);
|
|
74
|
with (changing_readable)
|
|
75
|
{
|
|
76
|
extflag = "changing_room";
|
|
77
|
image_xscale = 2;
|
|
78
|
}
|
|
79
|
var changing_block = instance_create(changing_readable.x - 20, changing_readable.y, obj_solidblock);
|
|
80
|
with (changing_block)
|
|
81
|
image_xscale = 4;
|
|
82
|
blackall = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (-10, -10, spr_pixel_white);
|
|
83
|
blackall.image_xscale = 999;
|
|
84
|
blackall.image_yscale = 999;
|
|
85
|
blackall.depth = 100;
|
|
86
|
blackall.image_blend = c_black;
|
|
87
|
blackall.visible = 0;
|
|
88
|
hide_caterpillar = false;
|
|
89
|
var savepoint = instance_create(404, 397, obj_savepoint);
|
|
90
|
with (savepoint)
|
|
91
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
92
|
var door_right_cover = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (1320, 36, spr_dw_green_room_door_tape);
|
|
93
|
with (door_right_cover)
|
|
94
|
depth = 150000;
|
|
95
|
zapper_npc = instance_create(1260, 58, obj_npc_room);
|
|
96
|
with (zapper_npc)
|
|
97
|
{
|
|
98
|
extflag = "zapper";
|
|
99
|
sprite_index = spr_npc_zapper_talk;
|
|
100
|
}
|
|
101
|
zapper_npc.depth = 98000;
|
|
102
|
elnina_npc = -4;
|
|
103
|
pippins_npc = -4;
|
|
104
|
pippins_drink_marker = -4;
|
|
105
|
word_marker = -4;
|
|
106
|
border_switch = false;
|
|
107
|
if (global.plot < 150)
|
|
108
|
{
|
|
109
|
blackall.visible = 1;
|
|
110
|
var vines = instance_find(obj_dw_green_room_vines, 0);
|
|
111
|
if (global.plot == 120)
|
|
112
|
{
|
|
113
|
con = 50;
|
|
114
|
blackall.image_blend = c_white;
|
|
115
|
word_marker = scr_markerscr_marker
function scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (camerax() + (view_wport[0] / 2) + 104, cameray() + (view_hport[0] / 2), scr_84_get_spritescr_84_get_sprite
function scr_84_get_sprite(arg0)
{
return ds_map_find_value(global.chemg_sprite_map, arg0);
} ("spr_dw_screen_word"));
|
|
116
|
word_marker.depth = -100;
|
|
117
|
}
|
|
118
|
else
|
|
119
|
{
|
|
120
|
scr_lerp_var_instance(blackall, "image_alpha", 1, 0, 5);
|
|
121
|
with (blackall)
|
|
122
|
scr_delay_var("visible", 0, 6);
|
|
123
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1055) >= 1 && scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1185) == 0)
|
|
124
|
{
|
|
125
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1173) > 0)
|
|
126
|
{
|
|
127
|
con = 119;
|
|
128
|
alarm[0] = 1; gml_Object_obj_room_green_room_Alarm_0.gml
con++;
|
|
129
|
}
|
|
130
|
}
|
|
131
|
with (obj_border_controller)
|
|
132
|
set_border(border_dw_green_room);
|
|
133
|
}
|
|
134
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1068) == 1)
|
|
135
|
{
|
|
136
|
with (lancer_npc)
|
|
137
|
instance_destroy();
|
|
138
|
}
|
|
139
|
else
|
|
140
|
{
|
|
141
|
with (obj_doorAny)
|
|
142
|
{
|
|
143
|
if (x < 40)
|
|
144
|
instance_destroy();
|
|
145
|
}
|
|
146
|
var door_cover_marker = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (40, 36, spr_dw_green_room_door_cover);
|
|
147
|
door_cover_marker.depth = lancer_npc.depth - 10;
|
|
148
|
var wall_cover_marker = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (0, 0, spr_pixel_white);
|
|
149
|
wall_cover_marker.depth = door_cover_marker.depth - 10;
|
|
150
|
with (wall_cover_marker)
|
|
151
|
{
|
|
152
|
image_blend = c_black;
|
|
153
|
image_xscale = 10;
|
|
154
|
image_yscale = 100;
|
|
155
|
}
|
|
156
|
}
|
|
157
|
var pippins_marker = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (470, 80, spr_npc_pippins_jump);
|
|
158
|
pippins_marker.image_speed = 0.2;
|
|
159
|
with (pippins_marker)
|
|
160
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
161
|
var pippins_readable = instance_create(pippins_marker.x + 8, pippins_marker.y + 16, obj_readable_room1);
|
|
162
|
with (pippins_readable)
|
|
163
|
{
|
|
164
|
image_xscale = 3;
|
|
165
|
image_yscale = 2;
|
|
166
|
extflag = "pippins";
|
|
167
|
}
|
|
168
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1210) == 0)
|
|
169
|
{
|
|
170
|
pippins_npc = instance_create(890, 236, obj_npc_room_animated);
|
|
171
|
pippins_npc.sprite_index = spr_npc_pippins_gaming;
|
|
172
|
with (pippins_npc)
|
|
173
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
174
|
}
|
|
175
|
elnina_npc = instance_create(798, 220, obj_npc_room_animated);
|
|
176
|
elnina_npc.extflag = "elnina_gaming";
|
|
177
|
elnina_npc.sprite_index = spr_npc_elnina_blush_gaming;
|
|
178
|
with (elnina_npc)
|
|
179
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
180
|
}
|
|
181
|
else if (global.plot >= 280)
|
|
182
|
{
|
|
183
|
var snow_vfx = instance_create(0, 0, obj_dw_ch3_tvsnow);
|
|
184
|
snow_vfx.bgdepth = 9999;
|
|
185
|
with (zapper_npc)
|
|
186
|
instance_destroy();
|
|
187
|
with (lancer_npc)
|
|
188
|
instance_destroy();
|
|
189
|
with (ramb_npc)
|
|
190
|
instance_destroy();
|
|
191
|
with (door_right_cover)
|
|
192
|
sprite_index = spr_dw_green_room_door_tape_opened;
|
|
193
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1055) >= 3)
|
|
194
|
{
|
|
195
|
var ramb_readable = instance_create(600, 140, obj_readable_room1);
|
|
196
|
with (ramb_readable)
|
|
197
|
{
|
|
198
|
extflag = "ramb_absent";
|
|
199
|
image_xscale = 14;
|
|
200
|
}
|
|
201
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1055) == 6 && scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1192) == 0)
|
|
202
|
{
|
|
203
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1174) > 0)
|
|
204
|
{
|
|
205
|
blackall.visible = 1;
|
|
206
|
scr_lerp_var_instance(blackall, "image_alpha", 1, 0, 15);
|
|
207
|
with (blackall)
|
|
208
|
scr_delay_var("visible", 0, 16);
|
|
209
|
con = 180;
|
|
210
|
}
|
|
211
|
}
|
|
212
|
}
|
|
213
|
else
|
|
214
|
{
|
|
215
|
var ramb_readable = instance_create(730, 140, obj_readable_room1);
|
|
216
|
with (ramb_readable)
|
|
217
|
extflag = (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1239) == 0) ? "pippins_drink" : "stone_ramb";
|
|
218
|
var ramb_stone = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (715, 60, spr_npc_ramb_body_full_stone);
|
|
219
|
with (ramb_stone)
|
|
220
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
221
|
pippins_drink_marker = instance_create(755, 120, obj_dw_ch3_green_room_pippins);
|
|
222
|
pippins_drink_marker.depth = bar_front.depth + 5;
|
|
223
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1239) > 0)
|
|
224
|
{
|
|
225
|
pippins_drink_marker.y = 60;
|
|
226
|
var pippins_readable = instance_create(790, 140, obj_readable_room1);
|
|
227
|
with (pippins_readable)
|
|
228
|
extflag = "pippins_drink";
|
|
229
|
}
|
|
230
|
}
|
|
231
|
with (obj_doorAny)
|
|
232
|
{
|
|
233
|
if (x <= 40)
|
|
234
|
instance_destroy();
|
|
235
|
}
|
|
236
|
var door_readable = instance_create(64, 160, obj_readable_room1);
|
|
237
|
with (door_readable)
|
|
238
|
{
|
|
239
|
extflag = "left_door_exit";
|
|
240
|
image_xscale = 2;
|
|
241
|
image_yscale = 2;
|
|
242
|
}
|
|
243
|
with (obj_border_controller)
|
|
244
|
set_border(border_dw_blue_light);
|
|
245
|
}
|
|
246
|
else
|
|
247
|
{
|
|
248
|
if (global.plot < 160)
|
|
249
|
{
|
|
250
|
con = 55;
|
|
251
|
blackall.image_blend = c_white;
|
|
252
|
blackall.visible = 1;
|
|
253
|
with (obj_border_controller)
|
|
254
|
hide_border(1, c_white);
|
|
255
|
}
|
|
256
|
else
|
|
257
|
{
|
|
258
|
scr_lerp_var_instance(blackall, "image_alpha", 1, 0, 5);
|
|
259
|
with (blackall)
|
|
260
|
scr_delay_var("visible", 0, 6);
|
|
261
|
with (obj_border_controller)
|
|
262
|
set_border(border_dw_green_room);
|
|
263
|
}
|
|
264
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1055) >= 2 && scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1186) == 0)
|
|
265
|
{
|
|
266
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1174) > 0)
|
|
267
|
con = 130;
|
|
268
|
}
|
|
269
|
with (zapper_npc)
|
|
270
|
{
|
|
271
|
extflag = "zapper_board_2";
|
|
272
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1113) == 2 || scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
var flag_value = global.flag[arg0];
return flag_value;
} (1114) == 1)
|
|
273
|
instance_destroy();
|
|
274
|
}
|
|
275
|
with (lancer_npc)
|
|
276
|
instance_destroy();
|
|
277
|
var lancer_spin = instance_create(1020, 400, obj_dw_ch3_lancer_spin);
|
|
278
|
with (lancer_spin)
|
|
279
|
depth = 96000;
|
|
280
|
var throuple_marker = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (806, 190, spr_npc_rouxls_weather_gaming_chef);
|
|
281
|
with (throuple_marker)
|
|
282
|
{
|
|
283
|
image_speed = 0.2;
|
|
284
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
285
|
}
|
|
286
|
var rouxls_readable = instance_create(828, 242, obj_readable_room1);
|
|
287
|
with (rouxls_readable)
|
|
288
|
{
|
|
289
|
image_yscale = 3;
|
|
290
|
image_xscale = 5;
|
|
291
|
extflag = "rouxls";
|
|
292
|
}
|
|
293
|
}
|
|
294
|
|
|
295
|
function gotemall()
|
|
296
|
{
|
|
297
|
if ((global.flag[654 recruit_shadowguy] + global.flag[655 recruit_shuttah] + global.flag[656 recruit_zapper] + global.flag[657 recruit_ribbick] + global.flag[658 recruit_cooler] + global.flag[659 recruit_pippins]) != 6)
|
|
298
|
return false;
|
|
299
|
else
|
|
300
|
return true;
|
|
301
|
}
|
|
302
|
|
|
303
|
function lostem()
|
|
304
|
{
|
|
305
|
if (global.flag[654 recruit_shadowguy] == -1 || global.flag[655 recruit_shuttah] == -1 || global.flag[656 recruit_zapper] == -1 || global.flag[657 recruit_ribbick] == -1 || global.flag[658 recruit_cooler] == -1 || global.flag[659 recruit_pippins] == -1)
|
|
306
|
return true;
|
|
307
|
else
|
|
308
|
return false;
|
|
309
|
}
|
|
310
|
|
|
311
|
clip = -4;
|
|
312
|
cliptrig = -4;
|
|
313
|
if (global.plot >= 280)
|
|
314
|
{
|
|
315
|
clip = scr_marker_extscr_marker_ext
function scr_marker_ext(arg0, arg1, arg2, arg3 = 1, arg4 = 1, arg5 = 0, arg6 = 0, arg7 = 16777215, arg8 = depth, arg9 = false, arg10 = -1, arg11 = 1)
{
var thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
depth = arg8;
sprite_index = arg2;
image_speed = arg5;
image_xscale = arg3;
image_yscale = arg4;
image_index = arg6;
image_blend = arg7;
image_alpha = arg11;
if (arg9)
scr_depth();
}
if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker;
} (1250, 90, spr_dw_teevie_clipboard, 2, 2);
|
|
316
|
with (clip)
|
|
317
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
318
|
cliptrig = instance_create(1250, 120, obj_trigger_interact);
|
|
319
|
cliptrig.talked = 0;
|
|
320
|
with (cliptrig)
|
|
321
|
scr_sizescr_size
function scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{
with (arg2)
{
image_xscale = arg0;
image_yscale = arg1;
}
} (2, 1.25);
|
|
322
|
}
|
|
323
|
visible = true;
|
|
324
|
siner = 0;
|
|
325
|
if (global.entrance == 8)
|
|
326
|
{
|
|
327
|
debug_print("in ramb's room now");
|
|
328
|
with (obj_solidblock)
|
|
329
|
instance_destroy();
|
|
330
|
with (obj_readable_room1)
|
|
331
|
instance_destroy();
|
|
332
|
scr_marker_extscr_marker_ext
function scr_marker_ext(arg0, arg1, arg2, arg3 = 1, arg4 = 1, arg5 = 0, arg6 = 0, arg7 = 16777215, arg8 = depth, arg9 = false, arg10 = -1, arg11 = 1)
{
var thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
depth = arg8;
sprite_index = arg2;
image_speed = arg5;
image_xscale = arg3;
image_yscale = arg4;
image_index = arg6;
image_blend = arg7;
image_alpha = arg11;
if (arg9)
scr_depth();
}
if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker;
} (694, 54, spr_pxwhite, 92, 60, undefined, undefined, c_black, 16777215);
|
|
333
|
with (instance_create(574, 72, obj_solidblocksized))
|
|
334
|
{
|
|
335
|
scr_sizescr_size
function scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{
with (arg2)
{
image_xscale = arg0;
image_yscale = arg1;
}
} (3, 1);
|
|
336
|
visible = false;
|
|
337
|
}
|
|
338
|
with (instance_create(784, 72, obj_solidblocksized))
|
|
339
|
{
|
|
340
|
scr_sizescr_size
function scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{
with (arg2)
{
image_xscale = arg0;
image_yscale = arg1;
}
} (3, 1);
|
|
341
|
visible = false;
|
|
342
|
}
|
|
343
|
with (instance_create(560, 142, obj_solidblocksized))
|
|
344
|
{
|
|
345
|
scr_sizescr_size
function scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{
with (arg2)
{
image_xscale = arg0;
image_yscale = arg1;
}
} (9, 1);
|
|
346
|
visible = false;
|
|
347
|
}
|
|
348
|
with (instance_create(592, 90, obj_solidblocksized))
|
|
349
|
{
|
|
350
|
scr_sizescr_size
function scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{
with (arg2)
{
image_xscale = arg0;
image_yscale = arg1;
}
} (1, 1);
|
|
351
|
visible = false;
|
|
352
|
}
|
|
353
|
with (instance_create(904, 90, obj_solidblocksized))
|
|
354
|
{
|
|
355
|
scr_sizescr_size
function scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{
with (arg2)
{
image_xscale = arg0;
image_yscale = arg1;
}
} (1, 1);
|
|
356
|
visible = false;
|
|
357
|
}
|
|
358
|
with (instance_create(694, 62, obj_doorAny))
|
|
359
|
{
|
|
360
|
scr_sizescr_size
function scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{
with (arg2)
{
image_xscale = arg0;
image_yscale = arg1;
}
} (2.3, 1);
|
|
361
|
doorRoom = room_dw_inbetweenhall;
|
|
362
|
doorEntrance = 8;
|
|
363
|
doorFadeMusic = 1;
|
|
364
|
}
|
|
365
|
bar_front.depth = 98100;
|
|
366
|
scr_setpartyscr_setparty
function scr_setparty(arg0, arg1, arg2)
{
var kris = obj_mainchara;
var slot = 0;
var __make = true;
if (!i_ex(kris))
__make = false;
scr_losechar();
safe_delete(obj_caterpillarchara);
if (arg0 == true)
{
scr_getchar(2);
if (__make)
{
with (scr_makecaterpillar(kris.x, kris.y, 2, slot))
{
halign = (global.darkzone == 0) ? 3 : 6;
valign = (global.darkzone == 0) ? 6 : 16;
x -= halign;
y -= valign;
}
}
slot++;
}
if (arg1 == true)
{
scr_getchar(3);
if (__make)
{
with (scr_makecaterpillar(kris.x, kris.y, 3, slot))
{
halign = 2;
valign = 12;
x -= halign;
y -= valign;
}
}
slot++;
}
if (arg2 == true)
{
scr_getchar(4);
if (__make)
{
with (scr_makecaterpillar(kris.x, kris.y, 4, slot))
{
halign = (global.darkzone == 0) ? 2 : 4;
valign = (global.darkzone == 0) ? 9 : 18;
x -= halign;
y -= valign;
}
}
slot++;
}
} (0, 0, 0);
|
|
367
|
scr_marker_extscr_marker_ext
function scr_marker_ext(arg0, arg1, arg2, arg3 = 1, arg4 = 1, arg5 = 0, arg6 = 0, arg7 = 16777215, arg8 = depth, arg9 = false, arg10 = -1, arg11 = 1)
{
var thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
depth = arg8;
sprite_index = arg2;
image_speed = arg5;
image_xscale = arg3;
image_yscale = arg4;
image_index = arg6;
image_blend = arg7;
image_alpha = arg11;
if (arg9)
scr_depth();
}
if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker;
} (530, 240, spr_ralsei_racing_play, 2, 2, 0.05, 1);
|
|
368
|
scr_marker_extscr_marker_ext
function scr_marker_ext(arg0, arg1, arg2, arg3 = 1, arg4 = 1, arg5 = 0, arg6 = 0, arg7 = 16777215, arg8 = depth, arg9 = false, arg10 = -1, arg11 = 1)
{
var thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
depth = arg8;
sprite_index = arg2;
image_speed = arg5;
image_xscale = arg3;
image_yscale = arg4;
image_index = arg6;
image_blend = arg7;
image_alpha = arg11;
if (arg9)
scr_depth();
}
if (arg10 > 0)
scr_doom(thismarker, arg10);
return thismarker;
} (582, 236, spr_susie_racing_play, 2, 2, 1/30, 0);
|
|
369
|
}
|
|
370
|
if (global.flag[1067 got_shadowmantle] == 0 && global.flag[1055 sword_route_progress] >= 6 && global.plot >= 280)
|
|
371
|
instance_create(874, 86, obj_treasure_room);
|
|
372
|
repeat (array_length(global.keyitem))
|
|
373
|
scr_keyitemremovescr_keyitemremove
function scr_keyitemremove(arg0)
{
removed = 0;
scr_keyitemcheck(arg0);
if (haveit == 1)
{
loc = 0;
skip = 0;
if (global.keyitem[0] == arg0 && skip == 0)
{
loc = 0;
skip = 1;
}
if (global.keyitem[1] == arg0 && skip == 0)
{
loc = 1;
skip = 1;
}
if (global.keyitem[2] == arg0 && skip == 0)
{
loc = 2;
skip = 1;
}
if (global.keyitem[3] == arg0 && skip == 0)
{
loc = 3;
skip = 1;
}
if (global.keyitem[4] == arg0 && skip == 0)
{
loc = 4;
skip = 1;
}
if (global.keyitem[5] == arg0 && skip == 0)
{
loc = 5;
skip = 1;
}
if (global.keyitem[6] == arg0 && skip == 0)
{
loc = 6;
skip = 1;
}
if (global.keyitem[7] == arg0 && skip == 0)
{
loc = 7;
skip = 1;
}
if (global.keyitem[8] == arg0 && skip == 0)
{
loc = 8;
skip = 1;
}
if (global.keyitem[9] == arg0 && skip == 0)
{
loc = 9;
skip = 1;
}
if (global.keyitem[10] == arg0 && skip == 0)
{
loc = 10;
skip = 1;
}
if (global.keyitem[11] == arg0 && skip == 0)
{
loc = 11;
skip = 1;
}
scr_keyitemshift(loc, 0);
removed = 1;
}
} (8);
|