|
1
|
if (scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
} () && keyboard_check_pressed(ord("P")))
|
|
2
|
friends_protecc_state = 1;
|
|
3
|
if (con < 99)
|
|
4
|
{
|
|
5
|
scr_populatecharsscr_populatechars
function scr_populatechars()
{
if (!variable_instance_exists(id, "kris"))
kris = 0;
if (!variable_instance_exists(id, "ralsei"))
ralsei = 0;
if (!variable_instance_exists(id, "susie"))
susie = 0;
if (!variable_instance_exists(id, "noelle"))
noelle = 0;
if (kris == 0)
{
with (obj_mainchara)
other.kris = id;
}
if (susie == 0)
{
with (obj_caterpillarchara)
{
if (name == "susie")
other.susie = id;
}
}
if (ralsei == 0)
{
with (obj_caterpillarchara)
{
if (name == "ralsei")
other.ralsei = id;
}
}
if (noelle == 0)
{
with (obj_caterpillarchara)
{
if (name == "noelle")
other.noelle = id;
}
}
} ();
|
|
6
|
var _cx = camerax();
|
|
7
|
var _cy = cameray();
|
|
8
|
if (con == 0)
|
|
9
|
{
|
|
10
|
if (instance_exists(darkness))
|
|
11
|
darkness.image_alpha = darkness_initial + max(0, ((kris.x - darkness_startx) / (darkness_midx - darkness_startx)) * (darkness_mid - darkness_initial));
|
|
12
|
light_player.size = light_player_size - (60 * darkness.image_alpha);
|
|
13
|
if (cutscene == 0 && kris.x > darkness_midx)
|
|
14
|
{
|
|
15
|
global.interact = 1;
|
|
16
|
cutscene_master = scr_cutscene_makescr_cutscene_make
function scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} ();
|
|
17
|
scr_maincharacters_actorsscr_maincharacters_actors
function scr_maincharacters_actors()
{
actor_count = 0;
kr = 0;
kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index;
kr_actor.depth = obj_mainchara.depth;
with (obj_mainchara)
visible = 0;
for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++)
{
if (i_ex(global.cinstance[__jj]))
{
if (global.cinstance[__jj].name == "susie")
{
actor_count++;
su = __jj + 1;
su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index;
su_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "ralsei")
{
actor_count++;
ra = __jj + 1;
ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index;
ra_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "noelle")
{
actor_count++;
no = __jj + 1;
no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index;
no_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
}
}
} ();
|
|
18
|
c_msgruncheck(true);
|
|
19
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
20
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face 4* It's getting dark...Delay 11 Let's stick together.Wait for inputClose Message"\\E4* It's getting dark..^1. Let's stick together./%", "obj_dw_churchc_darkswords_slash_Step_0_gml_29_0" );
|
|
21
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
22
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
23
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
24
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (kris.x - 36, kris.y - 16, 25);
|
|
25
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
26
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (kris.x - 70, kris.y - 12, 25);
|
|
27
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (45);
|
|
28
|
cutscene = 1;
|
|
29
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
30
|
{
|
|
31
|
global.facing = 1;
|
|
32
|
slowwalk = instance_create(400, 0, obj_slowwalk);
|
|
33
|
with (slowwalk)
|
|
34
|
{
|
|
35
|
scr_sizeexactscr_sizeexact
function scr_sizeexact(arg0, arg1, arg2 = id)
{
with (arg2)
{
if (!sprite_exists(sprite_index))
{
debug_message("Can't size, no sprite");
exit;
}
var _w = sprite_get_width(sprite_index);
var _h = sprite_get_width(sprite_index);
image_xscale = arg0 / _w;
image_yscale = arg1 / _h;
}
} (room_width, room_height);
|
|
36
|
maxwalkspeed = 4;
|
|
37
|
extflag = "temporary walkntalk";
|
|
38
|
}
|
|
39
|
su_hunch = scr_dark_marker_fancyscr_dark_marker_fancy
function scr_dark_marker_fancy(arg0, arg1, arg2)
{
var _thismarker = instance_create(arg0, arg1, obj_marker_fancy);
with (_thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return _thismarker;
} (su_actor.x - 2, su_actor.y + 6, spr_susie_walk_hunched);
|
|
40
|
with (su_hunch)
|
|
41
|
{
|
|
42
|
mask_index = spr_susie_right_dw;
|
|
43
|
depth = other.su_actor.depth;
|
|
44
|
offsetx = x - other.kr_actor.x;
|
|
45
|
offsety = y - other.kr_actor.y;
|
|
46
|
}
|
|
47
|
ra_hunch = 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;
} (ra_actor.x + 2, ra_actor.y + 10, spr_ralsei_walk_hunched);
|
|
48
|
with (ra_hunch)
|
|
49
|
{
|
|
50
|
mask_index = spr_ralsei_right;
|
|
51
|
depth = other.ra_actor.depth;
|
|
52
|
offsetx = x - other.kr_actor.x;
|
|
53
|
offsety = y - other.kr_actor.y;
|
|
54
|
}
|
|
55
|
});
|
|
56
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
57
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
58
|
{
|
|
59
|
global.facing = 1;
|
|
60
|
});
|
|
61
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
62
|
layer_set_visible("TILES_DAMAGE", true);
|
|
63
|
with (instance_create(360, 4040, obj_solidblockDark))
|
|
64
|
{
|
|
65
|
image_xscale = 5;
|
|
66
|
image_yscale = 3;
|
|
67
|
}
|
|
68
|
scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
if (scr_debug())
show_debug_message("*** flag [" + string(arg0) + "] updated: " + string(arg1) + " | " + scr_flag_name_get(arg0));
}
function scr_setflag(arg0, arg1)
{
scr_flag_set(arg0, arg1);
} (7, 1);
|
|
69
|
con = 1;
|
|
70
|
}
|
|
71
|
}
|
|
72
|
if (con == 1)
|
|
73
|
{
|
|
74
|
if (cutscene == 1 && !i_ex(cutscene_master))
|
|
75
|
{
|
|
76
|
global.interact = 0;
|
|
77
|
cutscene = 2;
|
|
78
|
}
|
|
79
|
if (cutscene == 3)
|
|
80
|
{
|
|
81
|
global.interact = 1;
|
|
82
|
timer++;
|
|
83
|
if (timer > 15)
|
|
84
|
{
|
|
85
|
timer = 0;
|
|
86
|
cutscene_master = scr_cutscene_makescr_cutscene_make
function scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} ();
|
|
87
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (35);
|
|
88
|
c_msgruncheck(true);
|
|
89
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
90
|
c_msgsidec_msgside
function c_msgside(arg0)
{
c_cmd("msgside", arg0, 0, 0, 0);
} ("top");
|
|
91
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face J* ...!?Wait for inputClose Message"\\EJ* ...!?/%", "obj_dw_churchc_darkswords_slash_Step_0_gml_107_0" );
|
|
92
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
93
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
94
|
cutscene = 4;
|
|
95
|
}
|
|
96
|
}
|
|
97
|
if (cutscene == 4)
|
|
98
|
{
|
|
99
|
if (!i_ex(cutscene_master))
|
|
100
|
global.interact = 0;
|
|
101
|
else
|
|
102
|
global.interact = 1;
|
|
103
|
}
|
|
104
|
if (instance_exists(darkness))
|
|
105
|
darkness.image_alpha = darkness_mid + (((kris.x - darkness_midx) / (darkness_endx - darkness_midx)) * (darkness_end - darkness_mid));
|
|
106
|
light_player.size = light_player_size - (60 * darkness.image_alpha);
|
|
107
|
if (kris.x > darkness_endx)
|
|
108
|
{
|
|
109
|
super_darkness.image_alpha = (kris.x - darkness_endx) / (darkness_super_endx - darkness_endx);
|
|
110
|
if (super_darkness.image_alpha >= 1)
|
|
111
|
{
|
|
112
|
if (darkness_hits > 0 && cutscene < 3)
|
|
113
|
cutscene = 3;
|
|
114
|
if (darkness_hits >= 3)
|
|
115
|
{
|
|
116
|
global.interact = 1;
|
|
117
|
timer++;
|
|
118
|
if (timer > 15)
|
|
119
|
{
|
|
120
|
timer = 0;
|
|
121
|
con = 2;
|
|
122
|
with (su_hunch)
|
|
123
|
instance_destroy();
|
|
124
|
with (ra_hunch)
|
|
125
|
instance_destroy();
|
|
126
|
}
|
|
127
|
}
|
|
128
|
}
|
|
129
|
}
|
|
130
|
}
|
|
131
|
if (con == 2)
|
|
132
|
{
|
|
133
|
light_player.size = 24;
|
|
134
|
light_player.lightalpha = 0;
|
|
135
|
with (obj_mainchara)
|
|
136
|
{
|
|
137
|
x = other.horizontal_endx + 160;
|
|
138
|
y = 3970;
|
|
139
|
fun = 1;
|
|
140
|
sprite_index = spr_kris_walk_up_windy;
|
|
141
|
}
|
|
142
|
with (obj_caterpillarchara)
|
|
143
|
{
|
|
144
|
follow = 0;
|
|
145
|
if (name == "susie")
|
|
146
|
{
|
|
147
|
x = other.horizontal_endx + 185;
|
|
148
|
y = 3980;
|
|
149
|
}
|
|
150
|
else
|
|
151
|
{
|
|
152
|
x = other.horizontal_endx + 125;
|
|
153
|
y = 3984;
|
|
154
|
}
|
|
155
|
}
|
|
156
|
with (cam)
|
|
157
|
{
|
|
158
|
panLimitLeft[0] = 3860;
|
|
159
|
panLimitRight[0] = 3860;
|
|
160
|
panLimitTop[0] = 0;
|
|
161
|
event_user(1);
|
|
162
|
}
|
|
163
|
global.facing = 2;
|
|
164
|
global.interact = 1;
|
|
165
|
cutscene_master = scr_cutscene_makescr_cutscene_make
function scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} ();
|
|
166
|
scr_maincharacters_actorsscr_maincharacters_actors
function scr_maincharacters_actors()
{
actor_count = 0;
kr = 0;
kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index;
kr_actor.depth = obj_mainchara.depth;
with (obj_mainchara)
visible = 0;
for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++)
{
if (i_ex(global.cinstance[__jj]))
{
if (global.cinstance[__jj].name == "susie")
{
actor_count++;
su = __jj + 1;
su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index;
su_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "ralsei")
{
actor_count++;
ra = __jj + 1;
ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index;
ra_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "noelle")
{
actor_count++;
no = __jj + 1;
no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index;
no_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
}
}
} ();
|
|
167
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
168
|
{
|
|
169
|
su_hunch = scr_dark_marker_fancyscr_dark_marker_fancy
function scr_dark_marker_fancy(arg0, arg1, arg2)
{
var _thismarker = instance_create(arg0, arg1, obj_marker_fancy);
with (_thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return _thismarker;
} (su_actor.x, su_actor.y, spr_susie_walk_up_windy);
|
|
170
|
with (su_hunch)
|
|
171
|
{
|
|
172
|
depth = other.su_actor.depth;
|
|
173
|
offsetx = x - other.kr_actor.x;
|
|
174
|
offsety = y - other.kr_actor.y;
|
|
175
|
redalpha = 0;
|
|
176
|
hair_wind = true;
|
|
177
|
hair_index = 0;
|
|
178
|
|
|
179
|
draw_func = function()
|
|
180
|
{
|
|
181
|
var _con = sprite_index == spr_susie_walk_up_windy || sprite_index == spr_susie_walk_up_windy_lookleft;
|
|
182
|
gpu_set_fog(true, c_red, 0, 1);
|
|
183
|
draw_sprite_ext(sprite_index, image_index, x, y - image_yscale, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
184
|
draw_sprite_ext(sprite_index, image_index, x + image_xscale, y, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
185
|
draw_sprite_ext(sprite_index, image_index, x, y + image_yscale, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
186
|
draw_sprite_ext(sprite_index, image_index, x - image_xscale, y, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
187
|
if (_con)
|
|
188
|
{
|
|
189
|
var _spr = spr_susie_walk_up_windy_hair;
|
|
190
|
if (hair_wind)
|
|
191
|
hair_index = ((get_timer() / 1000000) * 30) / 5;
|
|
192
|
draw_sprite_ext(_spr, hair_index, x, y - image_yscale, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
193
|
draw_sprite_ext(_spr, hair_index, x + image_xscale, y, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
194
|
draw_sprite_ext(_spr, hair_index, x, y + image_yscale, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
195
|
draw_sprite_ext(_spr, hair_index, x - image_xscale, y, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
196
|
}
|
|
197
|
gpu_set_fog(false, c_black, 0, 0);
|
|
198
|
draw_self();
|
|
199
|
if (_con)
|
|
200
|
draw_sprite_ext(spr_susie_walk_up_windy_hair, hair_index, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|
|
201
|
};
|
|
202
|
}
|
|
203
|
ra_hunch = scr_dark_marker_fancyscr_dark_marker_fancy
function scr_dark_marker_fancy(arg0, arg1, arg2)
{
var _thismarker = instance_create(arg0, arg1, obj_marker_fancy);
with (_thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return _thismarker;
} (ra_actor.x, ra_actor.y, spr_ralsei_walk_up_windy);
|
|
204
|
with (ra_hunch)
|
|
205
|
{
|
|
206
|
depth = other.ra_actor.depth;
|
|
207
|
offsetx = x - other.kr_actor.x;
|
|
208
|
offsety = y - other.kr_actor.y;
|
|
209
|
redalpha = 0;
|
|
210
|
hair_wind = true;
|
|
211
|
hair_index = 0;
|
|
212
|
|
|
213
|
draw_func = function()
|
|
214
|
{
|
|
215
|
var _con = sprite_index == spr_ralsei_walk_up_windy || sprite_index == spr_ralsei_walk_up_windy_lookright;
|
|
216
|
gpu_set_fog(true, c_red, 0, 1);
|
|
217
|
draw_sprite_ext(sprite_index, image_index, x, y - image_yscale, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
218
|
draw_sprite_ext(sprite_index, image_index, x + image_xscale, y, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
219
|
draw_sprite_ext(sprite_index, image_index, x, y + image_yscale, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
220
|
draw_sprite_ext(sprite_index, image_index, x - image_xscale, y, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
221
|
if (_con)
|
|
222
|
{
|
|
223
|
var _spr = spr_ralsei_walk_up_windy_scarf;
|
|
224
|
if (hair_wind)
|
|
225
|
hair_index = ((get_timer() / 1000000) * 30) / 5;
|
|
226
|
draw_sprite_ext(_spr, hair_index, x, y - image_yscale, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
227
|
draw_sprite_ext(_spr, hair_index, x + image_xscale, y, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
228
|
draw_sprite_ext(_spr, hair_index, x, y + image_yscale, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
229
|
draw_sprite_ext(_spr, hair_index, x - image_xscale, y, image_xscale, image_yscale, 0, c_white, redalpha);
|
|
230
|
}
|
|
231
|
gpu_set_fog(false, c_black, 0, 0);
|
|
232
|
draw_self();
|
|
233
|
if (_con)
|
|
234
|
draw_sprite_ext(spr_ralsei_walk_up_windy_scarf, hair_index, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
|
|
235
|
};
|
|
236
|
}
|
|
237
|
});
|
|
238
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
239
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
240
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_up_windy);
|
|
241
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
242
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
243
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_up_windy);
|
|
244
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
245
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
246
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_kris_walk_up_windy);
|
|
247
|
c_msgsidec_msgside
function c_msgside(arg0)
{
c_cmd("msgside", arg0, 0, 0, 0);
} ("top");
|
|
248
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
249
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face d* D...Delay 11 Damn it!Wait for input"\\Ed* D..^1. Damn it!/", "obj_dw_churchc_darkswords_slash_Step_0_gml_274_0" );
|
|
250
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face c* It's so dark...Delay 11 we can't see anything...Wait for input"\\Ec* It's so dark..^1. we can't see anything.../", "obj_dw_churchc_darkswords_slash_Step_0_gml_275_0" );
|
|
251
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face b* If this keeps up,Delay 11 we'll be...Wait for inputClose Message"\\Eb* If this keeps up^1, we'll be.../%", "obj_dw_churchc_darkswords_slash_Step_0_gml_276_0" );
|
|
252
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
253
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
254
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
255
|
{
|
|
256
|
mus_initloop("dark_place.ogg");
|
|
257
|
mus_volume(global.currentsong[1], 0.5, 0);
|
|
258
|
mus_volume(global.currentsong[1], 1, 150);
|
|
259
|
with (super_darkness)
|
|
260
|
instance_destroy();
|
|
261
|
with (wind_effect)
|
|
262
|
{
|
|
263
|
con = 1;
|
|
264
|
depth = 900000;
|
|
265
|
}
|
|
266
|
snd_volume(wind_sound, wind_sound_peak_volume, 300);
|
|
267
|
});
|
|
268
|
c_var_lerp_instancec_var_lerp_instance
function c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
}
function c_lerp_var_instance()
{
if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
}
function c_lerpvar_instance()
{
if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
} (fakesoul, "image_alpha", 0, 1, 25, 2, "out");
|
|
269
|
whiteoutlineheart = 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;
} (fakesoul.x, fakesoul.y, spr_heart_outline_white);
|
|
270
|
whiteoutlineheart.depth = fakesoul.depth - 1;
|
|
271
|
whiteoutlineheart.image_alpha = 0;
|
|
272
|
whiteoutlineheart.image_xscale = 1;
|
|
273
|
whiteoutlineheart.image_yscale = 1;
|
|
274
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (45);
|
|
275
|
c_var_lerp_instancec_var_lerp_instance
function c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
}
function c_lerp_var_instance()
{
if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
}
function c_lerpvar_instance()
{
if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
} (whiteoutlineheart, "image_alpha", 0, 1, 10);
|
|
276
|
c_var_lerp_instancec_var_lerp_instance
function c_var_lerp_instance()
{
if (argument_count < 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], 0);
else if (argument_count == 6)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
else if (argument_count == 7)
c_cmd_x("var", argument[0], argument[1], argument[2], argument[3], argument[4], string(argument[5]) + string(argument[6]));
}
function c_lerp_var_instance()
{
if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
}
function c_lerpvar_instance()
{
if (argument_count >= 6)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
c_var_lerp_instance(argument0, argument1, argument2, argument3, argument4);
} (flash, "image_alpha", 0, 1, 10, 2, "out");
|
|
277
|
audio_sound_pitch(snd_great_shine, 0.6);
|
|
278
|
c_soundplayc_soundplay
function c_soundplay(arg0)
{
c_cmd("soundplay", arg0, 0, 0, 0);
}
function c_sndplay(arg0)
{
c_soundplay(arg0);
}
function c_snd_play(arg0)
{
c_soundplay(arg0);
}
function c_sound_play(arg0)
{
c_soundplay(arg0);
} (snd_great_shine);
|
|
279
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
280
|
{
|
|
281
|
scr_banishscr_banish
function scr_banish(arg0 = id, arg1)
{
with (instance_create_depth(0, 0, 0, obj_banish))
{
time = arg1;
alarm[0]
target = arg0;
base = target.image_alpha;
persistent = target.persistent;
}
} (fakesoul, 10);
|
|
282
|
fakesoul = whiteoutlineheart;
|
|
283
|
with (super_darkness)
|
|
284
|
instance_destroy();
|
|
285
|
draw_heart_effect = true;
|
|
286
|
siner = 0;
|
|
287
|
});
|
|
288
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
289
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
290
|
{
|
|
291
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (light_player, "lightalpha", 0, 0.6, 35);
|
|
292
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (light_player, "size", 0, 64, 50, 2, "out");
|
|
293
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (darkness, "image_alpha", 1, 0.76, 80);
|
|
294
|
});
|
|
295
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (25);
|
|
296
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
297
|
{
|
|
298
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (light_player_b, "lightalpha", 0, 0.4, 50);
|
|
299
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (light_player_b, "size", 0, 124, 40, 2, "out");
|
|
300
|
});
|
|
301
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (75);
|
|
302
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
303
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face d* K...Delay 11 Kris?Wait for input"\\Ed* K..^1. Kris?/", "obj_dw_churchc_darkswords_slash_Step_0_gml_333_0" );
|
|
304
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("susie", "D");
|
|
305
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face D* Kris...? What is that...Delay 11 light?Wait for inputClose Message"\\ED* Kris...? What is that..^1. light?/%", "obj_dw_churchc_darkswords_slash_Step_0_gml_335_0" );
|
|
306
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (0);
|
|
307
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
308
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
309
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
310
|
{
|
|
311
|
cam.panStyle[0] = 3;
|
|
312
|
});
|
|
313
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
314
|
con = 6;
|
|
315
|
}
|
|
316
|
if (con == 6)
|
|
317
|
{
|
|
318
|
if (!i_ex(cutscene_master))
|
|
319
|
{
|
|
320
|
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;
} ("heartalpha", 1, 0, 30);
|
|
321
|
wound = false;
|
|
322
|
cantdie = true;
|
|
323
|
global.interact = 0;
|
|
324
|
with (light_player)
|
|
325
|
target = 1049;
|
|
326
|
with (light_player_b)
|
|
327
|
target = 1049;
|
|
328
|
with (obj_mainchara)
|
|
329
|
sprite_index = spr_kris_walk_up_windy;
|
|
330
|
con = 7;
|
|
331
|
sync_friends = true;
|
|
332
|
with (obj_slowwalk)
|
|
333
|
maxwalkspeed = 2;
|
|
334
|
}
|
|
335
|
else
|
|
336
|
{
|
|
337
|
global.interact = 1;
|
|
338
|
}
|
|
339
|
}
|
|
340
|
if (con == 7)
|
|
341
|
{
|
|
342
|
if (kris.y < 3960 && !bulletareastarted)
|
|
343
|
{
|
|
344
|
bulletareastarted = true;
|
|
345
|
scr_lerp_instance_var(kr_special, "redalpha", 0, 0.7, 15);
|
|
346
|
}
|
|
347
|
if (i_ex(flash))
|
|
348
|
{
|
|
349
|
flash.image_alpha = heartalpha + (scr_wavescr_wave
function scr_wave(arg0, arg1, arg2, arg3)
{
var a4 = (arg1 - arg0) * 0.5;
return arg0 + a4 + (sin((((current_time * 0.001) + (arg2 * arg3)) / arg2) * (2 * pi)) * a4);
} (0, 0.6, 5, 0) * (1 - heartalpha));
|
|
350
|
if (flash.image_alpha <= 0.01)
|
|
351
|
flash.visible = false;
|
|
352
|
}
|
|
353
|
if (friends_protecc_state == 0)
|
|
354
|
{
|
|
355
|
if (wound)
|
|
356
|
{
|
|
357
|
if (wound_heavy)
|
|
358
|
{
|
|
359
|
wound_distance = 45;
|
|
360
|
wound_kneeltime = 80;
|
|
361
|
wound_returntime = 28;
|
|
362
|
}
|
|
363
|
wound_state = true;
|
|
364
|
global.interact = 1;
|
|
365
|
sync_friends = false;
|
|
366
|
with (obj_mainchara)
|
|
367
|
{
|
|
368
|
fun = 1;
|
|
369
|
sprite_index = spr_krisu_kneel_b;
|
|
370
|
drawbattlemode = 0;
|
|
371
|
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;
} ("y", y, y + other.wound_distance, 15, 2, "out");
|
|
372
|
}
|
|
373
|
wound = false;
|
|
374
|
timer = 0;
|
|
375
|
scr_lerp_instance_var(kr_special, "redalpha", 0.7, 0, 15);
|
|
376
|
}
|
|
377
|
if (wound_state)
|
|
378
|
{
|
|
379
|
global.interact = 1;
|
|
380
|
if (timer == 0)
|
|
381
|
{
|
|
382
|
su_hunch.sprite_index = spr_susie_walk_up_windy_lookleft;
|
|
383
|
ra_hunch.sprite_index = spr_ralsei_walk_up_windy_lookright;
|
|
384
|
}
|
|
385
|
timer++;
|
|
386
|
if (timer == 17)
|
|
387
|
{
|
|
388
|
with (obj_mainchara)
|
|
389
|
scr_minishakeobjscr_minishakeobj
function scr_minishakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
shakeobj.shakeamt = 4;
shakeobj.shakereduct = 1;
with (shakeobj)
event_user(0);
} ();
|
|
390
|
}
|
|
391
|
if (timer == 47 && wound_heavy)
|
|
392
|
{
|
|
393
|
with (obj_mainchara)
|
|
394
|
scr_minishakeobjscr_minishakeobj
function scr_minishakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
shakeobj.shakeamt = 4;
shakeobj.shakereduct = 1;
with (shakeobj)
event_user(0);
} ();
|
|
395
|
}
|
|
396
|
if (timer >= (wound_kneeltime - wound_standtime) && timer <= wound_kneeltime)
|
|
397
|
{
|
|
398
|
obj_mainchara.sprite_index = spr_kris_stand_from_kneel_up;
|
|
399
|
obj_mainchara.image_index = min((1 - ((wound_kneeltime - timer) / wound_standtime)) * obj_mainchara.image_number, obj_mainchara.image_number - 1);
|
|
400
|
ra_hunch.sprite_index = spr_ralsei_lift;
|
|
401
|
ra_hunch.image_index = min(obj_mainchara.image_index, ra_hunch.image_number - 1);
|
|
402
|
su_hunch.sprite_index = spr_susie_lift;
|
|
403
|
su_hunch.image_index = min(obj_mainchara.image_index, su_hunch.image_number - 1);
|
|
404
|
}
|
|
405
|
var _briefpause = 5;
|
|
406
|
if (timer == (wound_kneeltime + _briefpause))
|
|
407
|
{
|
|
408
|
ra_hunch.sprite_index = spr_ralsei_walk_up_windy;
|
|
409
|
su_hunch.sprite_index = spr_susie_walk_up_windy;
|
|
410
|
obj_mainchara.sprite_index = spr_kris_walk_up_windy;
|
|
411
|
with (obj_mainchara)
|
|
412
|
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;
} ("y", y, y - other.wound_distance, other.wound_returntime, 0);
|
|
413
|
}
|
|
414
|
if (timer > (wound_kneeltime + _briefpause))
|
|
415
|
obj_mainchara.sprite_index = spr_kris_walk_up_windy;
|
|
416
|
if (timer > (wound_kneeltime + wound_returntime + _briefpause))
|
|
417
|
{
|
|
418
|
sync_friends = true;
|
|
419
|
global.interact = 0;
|
|
420
|
wound_state = false;
|
|
421
|
scr_lerp_instance_var(kr_special, "redalpha", 0, 0.7, 15);
|
|
422
|
}
|
|
423
|
}
|
|
424
|
}
|
|
425
|
if (friends_protecc_state == 1)
|
|
426
|
{
|
|
427
|
framestore = obj_mainchara.image_index;
|
|
428
|
sync_friends = false;
|
|
429
|
global.interact = 1;
|
|
430
|
cutscene_master = scr_cutscene_makescr_cutscene_make
function scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} ();
|
|
431
|
scr_maincharacters_actorsscr_maincharacters_actors
function scr_maincharacters_actors()
{
actor_count = 0;
kr = 0;
kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index;
kr_actor.depth = obj_mainchara.depth;
with (obj_mainchara)
visible = 0;
for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++)
{
if (i_ex(global.cinstance[__jj]))
{
if (global.cinstance[__jj].name == "susie")
{
actor_count++;
su = __jj + 1;
su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index;
su_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "ralsei")
{
actor_count++;
ra = __jj + 1;
ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index;
ra_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "noelle")
{
actor_count++;
no = __jj + 1;
no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index;
no_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
}
}
} ();
|
|
432
|
ra_actor.x = ra_hunch.x;
|
|
433
|
ra_actor.y = ra_hunch.y;
|
|
434
|
su_actor.x = su_hunch.x;
|
|
435
|
su_actor.y = su_hunch.y;
|
|
436
|
su_actor.depth = su_hunch.depth;
|
|
437
|
ra_actor.depth = ra_hunch.depth;
|
|
438
|
su_actor.sprite_index = spr_susie_walk_up_windy_lookleft;
|
|
439
|
ra_actor.sprite_index = ra_hunch.sprite_index;
|
|
440
|
su_actor.image_index = su_hunch.image_index;
|
|
441
|
ra_actor.image_index = ra_hunch.image_index;
|
|
442
|
kr_actor.image_index = obj_mainchara.image_index;
|
|
443
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
444
|
c_autofacingc_autofacing
function c_autofacing(arg0)
{
c_cmd("autofacing", arg0, 0, 0, 0);
} (0);
|
|
445
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
446
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (framestore);
|
|
447
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
448
|
c_autofacingc_autofacing
function c_autofacing(arg0)
{
c_cmd("autofacing", arg0, 0, 0, 0);
} (0);
|
|
449
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
450
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (framestore);
|
|
451
|
var _sux = su_actor.x;
|
|
452
|
var _suy = su_actor.y;
|
|
453
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
454
|
c_autofacingc_autofacing
function c_autofacing(arg0)
{
c_cmd("autofacing", arg0, 0, 0, 0);
} (0);
|
|
455
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
456
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (framestore);
|
|
457
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
458
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_run_up);
|
|
459
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.6);
|
|
460
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (kris.x - 8, kris.y - 14, 7);
|
|
461
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (2);
|
|
462
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
463
|
c_lerp_var_instance(kr_special, "redalpha", 0.7, 0, 15);
|
|
464
|
c_jumpc_jump
function c_jump(arg0, arg1, arg2, arg3)
{
c_cmd("jump", arg0, arg1, arg2, arg3);
} (_sux + 8, _suy + 14, 10, 12);
|
|
465
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
466
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
467
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_up_windy);
|
|
468
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0);
|
|
469
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (0);
|
|
470
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (20);
|
|
471
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
472
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_up_windy_lookright);
|
|
473
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
474
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_kneel_up);
|
|
475
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
476
|
{
|
|
477
|
scr_lerp_var_instance(su_actor, "y", su_actor.y, su_actor.y + wound_distance, 15, 2, "out");
|
|
478
|
});
|
|
479
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (17);
|
|
480
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
481
|
{
|
|
482
|
with (su_actor)
|
|
483
|
scr_minishakeobjscr_minishakeobj
function scr_minishakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
shakeobj.shakeamt = 4;
shakeobj.shakereduct = 1;
with (shakeobj)
event_user(0);
} ();
|
|
484
|
});
|
|
485
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (43);
|
|
486
|
c_msgsidec_msgside
function c_msgside(arg0)
{
c_cmd("msgside", arg0, 0, 0, 0);
} ("top");
|
|
487
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
488
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face C* S...Delay 11 Susie...!Delay 11 What are you doing...!?Wait for input"\\EC* S..^1. Susie...^1! What are you doing...!?/", "obj_dw_churchc_darkswords_slash_Step_0_gml_572_0" );
|
|
489
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("susie", "l");
|
|
490
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face l* ...Delay 11 Like I'm going to let Kris hog all the bullets.Wait for inputClose Message"\\El* ..^1. Like I'm going to let Kris hog all the bullets./%", "obj_dw_churchc_darkswords_slash_Step_0_gml_574_0" );
|
|
491
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
492
|
cam.targetYRelative[0] = -24;
|
|
493
|
cam.targetXRelative[0] = -25;
|
|
494
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
495
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_stand_from_kneel_up);
|
|
496
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (0);
|
|
497
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
498
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
499
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_lift);
|
|
500
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (0);
|
|
501
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
502
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (ra_actor, "image_index", 1);
|
|
503
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (su_actor, "image_index", 1);
|
|
504
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
505
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (ra_actor, "image_index", 2);
|
|
506
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (su_actor, "image_index", 2);
|
|
507
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
508
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (ra_actor, "image_index", 3);
|
|
509
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (su_actor, "image_index", 3);
|
|
510
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
511
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
512
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_up_windy);
|
|
513
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (ra_actor, "image_index", kris.image_index);
|
|
514
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
515
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_up_windy);
|
|
516
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (kris.image_index);
|
|
517
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (8 / (wound_returntime + 1));
|
|
518
|
c_walkto_actor(su_actor, 0, -wound_distance, wound_returntime);
|
|
519
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (wound_returntime + 1);
|
|
520
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
521
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
522
|
{
|
|
523
|
wound = false;
|
|
524
|
ra_hunch.x = ra_actor.x;
|
|
525
|
ra_hunch.y = ra_actor.y;
|
|
526
|
su_hunch.x = su_actor.x;
|
|
527
|
su_hunch.y = su_actor.y;
|
|
528
|
ra_hunch.visible = true;
|
|
529
|
su_hunch.visible = true;
|
|
530
|
sync_friends = true;
|
|
531
|
ra_hunch.offsetx = ra_hunch.x - kr_actor.x;
|
|
532
|
ra_hunch.offsety = ra_hunch.y - kr_actor.y;
|
|
533
|
su_hunch.offsetx = su_hunch.x - kr_actor.x;
|
|
534
|
su_hunch.offsety = su_hunch.y - kr_actor.y;
|
|
535
|
with (obj_slowwalk)
|
|
536
|
maxwalkspeed = 2;
|
|
537
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (su_hunch, "redalpha", 0, 0.7, 15);
|
|
538
|
});
|
|
539
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
540
|
friends_protecc_state = 3;
|
|
541
|
}
|
|
542
|
if (friends_protecc_state == 3)
|
|
543
|
{
|
|
544
|
if (!i_ex(cutscene_master))
|
|
545
|
{
|
|
546
|
global.interact = 0;
|
|
547
|
if (wound)
|
|
548
|
{
|
|
549
|
wound_state = true;
|
|
550
|
global.interact = 1;
|
|
551
|
sync_friends = false;
|
|
552
|
with (su_hunch)
|
|
553
|
{
|
|
554
|
sprite_index = spr_susie_kneel_up;
|
|
555
|
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;
} ("y", y, y + other.wound_distance, 15, 2, "out");
|
|
556
|
}
|
|
557
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (su_hunch, "redalpha", 0.7, 0, 15);
|
|
558
|
wound = false;
|
|
559
|
timer = 0;
|
|
560
|
}
|
|
561
|
if (wound_state)
|
|
562
|
{
|
|
563
|
global.interact = 1;
|
|
564
|
if (timer == 0)
|
|
565
|
ra_hunch.sprite_index = spr_ralsei_walk_up_windy_lookright;
|
|
566
|
timer++;
|
|
567
|
if (timer == 17)
|
|
568
|
{
|
|
569
|
with (su_hunch)
|
|
570
|
scr_minishakeobjscr_minishakeobj
function scr_minishakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
shakeobj.shakeamt = 4;
shakeobj.shakereduct = 1;
with (shakeobj)
event_user(0);
} ();
|
|
571
|
}
|
|
572
|
if (timer == 47 && wound_heavy)
|
|
573
|
{
|
|
574
|
with (su_hunch)
|
|
575
|
scr_minishakeobjscr_minishakeobj
function scr_minishakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
shakeobj.shakeamt = 4;
shakeobj.shakereduct = 1;
with (shakeobj)
event_user(0);
} ();
|
|
576
|
}
|
|
577
|
if (timer >= (wound_kneeltime - wound_standtime) && timer <= wound_kneeltime)
|
|
578
|
{
|
|
579
|
su_hunch.sprite_index = spr_susie_stand_from_kneel_up;
|
|
580
|
su_hunch.image_index = min((1 - ((wound_kneeltime - timer) / wound_standtime)) * su_hunch.image_number, su_hunch.image_number - 1);
|
|
581
|
ra_hunch.sprite_index = spr_ralsei_lift;
|
|
582
|
ra_hunch.image_index = min(su_hunch.image_index, ra_hunch.image_number - 1);
|
|
583
|
}
|
|
584
|
var _briefpause = 5;
|
|
585
|
if (timer == (wound_kneeltime + _briefpause))
|
|
586
|
{
|
|
587
|
with (su_hunch)
|
|
588
|
{
|
|
589
|
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;
} ("y", y, y - other.wound_distance, other.wound_returntime, 0);
|
|
590
|
sprite_index = spr_susie_walk_up_windy;
|
|
591
|
image_speed = 8 / other.wound_returntime;
|
|
592
|
}
|
|
593
|
ra_hunch.sprite_index = spr_ralsei_walk_up_windy;
|
|
594
|
}
|
|
595
|
if (timer > (wound_kneeltime + wound_returntime + _briefpause))
|
|
596
|
{
|
|
597
|
sync_friends = true;
|
|
598
|
global.interact = 0;
|
|
599
|
wound_state = false;
|
|
600
|
su_hunch.sprite_index = spr_susie_walk_up_windy;
|
|
601
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (su_hunch, "redalpha", 0, 0.7, 15);
|
|
602
|
}
|
|
603
|
}
|
|
604
|
}
|
|
605
|
else
|
|
606
|
{
|
|
607
|
global.interact = 1;
|
|
608
|
}
|
|
609
|
}
|
|
610
|
if (friends_protecc_state == 4)
|
|
611
|
{
|
|
612
|
sync_friends = false;
|
|
613
|
global.interact = 1;
|
|
614
|
cutscene_master = scr_cutscene_makescr_cutscene_make
function scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} ();
|
|
615
|
scr_maincharacters_actorsscr_maincharacters_actors
function scr_maincharacters_actors()
{
actor_count = 0;
kr = 0;
kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index;
kr_actor.depth = obj_mainchara.depth;
with (obj_mainchara)
visible = 0;
for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++)
{
if (i_ex(global.cinstance[__jj]))
{
if (global.cinstance[__jj].name == "susie")
{
actor_count++;
su = __jj + 1;
su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index;
su_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "ralsei")
{
actor_count++;
ra = __jj + 1;
ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index;
ra_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "noelle")
{
actor_count++;
no = __jj + 1;
no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index;
no_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
}
}
} ();
|
|
616
|
scr_actor_facingscr_actor_facing
function scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (ra_actor, "u");
|
|
617
|
scr_actor_facingscr_actor_facing
function scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (su_actor, "u");
|
|
618
|
ra_actor.x = ra_hunch.x;
|
|
619
|
ra_actor.y = ra_hunch.y;
|
|
620
|
su_actor.x = su_hunch.x;
|
|
621
|
su_actor.y = su_hunch.y;
|
|
622
|
su_actor.depth = su_hunch.depth;
|
|
623
|
ra_actor.depth = ra_hunch.depth;
|
|
624
|
su_actor.sprite_index = su_hunch.sprite_index;
|
|
625
|
ra_actor.sprite_index = spr_ralsei_walk_up_windy_lookright;
|
|
626
|
su_actor.image_index = su_hunch.image_index;
|
|
627
|
ra_actor.image_index = ra_hunch.image_index;
|
|
628
|
kr_actor.image_index = obj_mainchara.image_index;
|
|
629
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
630
|
c_autofacingc_autofacing
function c_autofacing(arg0)
{
c_cmd("autofacing", arg0, 0, 0, 0);
} (0);
|
|
631
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
632
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (framestore);
|
|
633
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
634
|
c_autofacingc_autofacing
function c_autofacing(arg0)
{
c_cmd("autofacing", arg0, 0, 0, 0);
} (0);
|
|
635
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
636
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_up_windy);
|
|
637
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (framestore);
|
|
638
|
var _rux = ra_actor.x;
|
|
639
|
var _ruy = ra_actor.y;
|
|
640
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
641
|
c_autofacingc_autofacing
function c_autofacing(arg0)
{
c_cmd("autofacing", arg0, 0, 0, 0);
} (0);
|
|
642
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
643
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
644
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_up_windy);
|
|
645
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.9);
|
|
646
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (su_actor.x + 6, su_actor.y + 4, 7);
|
|
647
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (2);
|
|
648
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
649
|
c_lerp_var_instance(su_hunch, "redalpha", 0.7, 0, 15);
|
|
650
|
c_autofacingc_autofacing
function c_autofacing(arg0)
{
c_cmd("autofacing", arg0, 0, 0, 0);
} (0);
|
|
651
|
c_jumpc_jump
function c_jump(arg0, arg1, arg2, arg3)
{
c_cmd("jump", arg0, arg1, arg2, arg3);
} (_rux - 6, _ruy - 4, 10, 12);
|
|
652
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (5);
|
|
653
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
654
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_up_windy);
|
|
655
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0);
|
|
656
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (0);
|
|
657
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (20);
|
|
658
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
659
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_kneel_up);
|
|
660
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
661
|
{
|
|
662
|
scr_lerp_var_instance(ra_actor, "y", ra_actor.y, ra_actor.y + wound_distance, 15, 2, "out");
|
|
663
|
});
|
|
664
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (17);
|
|
665
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
666
|
{
|
|
667
|
with (ra_actor)
|
|
668
|
scr_minishakeobjscr_minishakeobj
function scr_minishakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
shakeobj.shakeamt = 4;
shakeobj.shakereduct = 1;
with (shakeobj)
event_user(0);
} ();
|
|
669
|
});
|
|
670
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (43);
|
|
671
|
c_msgsidec_msgside
function c_msgside(arg0)
{
c_cmd("msgside", arg0, 0, 0, 0);
} ("top");
|
|
672
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
673
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face Q* Susie...Delay 11 Kris...Delay 11 as long as...Wait for input"\\EQ* Susie..^1. Kris..^1. as long as.../", "obj_dw_churchc_darkswords_slash_Step_0_gml_804_0" );
|
|
674
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face c* There's any pain I can take in your place...Wait for input"\\Ec* There's any pain I can take in your place.../", "obj_dw_churchc_darkswords_slash_Step_0_gml_805_0" );
|
|
675
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face e* I'll be there,Delay 11 okay?Wait for inputClose Message"\\Ee* I'll be there^1, okay?/%", "obj_dw_churchc_darkswords_slash_Step_0_gml_806_0" );
|
|
676
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
677
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
678
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_stand_from_kneel_up);
|
|
679
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (0);
|
|
680
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
681
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
682
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_lift_r);
|
|
683
|
c_imageindexc_imageindex
function c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
} (0);
|
|
684
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
685
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (ra_actor, "image_index", 1);
|
|
686
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (su_actor, "image_index", 1);
|
|
687
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
688
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (ra_actor, "image_index", 2);
|
|
689
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (su_actor, "image_index", 2);
|
|
690
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
691
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (ra_actor, "image_index", 3);
|
|
692
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (su_actor, "image_index", 3);
|
|
693
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (4);
|
|
694
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
695
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_up_windy);
|
|
696
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (su_actor, "image_index", kris.image_index);
|
|
697
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
698
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
699
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.25);
|
|
700
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_up_windy);
|
|
701
|
c_walkto_actor(ra_actor, 0, -wound_distance, wound_returntime);
|
|
702
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (wound_returntime + 1);
|
|
703
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
704
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
705
|
{
|
|
706
|
wound = false;
|
|
707
|
ra_hunch.x = ra_actor.x;
|
|
708
|
ra_hunch.y = ra_actor.y;
|
|
709
|
su_hunch.x = su_actor.x;
|
|
710
|
su_hunch.y = su_actor.y;
|
|
711
|
ra_hunch.visible = true;
|
|
712
|
su_hunch.visible = true;
|
|
713
|
su_hunch.sprite_index = spr_susie_walk_up_windy;
|
|
714
|
sync_friends = true;
|
|
715
|
ra_hunch.offsetx = ra_hunch.x - kr_actor.x;
|
|
716
|
ra_hunch.offsety = ra_hunch.y - kr_actor.y;
|
|
717
|
su_hunch.offsetx = su_hunch.x - kr_actor.x;
|
|
718
|
su_hunch.offsety = su_hunch.y - kr_actor.y;
|
|
719
|
with (obj_slowwalk)
|
|
720
|
maxwalkspeed = 2;
|
|
721
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (ra_hunch, "redalpha", 0, 0.7, 15);
|
|
722
|
});
|
|
723
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
724
|
friends_protecc_state = 5;
|
|
725
|
}
|
|
726
|
if (friends_protecc_state == 5)
|
|
727
|
{
|
|
728
|
if (!i_ex(cutscene_master))
|
|
729
|
{
|
|
730
|
global.interact = 0;
|
|
731
|
if (wound)
|
|
732
|
{
|
|
733
|
wound_state = true;
|
|
734
|
global.interact = 1;
|
|
735
|
sync_friends = false;
|
|
736
|
with (ra_hunch)
|
|
737
|
{
|
|
738
|
sprite_index = spr_ralsei_kneel_up;
|
|
739
|
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;
} ("y", y, y + other.wound_distance, 15, 2, "out");
|
|
740
|
}
|
|
741
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (ra_hunch, "redalpha", 0.7, 0, 15);
|
|
742
|
wound = false;
|
|
743
|
timer = 0;
|
|
744
|
}
|
|
745
|
if (wound_state)
|
|
746
|
{
|
|
747
|
global.interact = 1;
|
|
748
|
timer++;
|
|
749
|
if (timer == 17)
|
|
750
|
{
|
|
751
|
with (ra_hunch)
|
|
752
|
scr_minishakeobjscr_minishakeobj
function scr_minishakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
shakeobj.shakeamt = 4;
shakeobj.shakereduct = 1;
with (shakeobj)
event_user(0);
} ();
|
|
753
|
}
|
|
754
|
if (timer == 47 && wound_heavy)
|
|
755
|
{
|
|
756
|
with (ra_hunch)
|
|
757
|
scr_minishakeobjscr_minishakeobj
function scr_minishakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
shakeobj.shakeamt = 4;
shakeobj.shakereduct = 1;
with (shakeobj)
event_user(0);
} ();
|
|
758
|
}
|
|
759
|
if (timer >= (wound_kneeltime - wound_standtime) && timer <= wound_kneeltime)
|
|
760
|
{
|
|
761
|
ra_hunch.sprite_index = spr_ralsei_stand_from_kneel_up;
|
|
762
|
ra_hunch.image_index = min((1 - ((wound_kneeltime - timer) / wound_standtime)) * ra_hunch.image_number, ra_hunch.image_number - 1);
|
|
763
|
su_hunch.sprite_index = spr_susie_lift_r;
|
|
764
|
su_hunch.image_index = min(ra_hunch.image_index, su_hunch.image_number - 1);
|
|
765
|
}
|
|
766
|
var _briefpause = 5;
|
|
767
|
if (timer == (wound_kneeltime + _briefpause))
|
|
768
|
{
|
|
769
|
with (ra_hunch)
|
|
770
|
{
|
|
771
|
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;
} ("y", y, y - other.wound_distance, other.wound_returntime, 0);
|
|
772
|
sprite_index = spr_ralsei_walk_up_windy;
|
|
773
|
image_speed = 8 / other.wound_returntime;
|
|
774
|
}
|
|
775
|
su_hunch.sprite_index = spr_susie_walk_up_windy;
|
|
776
|
su_hunch.image_xscale = 2;
|
|
777
|
}
|
|
778
|
if (timer > (wound_kneeltime + wound_returntime + _briefpause))
|
|
779
|
{
|
|
780
|
sync_friends = true;
|
|
781
|
global.interact = 0;
|
|
782
|
wound_state = false;
|
|
783
|
ra_hunch.sprite_index = spr_ralsei_walk_up_windy;
|
|
784
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (ra_hunch, "redalpha", 0, 0.7, 15);
|
|
785
|
}
|
|
786
|
}
|
|
787
|
}
|
|
788
|
else
|
|
789
|
{
|
|
790
|
global.interact = 1;
|
|
791
|
}
|
|
792
|
}
|
|
793
|
if (kris.y < vertical_endy)
|
|
794
|
con = 10;
|
|
795
|
}
|
|
796
|
if (con == 10)
|
|
797
|
{
|
|
798
|
with (wind_effect)
|
|
799
|
con = 0;
|
|
800
|
with (instance_create(4080, 1360, obj_solidblockDark))
|
|
801
|
{
|
|
802
|
image_xscale = 5;
|
|
803
|
image_yscale = 5;
|
|
804
|
}
|
|
805
|
layer_set_visible("TILES_BLOCKED", true);
|
|
806
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (ra_hunch, "redalpha", 0.7, 0, 15);
|
|
807
|
cutscene_master = scr_cutscene_makescr_cutscene_make
function scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} ();
|
|
808
|
scr_maincharacters_actorsscr_maincharacters_actors
function scr_maincharacters_actors()
{
actor_count = 0;
kr = 0;
kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index;
kr_actor.depth = obj_mainchara.depth;
with (obj_mainchara)
visible = 0;
for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++)
{
if (i_ex(global.cinstance[__jj]))
{
if (global.cinstance[__jj].name == "susie")
{
actor_count++;
su = __jj + 1;
su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index;
su_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "ralsei")
{
actor_count++;
ra = __jj + 1;
ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index;
ra_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "noelle")
{
actor_count++;
no = __jj + 1;
no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index;
no_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
}
}
} ();
|
|
809
|
scr_actor_facingscr_actor_facing
function scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (ra_actor, "u");
|
|
810
|
scr_actor_facingscr_actor_facing
function scr_actor_facing(arg0, arg1)
{
__newfacing = arg1;
arg0.facing = __newfacing;
if (__newfacing == "d")
arg0.sprite_index = arg0.dsprite;
if (__newfacing == "r")
arg0.sprite_index = arg0.rsprite;
if (__newfacing == "l")
arg0.sprite_index = arg0.lsprite;
if (__newfacing == "u")
arg0.sprite_index = arg0.usprite;
} (su_actor, "u");
|
|
811
|
global.interact = 1;
|
|
812
|
ra_hunch.hair_wind = false;
|
|
813
|
su_hunch.hair_wind = false;
|
|
814
|
kr_special.hair_wind = false;
|
|
815
|
ra_actor.x = ra_hunch.x;
|
|
816
|
ra_actor.y = ra_hunch.y;
|
|
817
|
su_actor.x = su_hunch.x;
|
|
818
|
su_actor.y = su_hunch.y;
|
|
819
|
ra_actor.depth = ra_hunch.depth;
|
|
820
|
su_actor.depth = su_hunch.depth;
|
|
821
|
ra_actor.sprite_index = ra_hunch.sprite_index;
|
|
822
|
su_actor.sprite_index = su_hunch.sprite_index;
|
|
823
|
su_actor.image_index = su_hunch.image_index;
|
|
824
|
ra_actor.image_index = ra_hunch.image_index;
|
|
825
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
826
|
c_customfuncc_customfunc
function c_customfunc(arg0, arg1 = -1)
{
if (instance_exists(obj_cutscene_master))
{
with (obj_cutscene_master)
array_push(customfuncs, arg0);
c_cmd("customfunc", arg1, 0, 0, 0);
}
}
function c_delay_customfunc(arg0, arg1, arg2 = -1)
{
if (instance_exists(obj_cutscene_master))
c_cmd_x("delaycmd", arg0, "customfunc", arg2, arg1, 0, 0);
} (function()
|
|
827
|
{
|
|
828
|
scr_banishscr_banish
function scr_banish(arg0 = id, arg1)
{
with (instance_create_depth(0, 0, 0, obj_banish))
{
time = arg1;
alarm[0]
target = arg0;
base = target.image_alpha;
persistent = target.persistent;
}
} (fakesoul, 50);
|
|
829
|
scr_banishscr_banish
function scr_banish(arg0 = id, arg1)
{
with (instance_create_depth(0, 0, 0, obj_banish))
{
time = arg1;
alarm[0]
target = arg0;
base = target.image_alpha;
persistent = target.persistent;
}
} (flash, 50);
|
|
830
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (light_player, "lightalpha", light_player.lightalpha, 0, 130);
|
|
831
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (light_player, "size", light_player.size, 330, 150, 2, "in");
|
|
832
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (light_player_b, "lightalpha", light_player_b.lightalpha, 0, 130);
|
|
833
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (light_player_b, "size", light_player_b.size, 400, 150, 2, "in");
|
|
834
|
scr_lerpvar_instancescr_lerpvar_instance
function scr_lerpvar_instance()
{
__lerpvar = instance_create(0, 0, obj_lerpvar);
__lerpvar.target = argument[0];
__lerpvar.varname = argument[1];
__lerpvar.pointa = argument[2];
__lerpvar.pointb = argument[3];
__lerpvar.maxtime = argument[4];
if (argument_count >= 6)
__lerpvar.easetype = argument[5];
if (argument_count >= 7)
__lerpvar.easeinout = argument[6];
return __lerpvar;
}
function scr_lerp_var_instance()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
}
function scr_lerp_instance_var()
{
if (argument_count >= 6)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5);
else if (argument_count >= 7)
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4, argument5, argument6);
else
return scr_lerpvar_instance(argument0, argument1, argument2, argument3, argument4);
} (darkness, "image_alpha", darkness.image_alpha, darkness_initial, 130);
|
|
835
|
mus_fade(global.currentsong[1], 140);
|
|
836
|
snd_volume(wind_sound, 0, 130);
|
|
837
|
with (obj_darkcontroller)
|
|
838
|
charcon = 0;
|
|
839
|
});
|
|
840
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (160);
|
|
841
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
842
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
843
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
844
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
845
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
846
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("l");
|
|
847
|
c_msgsidec_msgside
function c_msgside(arg0)
{
c_cmd("msgside", arg0, 0, 0, 0);
} ("bottom");
|
|
848
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
849
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face Q* ...Delay 11 Looks like that's the end of it.Wait for input"\\EQ* ..^1. Looks like that's the end of it./", "obj_dw_churchc_darkswords_slash_Step_0_gml_999_0" );
|
|
850
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("susie", "D");
|
|
851
|
c_msgnextlocc_msgnextloc
function c_msgnextloc(arg0, arg1)
{
var str = arg0;
var localized_string_id = arg1;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
} (Face D* ...Delay 11 Yeah.Wait for inputClose Message"\\ED* ..^1. Yeah./%", "obj_dw_churchc_darkswords_slash_Step_0_gml_1001_0" );
|
|
852
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
853
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
854
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
855
|
c_msgsetlocc_msgsetloc
function c_msgsetloc(arg0, arg1, arg2)
{
var msg_index = arg0;
var english = arg1;
var localized_string_id = arg2;
var str = english;
if (!is_english())
str = scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
} (0, Face Y* ...Delay 11 Let's finish this.Wait for inputClose Message"\\EY* ..^1. Let's finish this./%", "obj_dw_churchc_darkswords_slash_Step_0_gml_1005_0" );
|
|
856
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
857
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
858
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
859
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
860
|
with (obj_slowwalk)
|
|
861
|
instance_destroy();
|
|
862
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
863
|
c_actortocaterpillarc_actortocaterpillar
function c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} ();
|
|
864
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
865
|
con = 11;
|
|
866
|
obj_mainchara.mask_index = spr_krisu_dark;
|
|
867
|
obj_mainchara.fun = 0;
|
|
868
|
wrappedup = true;
|
|
869
|
}
|
|
870
|
if (con == 11)
|
|
871
|
{
|
|
872
|
if (!i_ex(cutscene_master))
|
|
873
|
{
|
|
874
|
ra_hunch.visible = false;
|
|
875
|
su_hunch.visible = false;
|
|
876
|
with (obj_caterpillarchara)
|
|
877
|
follow = 1;
|
|
878
|
scr_caterpillar_interpolatescr_caterpillar_interpolate
function scr_caterpillar_interpolate(arg0 = "none")
{
if (arg0 == "all")
{
with (obj_caterpillarchara)
scr_caterpillar_interpolate_old();
}
else if (arg0 == "none")
{
if (object_index == obj_caterpillarchara)
scr_caterpillar_interpolate_old();
}
else
{
with (obj_caterpillarchara)
{
if (name == arg0)
scr_caterpillar_interpolate_old();
}
}
}
function scr_caterinterp(arg0 = "none")
{
scr_caterpillar_interpolate(arg0);
}
function scr_caterpillar_interpolate_old()
{
_newfacing = scr_facing_letter_to_number(scr_get_cardinal_direction(point_direction(x, y, obj_mainchara.x, obj_mainchara.y)));
remx[0] = obj_mainchara.x;
remy[0] = obj_mainchara.y;
facing[0] = _newfacing;
for (_iaia = target; _iaia > 0; _iaia -= 1)
{
remx[_iaia] = lerp(obj_mainchara.x, x, _iaia / target);
if (global.darkzone == 1)
remy[_iaia] = lerp(obj_mainchara.y, y + 16, _iaia / target);
else
remy[_iaia] = lerp(obj_mainchara.y, y + 6, _iaia / target);
facing[_iaia] = _newfacing;
}
} ();
|
|
879
|
snd_free_all();
|
|
880
|
global.interact = 0;
|
|
881
|
con = 12;
|
|
882
|
}
|
|
883
|
else
|
|
884
|
{
|
|
885
|
global.interact = 1;
|
|
886
|
}
|
|
887
|
global.plot = 248;
|
|
888
|
with (obj_border_controller)
|
|
889
|
show_border();
|
|
890
|
}
|
|
891
|
if (con == 12)
|
|
892
|
{
|
|
893
|
}
|
|
894
|
if (scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
} () && keyboard_check_pressed(ord("K")))
|
|
895
|
friends_protecc_state = 4;
|
|
896
|
}
|