|
1
|
var xx = camerax();
|
|
2
|
var yy = cameray();
|
|
3
|
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;
}
}
} ();
|
|
4
|
if (con == 0)
|
|
5
|
{
|
|
6
|
con = 1;
|
|
7
|
alarm[0] = 1; gml_Object_obj_dw_church_knightclimbpost_Alarm_0.gml
con++;
|
|
8
|
var pos = scr_heromarkerscr_heromarker
function scr_heromarker(arg0 = "", arg1 = "")
{
var ____foundmarker = -4;
var xpos = -1;
var ypos = -1;
var objindextocheck = 1365;
if (string_pos("kr", arg0) != 0)
objindextocheck = 544;
if (string_pos("su", arg0) != 0)
objindextocheck = 522;
if (string_pos("ra", arg0) != 0)
objindextocheck = 75;
if (string_pos("no", arg0) != 0)
objindextocheck = 933;
if (string_pos("gen", arg0) != 0)
objindextocheck = 1365;
with (objindextocheck)
{
if (variable_instance_exists(id, "extflag"))
{
if (extflag == arg1)
____foundmarker = id;
}
}
if (instance_exists(____foundmarker))
{
xpos = ____foundmarker.x;
ypos = ____foundmarker.y;
}
if (____foundmarker == -4)
{
debug_message("scr_heromarker(" + arg0 + "," + arg1 + ") Object Not Found");
return [-4, -4, -4];
}
return [xpos, ypos, ____foundmarker];
}
function scr_genmarker(arg0 = "")
{
var marker = -4;
with (obj_genmarker)
{
if (extflag == arg0)
marker = id;
}
return marker;
} ("kr", "knightend");
|
|
9
|
setxy(pos[0], pos[1], kris);
|
|
10
|
pos = scr_heromarkerscr_heromarker
function scr_heromarker(arg0 = "", arg1 = "")
{
var ____foundmarker = -4;
var xpos = -1;
var ypos = -1;
var objindextocheck = 1365;
if (string_pos("kr", arg0) != 0)
objindextocheck = 544;
if (string_pos("su", arg0) != 0)
objindextocheck = 522;
if (string_pos("ra", arg0) != 0)
objindextocheck = 75;
if (string_pos("no", arg0) != 0)
objindextocheck = 933;
if (string_pos("gen", arg0) != 0)
objindextocheck = 1365;
with (objindextocheck)
{
if (variable_instance_exists(id, "extflag"))
{
if (extflag == arg1)
____foundmarker = id;
}
}
if (instance_exists(____foundmarker))
{
xpos = ____foundmarker.x;
ypos = ____foundmarker.y;
}
if (____foundmarker == -4)
{
debug_message("scr_heromarker(" + arg0 + "," + arg1 + ") Object Not Found");
return [-4, -4, -4];
}
return [xpos, ypos, ____foundmarker];
}
function scr_genmarker(arg0 = "")
{
var marker = -4;
with (obj_genmarker)
{
if (extflag == arg0)
marker = id;
}
return marker;
} ("ra", "knightend");
|
|
11
|
ralsei.fun = 1;
|
|
12
|
ralsei.sprite_index = spr_ralsei_surprised_left_walk;
|
|
13
|
setxy(pos[0], pos[1], ralsei);
|
|
14
|
pos = scr_heromarkerscr_heromarker
function scr_heromarker(arg0 = "", arg1 = "")
{
var ____foundmarker = -4;
var xpos = -1;
var ypos = -1;
var objindextocheck = 1365;
if (string_pos("kr", arg0) != 0)
objindextocheck = 544;
if (string_pos("su", arg0) != 0)
objindextocheck = 522;
if (string_pos("ra", arg0) != 0)
objindextocheck = 75;
if (string_pos("no", arg0) != 0)
objindextocheck = 933;
if (string_pos("gen", arg0) != 0)
objindextocheck = 1365;
with (objindextocheck)
{
if (variable_instance_exists(id, "extflag"))
{
if (extflag == arg1)
____foundmarker = id;
}
}
if (instance_exists(____foundmarker))
{
xpos = ____foundmarker.x;
ypos = ____foundmarker.y;
}
if (____foundmarker == -4)
{
debug_message("scr_heromarker(" + arg0 + "," + arg1 + ") Object Not Found");
return [-4, -4, -4];
}
return [xpos, ypos, ____foundmarker];
}
function scr_genmarker(arg0 = "")
{
var marker = -4;
with (obj_genmarker)
{
if (extflag == arg0)
marker = id;
}
return marker;
} ("su", "knightend");
|
|
15
|
setxy(pos[0], pos[1], susie);
|
|
16
|
global.interact = 1;
|
|
17
|
global.facing = 2;
|
|
18
|
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;
}
} ("all");
|
|
19
|
scr_caterpillar_facingscr_caterpillar_facing
function scr_caterpillar_facing(arg0 = 0, arg1 = "all")
{
with (obj_caterpillarchara)
{
if (name == arg1 || arg1 == "all")
{
for (var _i = 0; _i < 25; _i += 1)
facing[_i] = arg0;
}
}
} (3, "all");
|
|
20
|
}
|
|
21
|
if (con == 2)
|
|
22
|
{
|
|
23
|
if (scr_debugscr_debug
function scr_debug()
{
if (global.debug == 1)
return 1;
} () && global.tempflag[90] == 2)
|
|
24
|
{
|
|
25
|
con = 5;
|
|
26
|
with (roaring_knight)
|
|
27
|
instance_destroy();
|
|
28
|
giant_door_marker.image_index = 1;
|
|
29
|
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;
} ();
|
|
30
|
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;
}
}
}
} ();
|
|
31
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
32
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("l");
|
|
33
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (1718, 1692);
|
|
34
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
35
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("susieunhappy");
|
|
36
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
37
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (ra_actor.x - 80, ra_actor.y);
|
|
38
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
39
|
}
|
|
40
|
else
|
|
41
|
{
|
|
42
|
con = 3;
|
|
43
|
alarm[0] = 1; gml_Object_obj_dw_church_knightclimbpost_Alarm_0.gml
con++;
|
|
44
|
}
|
|
45
|
}
|
|
46
|
if (con == 4)
|
|
47
|
{
|
|
48
|
con = 5;
|
|
49
|
global.interact = 1;
|
|
50
|
global.facing = 0;
|
|
51
|
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;
} ();
|
|
52
|
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;
}
}
}
} ();
|
|
53
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
54
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (kr_actor.x, kr_actor.y - 60, 15);
|
|
55
|
c_delayfacingc_delayfacing
function c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
} (16, "l");
|
|
56
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
57
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
58
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("susieunhappy");
|
|
59
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_left_angry);
|
|
60
|
c_addxyc_addxy
function c_addxy(arg0, arg1)
{
c_cmd("addxy", arg0, arg1, 0, 0);
} (-20, -40);
|
|
61
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
62
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
63
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_surprised_left_walk);
|
|
64
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
65
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
66
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.4);
|
|
67
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (ra_actor.x - 40, ra_actor.y, 12);
|
|
68
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} (13, "imagespeed", 0);
|
|
69
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} (13, "imageindex", 0);
|
|
70
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (1);
|
|
71
|
c_panc_pan
function c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
} (camerax() - 200, cameray() - 180, 30);
|
|
72
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
73
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
74
|
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 D-Don't...Wait for inputClose Message"\\EC* S..^1. Susie^1! D-Don't.../%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_114_0" );
|
|
75
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
76
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (1);
|
|
77
|
c_pan_waitc_pan_wait
function c_pan_wait(arg0, arg1, arg2)
{
c_pan(arg0, arg1, arg2);
c_wait(arg2);
} (camerax() - 500, cameray() - 340, 30);
|
|
78
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
79
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
80
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_angry_pose_left);
|
|
81
|
c_shakeobjc_shakeobj
function c_shakeobj()
{
c_cmd("shakeobj", 0, 0, 0, 0);
} ();
|
|
82
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
83
|
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 I* What,Delay 11 and just let this loser get away!?Wait for inputClose Message"\\EI* What^1, and just let this loser get away!?/%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_127_0" );
|
|
84
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
85
|
var run_speed = 10;
|
|
86
|
var k_x_pos = 1500;
|
|
87
|
var k_y_pos = 300;
|
|
88
|
var kr_x_pos_left = 240;
|
|
89
|
var k_move_time = scr_calculate_move_distancescr_calculate_move_distance
function scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{
var move_time = 1;
var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4);
if (distance_time > move_time)
move_time = distance_time;
return move_time;
} (roaring_knight.xstart, roaring_knight.ystart, k_x_pos, k_y_pos, run_speed + 1);
|
|
90
|
var k_move_time_left = scr_calculate_move_distancescr_calculate_move_distance
function scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{
var move_time = 1;
var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4);
if (distance_time > move_time)
move_time = distance_time;
return move_time;
} (k_x_pos, k_y_pos, kr_x_pos_left, k_y_pos, run_speed - 1);
|
|
91
|
c_var_lerp_to_instance(roaring_knight, "x", k_x_pos, k_move_time, 2);
|
|
92
|
c_var_lerp_to_instance(roaring_knight, "ystart", k_y_pos, k_move_time, 2);
|
|
93
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
94
|
var su_x_pos = 1500;
|
|
95
|
var su_y_pos = 400;
|
|
96
|
var su_x_pos_left = 490;
|
|
97
|
var su_move_time = scr_calculate_move_distancescr_calculate_move_distance
function scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{
var move_time = 1;
var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4);
if (distance_time > move_time)
move_time = distance_time;
return move_time;
} (su_actor.x, su_actor.y, su_x_pos, su_y_pos, run_speed);
|
|
98
|
var su_move_time_left = scr_calculate_move_distancescr_calculate_move_distance
function scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{
var move_time = 1;
var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4);
if (distance_time > move_time)
move_time = distance_time;
return move_time;
} (su_x_pos, su_y_pos, su_x_pos_left, su_y_pos, run_speed + 1);
|
|
99
|
c_panc_pan
function c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
} (camerax() - 1080, cameray() - 1040, su_move_time);
|
|
100
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
101
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
102
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_run_serious_left);
|
|
103
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.4);
|
|
104
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (su_x_pos, su_y_pos, su_move_time);
|
|
105
|
c_delaywalkdirectc_delaywalkdirect
function c_delaywalkdirect(arg0, arg1, arg2, arg3)
{
c_cmd_x("delaycmd", arg0, "walkdirect", arg1, arg2, arg3, 0);
} (su_move_time + 1, su_x_pos_left, su_y_pos, su_move_time_left);
|
|
106
|
c_delaycmd4c_delaycmd4
function c_delaycmd4(arg0, arg1, arg2, arg3, arg4, arg5)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, arg3, arg4, arg5);
} (su_move_time + 1, "pan", 0, cameray() - 1040, su_move_time_left - 6);
|
|
107
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (k_move_time - 10);
|
|
108
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (roaring_knight, "sprite_index", spr_roaringknight_ball_transition);
|
|
109
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (roaring_knight, "image_index", 9);
|
|
110
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (roaring_knight, "image_speed", -0.4);
|
|
111
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (18);
|
|
112
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (roaring_knight, "sprite_index", spr_roaringknight_ball_fly);
|
|
113
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (roaring_knight, "image_index", 0);
|
|
114
|
c_var_lerp_to_instance(roaring_knight, "x", kr_x_pos_left, k_move_time_left - 18);
|
|
115
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} ((k_move_time_left + 1) - 18, "sprite", spr_susie_surprised_step_back_left);
|
|
116
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} ((k_move_time_left + 1) - 18, "imagespeed", 0);
|
|
117
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} ((k_move_time_left + 1) - 18, "imageindex", 1);
|
|
118
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} ((k_move_time_left + 1) - 18, "shakeobj_x", 2);
|
|
119
|
c_delaycmd4c_delaycmd4
function c_delaycmd4(arg0, arg1, arg2, arg3, arg4, arg5)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, arg3, arg4, arg5);
} ((k_move_time_left + 1) - 18, "var", roaring_knight, "state", -1);
|
|
120
|
c_delaycmd4c_delaycmd4
function c_delaycmd4(arg0, arg1, arg2, arg3, arg4, arg5)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, arg3, arg4, arg5);
} ((k_move_time_left + 1) - 18, "var", roaring_knight, "visible", 0);
|
|
121
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} ((k_move_time_left + 1) - 18);
|
|
122
|
c_musc_mus
function c_mus(arg0)
{
c_cmd("mus", arg0, 0, 0, 0);
} ("free_all");
|
|
123
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (giant_door_marker, "image_index", 1);
|
|
124
|
c_snd_play(snd_impact);
|
|
125
|
c_shakec_shake
function c_shake()
{
c_cmd("shake", 0, 0, 0, 0);
} ();
|
|
126
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
127
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
128
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
129
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_run_serious_left);
|
|
130
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.4);
|
|
131
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (326, su_y_pos, 16);
|
|
132
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_kick_up_dw);
|
|
133
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
134
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
135
|
c_var_lerp_to("image_index", 5, 12);
|
|
136
|
c_wait_ifc_wait_if
function c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
} (su_actor, "image_index", ">=", 2);
|
|
137
|
c_snd_play(snd_impact);
|
|
138
|
c_shakec_shake
function c_shake()
{
c_cmd("shake", 0, 0, 0, 0);
} ();
|
|
139
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
140
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
141
|
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 I* Hey!Delay 11 The hell are you doing,Delay 11 you goddamn coward...!?Wait for inputClose Message"\\EI* Hey^1! The hell are you doing^1, you goddamn coward...!?/%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_221_0" );
|
|
142
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
143
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
144
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
145
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
146
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
147
|
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()
|
|
148
|
{
|
|
149
|
camera_pan = true;
|
|
150
|
camera_pan_timer = 0;
|
|
151
|
camera_y_pos = cameray();
|
|
152
|
camera_x_pos = camerax();
|
|
153
|
camera_x_target = 2379;
|
|
154
|
camera_y_target = 1128;
|
|
155
|
});
|
|
156
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (120);
|
|
157
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
158
|
}
|
|
159
|
if (con == 5 && !d_ex() && customcon == 1)
|
|
160
|
{
|
|
161
|
con = 10;
|
|
162
|
customcon = 0;
|
|
163
|
global.facing = 0;
|
|
164
|
with (ralsei)
|
|
165
|
fun = 0;
|
|
166
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
167
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
168
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (camerax() - 80, 1265);
|
|
169
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
170
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.2);
|
|
171
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_right_dw_look_down);
|
|
172
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (2414, 1315, 60);
|
|
173
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} (61, "imagespeed", 0);
|
|
174
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} (61, "imageindex", 0);
|
|
175
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
176
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
177
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_left_sad_subtle);
|
|
178
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.1);
|
|
179
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (ra_actor.x + 80, ra_actor.y, 40);
|
|
180
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
181
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
182
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
183
|
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* Damnit...Delay 11 I let them...Delay 11 get away.Wait for inputClose Message"\\Ec* Damnit..^1. I let them..^1. get away./%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_375_0" );
|
|
184
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
185
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
186
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
187
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_left);
|
|
188
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.2);
|
|
189
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} ((ra_actor.x + 80) - 13, ra_actor.y, 12);
|
|
190
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
191
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
192
|
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 it's alright,Delay 11 Susie. We did our best.Wait for input"\\EQ* ..^1. it's alright^1, Susie. We did our best./", "obj_dw_church_knightclimbpost_slash_Step_0_gml_387_0" );
|
|
193
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("susie", "c");
|
|
194
|
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* Yeah,Delay 11 but it...Delay 11 it's not good enough!Wait for input"\\Ec* Yeah^1, but it..^1. it's not good enough!/", "obj_dw_church_knightclimbpost_slash_Step_0_gml_389_0" );
|
|
195
|
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* Every time,Delay 11 they're just one step ahead of us.Wait for input"\\Eb* Every time^1, they're just one step ahead of us./", "obj_dw_church_knightclimbpost_slash_Step_0_gml_390_0" );
|
|
196
|
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 V* If we keep letting them get away,Delay 11 then...Wait for inputClose Message"\\EV* If we keep letting them get away^1, then.../%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_391_0" );
|
|
197
|
c_talkc_talk
function c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
} ();
|
|
198
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (2);
|
|
199
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
200
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_left_unhappy);
|
|
201
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
202
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_look_back_right);
|
|
203
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (3);
|
|
204
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
205
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
206
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (4);
|
|
207
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
208
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
209
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_look_down_arm_shake);
|
|
210
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
211
|
c_wait_talkc_wait_talk
function c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
} ();
|
|
212
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
213
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
214
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_look_down_arm_shake);
|
|
215
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.3);
|
|
216
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
217
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
218
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_left_sad_subtle);
|
|
219
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
220
|
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 V* How are we gonna protect Toriel? Undyne...? ...Delay 11 anybody?Wait for inputClose Message"\\EV* How are we gonna protect Toriel? Undyne...? ..^1. anybody?/%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_427_0" );
|
|
221
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
222
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
223
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
224
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_left_sad);
|
|
225
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.1);
|
|
226
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (ra_actor.x + 80, ra_actor.y, 20);
|
|
227
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
228
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
229
|
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 8* ...Delay 11 Susie...Wait for input"\\E8* ..^1. Susie.../", "obj_dw_church_knightclimbpost_slash_Step_0_gml_441_0" );
|
|
230
|
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 a* I understand how you're feeling,Delay 11 but...Wait for inputClose Message"\\Ea* I understand how you're feeling^1, but.../%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_442_0" );
|
|
231
|
c_talkc_talk
function c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
} ();
|
|
232
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (1);
|
|
233
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
234
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_left_sad_subtle);
|
|
235
|
c_wait_talkc_wait_talk
function c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
} ();
|
|
236
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
237
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
238
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
239
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_smile_up);
|
|
240
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
241
|
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 0* We...Delay 11 have our own advantages,Delay 11 too!Wait for input"\\E0* We..^1. have our own advantages^1, too!/", "obj_dw_church_knightclimbpost_slash_Step_0_gml_459_0" );
|
|
242
|
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 5* The Knight only seems to show its face in the Dark World.Wait for input"\\E5* The Knight only seems to show its face in the Dark World./", "obj_dw_church_knightclimbpost_slash_Step_0_gml_460_0" );
|
|
243
|
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 0* If we can just seal the Fountain over to the right...Wait for input"\\E0* If we can just seal the Fountain over to the right.../", "obj_dw_church_knightclimbpost_slash_Step_0_gml_461_0" );
|
|
244
|
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 Q* Then...Delay 11 it'll at least...Delay 11 buy us a little more time.Wait for input"\\EQ* Then..^1. it'll at least..^1. buy us a little more time./", "obj_dw_church_knightclimbpost_slash_Step_0_gml_462_0" );
|
|
245
|
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 8* ...Delay 11 until we...Delay 11 have to face our difficulties again.Wait for input"\\E8* ..^1. until we..^1. have to face our difficulties again./", "obj_dw_church_knightclimbpost_slash_Step_0_gml_463_0" );
|
|
246
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("susie", 13);
|
|
247
|
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. You're right.Wait for inputClose Message"\\ED* ..^1. yeah. You're right./%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_465_0" );
|
|
248
|
c_talkc_talk
function c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
} ();
|
|
249
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (1);
|
|
250
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
251
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
252
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (2);
|
|
253
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
254
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_turn_right_subtle);
|
|
255
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (3);
|
|
256
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
257
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
258
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (4);
|
|
259
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
260
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_up_sad);
|
|
261
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (6);
|
|
262
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
263
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_right_dw_look_down);
|
|
264
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
265
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("l");
|
|
266
|
c_wait_talkc_wait_talk
function c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
} ();
|
|
267
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
268
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.2);
|
|
269
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (kr_actor.x - 80, 1315, 30);
|
|
270
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} (31, "imageindex", 0);
|
|
271
|
c_delaycmdc_delaycmd
function c_delaycmd(arg0, arg1, arg2)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, 0, 0, 0);
} (31, "imagespeed", 0);
|
|
272
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (10);
|
|
273
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
274
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
275
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (0);
|
|
276
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.4);
|
|
277
|
c_walk_waitc_walk_wait
function c_walk_wait(arg0, arg1, arg2)
{
c_walk(arg0, arg1, arg2);
c_wait(arg2);
}
function c_walkwait(arg0, arg1, arg2)
{
c_walk_wait(arg0, arg1, arg2);
} ("u", 2, 6);
|
|
278
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
279
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (8);
|
|
280
|
c_imagespeedc_imagespeed
function c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} (0.4);
|
|
281
|
c_walk_waitc_walk_wait
function c_walk_wait(arg0, arg1, arg2)
{
c_walk(arg0, arg1, arg2);
c_wait(arg2);
}
function c_walkwait(arg0, arg1, arg2)
{
c_walk_wait(arg0, arg1, arg2);
} ("d", 2, 6);
|
|
282
|
c_haltc_halt
function c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
} ();
|
|
283
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
284
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
285
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
286
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
287
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
288
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
289
|
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 1* Kris. Let's go...Wait for inputClose Message"\\E1* Kris. Let's go.../%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_523_0" );
|
|
290
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
291
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (0);
|
|
292
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
293
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
294
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
295
|
c_actortocaterpillarc_actortocaterpillar
function c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} ();
|
|
296
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
297
|
}
|
|
298
|
if (con == 10 && !i_ex(obj_cutscene_master))
|
|
299
|
{
|
|
300
|
con = -1;
|
|
301
|
global.interact = 0;
|
|
302
|
global.facing = 0;
|
|
303
|
global.plot = 195;
|
|
304
|
scr_tempsavescr_tempsave
function scr_tempsave()
{
filechoicebk2 = global.filechoice;
global.filechoice = 9;
scr_saveprocess(global.filechoice);
global.filechoice = filechoicebk2;
} ();
|
|
305
|
}
|
|
306
|
if (camera_pan)
|
|
307
|
{
|
|
308
|
camera_pan_timer++;
|
|
309
|
if (camera_pan_timer == 1)
|
|
310
|
{
|
|
311
|
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;
} ("camera_y_pos", cameray(), camera_y_target, 90, 3, "inout");
|
|
312
|
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;
} ("camera_x_pos", camerax(), camera_x_target, 90, 3, "inout");
|
|
313
|
}
|
|
314
|
camera_set_view_pos(view_get_camera(0), camera_x_pos, camera_y_pos);
|
|
315
|
if (camera_pan_timer >= 100)
|
|
316
|
{
|
|
317
|
camera_pan = false;
|
|
318
|
camera_pan_timer = 0;
|
|
319
|
}
|
|
320
|
}
|
|
321
|
if (con == 20)
|
|
322
|
{
|
|
323
|
con = 21;
|
|
324
|
alarm[0] = 1; gml_Object_obj_dw_church_knightclimbpost_Alarm_0.gml
con++;
|
|
325
|
global.interact = 1;
|
|
326
|
global.facing = 0;
|
|
327
|
}
|
|
328
|
if (con == 22)
|
|
329
|
{
|
|
330
|
con = 25;
|
|
331
|
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;
} ();
|
|
332
|
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;
}
}
}
} ();
|
|
333
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
334
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
335
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (giant_door_marker.x + 72, giant_door_marker.y + 260 + 8);
|
|
336
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
337
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
338
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("susieunhappy");
|
|
339
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
340
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (giant_door_marker.x + 122, giant_door_marker.y + 242 + 8);
|
|
341
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
342
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (680, 466);
|
|
343
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (1);
|
|
344
|
c_panc_pan
function c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
} (40, 140, 1);
|
|
345
|
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);
} (blackall, "image_alpha", 1, 0, 60);
|
|
346
|
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()
|
|
347
|
{
|
|
348
|
with (obj_border_controller)
|
|
349
|
{
|
|
350
|
set_border(border_dw_church_a);
|
|
351
|
show_border();
|
|
352
|
}
|
|
353
|
});
|
|
354
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (90);
|
|
355
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
356
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_up_look_left);
|
|
357
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
358
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_up_look_right);
|
|
359
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
360
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
361
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
362
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
363
|
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 V* ...Delay 11 It's...Delay 11 the same as before.Wait for input"\\EV* ..^1. It's..^1. the same as before./", "obj_dw_church_knightclimbpost_slash_Step_0_gml_628_0" );
|
|
364
|
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 V* The first time.Wait for inputClose Message"\\EV* The first time./%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_629_0" );
|
|
365
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
366
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
367
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (335, 466, 60);
|
|
368
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
369
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
370
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
371
|
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 A* ...Delay 11 I suppose the original Dark World...Wait for input"\\EA* ..^1. I suppose the original Dark World.../", "obj_dw_church_knightclimbpost_slash_Step_0_gml_640_0" );
|
|
372
|
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 5* Was formed partially of the fountain inside there,Delay 11 too.Wait for input"\\E5* Was formed partially of the fountain inside there^1, too./", "obj_dw_church_knightclimbpost_slash_Step_0_gml_641_0" );
|
|
373
|
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 A* The Knight's two fountains...Wait for input"\\EA* The Knight's two fountains.../", "obj_dw_church_knightclimbpost_slash_Step_0_gml_642_0" );
|
|
374
|
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 0* So,Delay 11 it makes sense...Delay 11 it would be a similar world as before.Wait for inputClose Message"\\E0* So^1, it makes sense..^1. it would be a similar world as before./%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_643_0" );
|
|
375
|
c_talkc_talk
function c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
} ();
|
|
376
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (1);
|
|
377
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
378
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_turn_left_subtle);
|
|
379
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (2);
|
|
380
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
381
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
382
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (3);
|
|
383
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
384
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_up_sad);
|
|
385
|
c_wait_talkc_wait_talk
function c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
} ();
|
|
386
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (60);
|
|
387
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
388
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("u");
|
|
389
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
390
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_up_look_left);
|
|
391
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
392
|
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* ...Delay 11 just similar,Delay 11 huh.Wait for inputClose Message"\\ED* ..^1. just similar^1, huh./%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_670_0" );
|
|
393
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
394
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
395
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
396
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_up_head_down);
|
|
397
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
398
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
399
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("l");
|
|
400
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
401
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
402
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
403
|
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 1* Kris,Delay 11 the Knight is waiting in there...Wait for input"\\E1* Kris^1, the Knight is waiting in there.../", "obj_dw_church_knightclimbpost_slash_Step_0_gml_690_0" );
|
|
404
|
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 there's...Delay 11 no time to think about anything else.Wait for input"\\ED* ..^1. there's..^1. no time to think about anything else./", "obj_dw_church_knightclimbpost_slash_Step_0_gml_691_0" );
|
|
405
|
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 1* Let's go.Wait for inputClose Message"\\E1* Let's go./%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_692_0" );
|
|
406
|
c_talkc_talk
function c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
} ();
|
|
407
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (1);
|
|
408
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
409
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_look_down_left_dw);
|
|
410
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (2);
|
|
411
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
412
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
413
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
414
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
415
|
c_wait_talkc_wait_talk
function c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
} ();
|
|
416
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (1);
|
|
417
|
c_panobjc_panobj
function c_panobj(arg0, arg1)
{
c_cmd("panobj", arg0, arg1, 0, 0);
} (kr_actor, 20);
|
|
418
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (21);
|
|
419
|
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()
|
|
420
|
{
|
|
421
|
flamefade = true;
|
|
422
|
event_user(9);
|
|
423
|
});
|
|
424
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
425
|
}
|
|
426
|
if (con == 25 && customcon == 1 && !d_ex())
|
|
427
|
{
|
|
428
|
if (global.interact == 1)
|
|
429
|
{
|
|
430
|
regain_control();
|
|
431
|
scr_tempsavescr_tempsave
function scr_tempsave()
{
filechoicebk2 = global.filechoice;
global.filechoice = 9;
scr_saveprocess(global.filechoice);
global.filechoice = filechoicebk2;
} ();
|
|
432
|
}
|
|
433
|
else if (((obj_mainchara.y < 420 && (obj_mainchara.x >= 310 && obj_mainchara.x < 450)) || obj_mainchara.x >= 450) && global.interact == 0)
|
|
434
|
{
|
|
435
|
con = 30;
|
|
436
|
lose_control();
|
|
437
|
}
|
|
438
|
}
|
|
439
|
if (con == 30 && customcon == 1 && !d_ex())
|
|
440
|
{
|
|
441
|
con = 31;
|
|
442
|
customcon = 0;
|
|
443
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
444
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("ralsei");
|
|
445
|
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* W...Delay 11 wait.Wait for input"\\Ed* W..^1. wait./", "obj_dw_church_knightclimbpost_slash_Step_0_gml_750_0" );
|
|
446
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("susie", "6");
|
|
447
|
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 6* What?Wait for input"\\E6* What?/", "obj_dw_church_knightclimbpost_slash_Step_0_gml_752_0" );
|
|
448
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("ralsei", "J");
|
|
449
|
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 J* ...Wait for input"\\EJ* .../", "obj_dw_church_knightclimbpost_slash_Step_0_gml_754_0" );
|
|
450
|
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 1* Can we...Delay 11 pose?Wait for input"\\E1* Can we..^1. pose?/", "obj_dw_church_knightclimbpost_slash_Step_0_gml_755_0" );
|
|
451
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("susie", "9");
|
|
452
|
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 9* Fine,Delay 11 dumbass.Wait for inputClose Message"\\E9* Fine^1, dumbass./%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_757_0" );
|
|
453
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
454
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
455
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
456
|
var su_x_pos = kr_actor.x + 70;
|
|
457
|
var su_y_pos = kr_actor.y - 16;
|
|
458
|
var su_walktime = scr_calculate_move_distancescr_calculate_move_distance
function scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{
var move_time = 1;
var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4);
if (distance_time > move_time)
move_time = distance_time;
return move_time;
} (su_actor.x, su_actor.y, su_x_pos, su_actor.y, 8);
|
|
459
|
var su_walktime_y = scr_calculate_move_distancescr_calculate_move_distance
function scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{
var move_time = 1;
var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4);
if (distance_time > move_time)
move_time = distance_time;
return move_time;
} (su_x_pos, su_actor.y, su_x_pos, su_y_pos, 6);
|
|
460
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
461
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (su_x_pos, su_actor.y, su_walktime);
|
|
462
|
c_delaywalkdirectc_delaywalkdirect
function c_delaywalkdirect(arg0, arg1, arg2, arg3)
{
c_cmd_x("delaycmd", arg0, "walkdirect", arg1, arg2, arg3, 0);
} (su_walktime + 1, su_x_pos, su_y_pos, su_walktime_y);
|
|
463
|
c_delayfacingc_delayfacing
function c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
} (su_walktime + 1 + su_walktime_y + 1, "d");
|
|
464
|
var ra_x_pos = kr_actor.x - 80;
|
|
465
|
var ra_y_pos = kr_actor.y - 14;
|
|
466
|
var ra_walktime = scr_calculate_move_distancescr_calculate_move_distance
function scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{
var move_time = 1;
var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4);
if (distance_time > move_time)
move_time = distance_time;
return move_time;
} (ra_actor.x, ra_actor.y, ra_x_pos, ra_actor.y, 8);
|
|
467
|
var ra_walktime_y = scr_calculate_move_distancescr_calculate_move_distance
function scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{
var move_time = 1;
var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4);
if (distance_time > move_time)
move_time = distance_time;
return move_time;
} (ra_x_pos, ra_actor.y, ra_x_pos, ra_y_pos, 6);
|
|
468
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
469
|
c_autowalkc_autowalk
function c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
} (1);
|
|
470
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (ra_x_pos, ra_actor.y, ra_walktime);
|
|
471
|
c_delaywalkdirectc_delaywalkdirect
function c_delaywalkdirect(arg0, arg1, arg2, arg3)
{
c_cmd_x("delaycmd", arg0, "walkdirect", arg1, arg2, arg3, 0);
} (ra_walktime + 1, ra_x_pos, ra_y_pos, ra_walktime_y);
|
|
472
|
c_delayfacingc_delayfacing
function c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
} (ra_walktime + 1 + ra_walktime_y + 2, "d");
|
|
473
|
c_wait_ifc_wait_if
function c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
} (su_actor, "y", "=", su_y_pos);
|
|
474
|
c_wait_ifc_wait_if
function c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
} (ra_actor, "y", "=", ra_y_pos);
|
|
475
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
476
|
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_swing);
|
|
477
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
478
|
c_spinc_spin
function c_spin(arg0)
{
c_cmd("spin", arg0, 0, 0, 0);
} (2);
|
|
479
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
480
|
c_spinc_spin
function c_spin(arg0)
{
c_cmd("spin", arg0, 0, 0, 0);
} (2);
|
|
481
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
482
|
c_spinc_spin
function c_spin(arg0)
{
c_cmd("spin", arg0, 0, 0, 0);
} (2);
|
|
483
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (16);
|
|
484
|
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_bell);
|
|
485
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
486
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_kris_pose);
|
|
487
|
c_addxyc_addxy
function c_addxy(arg0, arg1)
{
c_cmd("addxy", arg0, arg1, 0, 0);
} (-2, -2);
|
|
488
|
c_spinc_spin
function c_spin(arg0)
{
c_cmd("spin", arg0, 0, 0, 0);
} (0);
|
|
489
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
490
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_pose);
|
|
491
|
c_addxyc_addxy
function c_addxy(arg0, arg1)
{
c_cmd("addxy", arg0, arg1, 0, 0);
} (2, 2);
|
|
492
|
c_spinc_spin
function c_spin(arg0)
{
c_cmd("spin", arg0, 0, 0, 0);
} (0);
|
|
493
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
494
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_pose);
|
|
495
|
c_addxyc_addxy
function c_addxy(arg0, arg1)
{
c_cmd("addxy", arg0, arg1, 0, 0);
} (-10, 0);
|
|
496
|
c_spinc_spin
function c_spin(arg0)
{
c_cmd("spin", arg0, 0, 0, 0);
} (0);
|
|
497
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
498
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
499
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
500
|
c_addxyc_addxy
function c_addxy(arg0, arg1)
{
c_cmd("addxy", arg0, arg1, 0, 0);
} (2, 2);
|
|
501
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
502
|
c_actortocaterpillarc_actortocaterpillar
function c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} ();
|
|
503
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
504
|
}
|
|
505
|
if (con == 31 && !i_ex(obj_cutscene_master))
|
|
506
|
{
|
|
507
|
con = -1;
|
|
508
|
global.interact = 0;
|
|
509
|
global.facing = 0;
|
|
510
|
with (obj_mainchara)
|
|
511
|
cutscene = 0;
|
|
512
|
global.plot = 243;
|
|
513
|
scr_tempsavescr_tempsave
function scr_tempsave()
{
filechoicebk2 = global.filechoice;
global.filechoice = 9;
scr_saveprocess(global.filechoice);
global.filechoice = filechoicebk2;
} ();
|
|
514
|
}
|
|
515
|
if (con == 40 && !d_ex())
|
|
516
|
{
|
|
517
|
con = 41;
|
|
518
|
snd_free_all();
|
|
519
|
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;
} ();
|
|
520
|
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;
}
}
}
} ();
|
|
521
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
522
|
c_visiblec_visible
function c_visible(arg0)
{
c_cmd("visible", arg0, 0, 0, 0);
} (0);
|
|
523
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
524
|
c_visiblec_visible
function c_visible(arg0)
{
c_cmd("visible", arg0, 0, 0, 0);
} (0);
|
|
525
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
526
|
c_visiblec_visible
function c_visible(arg0)
{
c_cmd("visible", arg0, 0, 0, 0);
} (0);
|
|
527
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (1);
|
|
528
|
c_panc_pan
function c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
} (40, 140, 1);
|
|
529
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (1);
|
|
530
|
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);
} (blackall, "image_alpha", 1, 0, 60);
|
|
531
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (70);
|
|
532
|
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()
|
|
533
|
{
|
|
534
|
camera_y_pos = cameray();
|
|
535
|
camera_x_pos = camerax();
|
|
536
|
camera_x_target = 680;
|
|
537
|
camera_y_target = 140;
|
|
538
|
});
|
|
539
|
c_var_instancec_var_instance
function c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
} (id, "pillar_pan", true);
|
|
540
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (90);
|
|
541
|
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()
|
|
542
|
{
|
|
543
|
with (pillar)
|
|
544
|
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;
} ("alphadist", 1, 0, 60, 3, "out");
|
|
545
|
});
|
|
546
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (90);
|
|
547
|
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()
|
|
548
|
{
|
|
549
|
with (obj_dw_leave_ch4)
|
|
550
|
particle_active = false;
|
|
551
|
});
|
|
552
|
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);
} (blackall, "image_alpha", 0, 1, 30);
|
|
553
|
c_mus2c_mus2
function c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
} ("volume", 0, 30);
|
|
554
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (60);
|
|
555
|
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()
|
|
556
|
{
|
|
557
|
snd_free_all();
|
|
558
|
instance_create(0, 0, obj_persistentfadein);
|
|
559
|
global.flag[1659] = 1;
|
|
560
|
global.interact = 3;
|
|
561
|
var room_id = scr_get_ini_value(global.chapter, global.filechoice, "Room");
|
|
562
|
var target_room = scr_get_room_by_idscr_get_room_by_id
function scr_get_room_by_id(arg0)
{
var room_id = arg0;
var rooms = scr_get_room_list();
if (room_id < 10000)
room_id += (global.chapter * 10000);
var room_index = 0;
for (var i = 0; i < array_length_1d(rooms); i++)
{
if (rooms[i].room_id == room_id)
{
room_index = rooms[i].room_index;
break;
}
}
if (room_index == 0)
show_debug_message("*** ERROR: could not find room with id " + string(room_id));
return room_index;
}
function scr_get_id_by_room_index(arg0)
{
var room_index = arg0;
var rooms = scr_get_room_list();
var room_id = room_gms_debug_failsafe;
for (var i = 0; i < array_length_1d(rooms); i++)
{
if (rooms[i].room_index == room_index)
{
room_id = rooms[i].room_id;
break;
}
}
if (room_id == room_gms_debug_failsafe)
show_debug_message("*** ERROR: could not find room with index " + string(room_index));
return room_id;
}
function scr_room(arg0, arg1) constructor
{
room_index = arg0;
room_id = arg1;
}
function scr_get_room_list()
{
var idsarr = [new scr_room(room_krisroom, 40014), new scr_room(room_krishallway, 40015), new scr_room(room_torroom, 40016), new scr_room(room_torhouse, 40017), new scr_room(room_torbathroom, 40018), new scr_room(room_town_krisyard, 40019), new scr_room(room_town_northwest, 40020), new scr_room(room_town_north, 40021), new scr_room(room_beach, 40022), new scr_room(room_town_mid, 40023), new scr_room(room_town_apartments, 40024), new scr_room(room_town_south, 40025), new scr_room(room_town_school, 40026), new scr_room(room_town_church, 40027), new scr_room(room_graveyard, 40028), new scr_room(room_town_shelter, 40029), new scr_room(room_hospital_lobby, 40030), new scr_room(room_hospital_hallway, 40031), new scr_room(room_hospital_rudy, 40032), new scr_room(room_hospital_room2, 40033), new scr_room(room_diner, 40034), new scr_room(room_townhall, 40035), new scr_room(room_flowershop_1f, 40036), new scr_room(room_flowershop_2f, 40037), new scr_room(room_library, 40038), new scr_room(room_alphysalley, 40039), new scr_room(room_lw_computer_lab, 40040), new scr_room(room_lw_library_upstairs, 40041), new scr_room(room_lw_police, 40042), new scr_room(room_lw_conbini, 40043), new scr_room(room_lw_icee_pizza, 40044), new scr_room(room_lw_church_entrance, 40045), new scr_room(room_lw_church_main, 40046), new scr_room(room_lw_noellehouse_main, 40047), new scr_room(room_lw_noellehouse_kitchen, 40048), new scr_room(room_lw_noellehouse_bathroom, 40049), new scr_room(room_lw_noellehouse_keyroom, 40050), new scr_room(room_lw_noellehouse_noelle, 40051), new scr_room(room_lw_noellehouse_dess, 40052), new scr_room(room_lw_noellehouse_closet, 40053), new scr_room(room_torielclass, 40054), new scr_room(room_schoollobby, 40055), new scr_room(room_alphysclass, 40056), new scr_room(room_schooldoor, 40057), new scr_room(room_insidecloset, 40058), new scr_room(room_school_unusedroom, 40059), new scr_room(room_castle_tutorial, 40060), new scr_room(room_dw_castle_east_door, 40061), new scr_room(room_dw_castle_west_cliff, 40062), new scr_room(room_dw_castle_area_1, 40063), new scr_room(room_dw_castle_town, 40064), new scr_room(room_dw_ralsei_castle_front, 40065), new scr_room(room_dw_castle_restaurant, 40066), new scr_room(room_dw_castle_cafe, 40067), new scr_room(room_dw_castle_dojo, 40068), new scr_room(room_dw_ralsei_castle_1f, 40069), new scr_room(room_dw_ralsei_castle_2f, 40070), new scr_room(room_dw_castle_dungeon, 40071), new scr_room(room_dw_castle_rooms_kris, 40072), new scr_room(room_dw_castle_rooms_susie, 40073), new scr_room(PLACE_MENU, 40083), new scr_room(room_cc_lancer, 40088), new scr_room(room_cc_clover, 40089), new scr_room(room_cc_fountain, 40090), new scr_room(room_dw_church_slidingbookshelf, 40101), new scr_room(room_dw_church_bellplay, 40104), new scr_room(room_intro_ch4, 40105), new scr_room(room_dw_church_candlelighting, 40106), new scr_room(room_town_noellehouse, 40107), new scr_room(room_dw_church_intro1, 40108), new scr_room(room_dw_church_intro3, 40109), new scr_room(room_dw_church_intro_guei, 40110), new scr_room(room_dw_church_lantern_hallway, 40113), new scr_room(room_dw_church_gersonstudy, 40115), new scr_room(room_dw_church_stairs_west_bell, 40116), new scr_room(room_dw_church_librarybookenemy, 40117), new scr_room(room_dw_church_bookshelfpuzzle1, 40118), new scr_room(room_dw_church_bookshelfpuzzle2, 40119), new scr_room(room_dw_church_worshiproom, 40120), new scr_room(room_dw_church_swingingbell, 40121), new scr_room(room_dw_church_tallbookcases, 40122), new scr_room(room_dw_church_lantern2, 40123), new scr_room(room_dw_church_smallbells, 40124), new scr_room(room_dw_church_claw, 40125), new scr_room(room_dw_church_shelfclimb1, 40126), new scr_room(room_dw_church_statueclimb, 40127), new scr_room(room_dw_church_offering, 40128), new scr_room(room_dw_church_npcroom_shelfclimb, 40129), new scr_room(room_dw_church_stairs_stainedglass, 40130), new scr_room(room_dw_church_bellsareawest, 40131), new scr_room(room_dw_church_stairs_topright, 40132), new scr_room(room_dw_church_poolsroom1, 40133), new scr_room(room_dw_church_candlesroom1, 40134), new scr_room(room_dw_church_solowaterfall, 40135), new scr_room(room_dw_church_statueroom, 40136), new scr_room(room_dw_church_poolsroom2, 40137), new scr_room(room_dw_church_shelfclimb2, 40138), new scr_room(room_dw_church_statueclimb_npcroom, 40139), new scr_room(room_dw_church_bellhall_west, 40140), new scr_room(room_dw_church_fountainconnection, 40141), new scr_room(room_dw_church_stainedglasspreview, 40142), new scr_room(room_dw_church_stairs_topleft, 40143), new scr_room(room_dw_church_npcroom_pools1, 40144), new scr_room(room_dw_church_poolsroom1_east, 40145), new scr_room(room_dw_church_minorlegend, 40146), new scr_room(room_dw_church_bookenemywest, 40147), new scr_room(room_dw_church_poolsroom2south, 40148), new scr_room(room_lw_church_office, 40149), new scr_room(room_dw_church_bellhall_east, 40150), new scr_room(room_dw_church_bellhall_central, 40151), new scr_room(room_dw_ralsei_castle_3f, 40154), new scr_room(room_dw_castle_rooms_ralsei, 40155), new scr_room(room_dw_rotating_tower, 40156), new scr_room(room_krisroom_dark, 40159), new scr_room(room_lw_noellehouse_vents_west, 40162), new scr_room(room_town_krisyard_dark, 40166), new scr_room(room_dw_castle_rooms_queen, 40167), new scr_room(room_dw_castle_rooms_tenna, 40168), new scr_room(room_dw_church_ripplepuzzle, 40171), new scr_room(room_dw_church_glass, 40173), new scr_room(room_dw_church_staircase, 40174), new scr_room(room_dw_church_bellhall_bookroom, 40175), new scr_room(room_dw_church_bookcase, 40176), new scr_room(room_dw_church_savepoint, 40177), new scr_room(room_dw_church_dark_fire_puzzle, 40178), new scr_room(room_dw_church_turtles, 40179), new scr_room(room_dw_church_guei, 40180), new scr_room(room_dw_church_jackenstein, 40181), new scr_room(room_dw_church_bellhall_curtain, 40182), new scr_room(room_dw_church_dogclimb, 40184), new scr_room(room_dw_church_arena, 40185), new scr_room(room_dw_churchb_nongerson_post, 40192), new scr_room(room_lw_noellehouse_vents_north, 40193), new scr_room(room_lw_noellehouse_vents_east, 40194), new scr_room(room_lw_noellehouse_vents_south, 40195), new scr_room(room_dw_church_climbtut, 40205), new scr_room(room_dw_church_fastwater, 40206), new scr_room(room_dw_church_crumbletower, 40207), new scr_room(room_dw_church_tower1, 40208), new scr_room(room_lw_church_choir, 40209), new scr_room(room_dw_church_bellclimb, 40210), new scr_room(room_dw_church_shiftclimb, 40211), new scr_room(room_dw_church_intropiano, 40212), new scr_room(room_dw_church_intro_gerson, 40213), new scr_room(room_dw_church_pianopiece_left, 40214), new scr_room(room_dw_church_northprophecies, 40215), new scr_room(room_dw_church_darkmaze, 40216), new scr_room(room_dw_church_quicktest, 40217), new scr_room(room_dw_church_pianopiece_right, 40218), new scr_room(room_dw_church_pianopuzzle, 40219), new scr_room(room_dw_church_nwconnect, 40220), new scr_room(room_dw_church_rightconnect, 40221), new scr_room(room_dw_church_stairspreview, 40222), new scr_room(room_dw_church_trueclimbadventure, 40223), new scr_room(room_dw_church_organpuzzle, 40224), new scr_room(room_dw_church_mizzleencounter, 40225), new scr_room(room_dw_church_sideclimb, 40226), new scr_room(room_dw_church_secretpiano, 40227), new scr_room(room_dw_church_ripplepuzzle_postgers, 40228), new scr_room(room_dw_church_tallbookcases_backup, 40229), new scr_room(room_dw_church_fountain, 40230), new scr_room(room_dw_church_b_intro, 40231), new scr_room(room_dw_churchc_final_prophecy, 40232), new scr_room(room_dw_church_bookshelfpuzzle, 40233), new scr_room(room_lw_noellehouse_basement, 40234), new scr_room(room_dw_church_biblioxencounter, 40235), new scr_room(room_dw_church_darkclimb, 40236), new scr_room(room_dw_church_moneyfountain, 40237), new scr_room(room_dw_church_pianopiece_left_b, 40239), new scr_room(room_dw_church_pianopiece_rightprophecy, 40240), new scr_room(room_dw_church_shadowgerson, 40242), new scr_room(room_dw_church_holywatercooler, 40243), new scr_room(room_dw_church_rippleworship, 40244), new scr_room(room_dw_church_waterfallroom, 40245), new scr_room(room_dw_church_waterfalltearoom, 40246), new scr_room(room_dw_castle_rooms_kris_susie, 40247), new scr_room(room_dw_churchb_staircaseintro, 40248), new scr_room(room_dw_churchb_prophecyencounter, 40249), new scr_room(room_dw_churchb_worshiproom, 40250), new scr_room(room_dw_churchb_libraryconnector, 40251), new scr_room(room_dw_churchb_savepoint, 40252), new scr_room(room_dw_churchb_rotatingtower, 40253), new scr_room(room_dw_churchb_bellroom, 40254), new scr_room(room_dw_churchb_escherstaircase, 40255), new scr_room(room_dw_churchb_prophecymaze, 40256), new scr_room(room_dw_churchb_rotatingtower2, 40257), new scr_room(room_dw_churchb_gersonstudy, 40258), new scr_room(room_dw_churchb_gersonchase, 40259), new scr_room(room_dw_churchb_extinguisher, 40260), new scr_room(room_dw_church_knightclimb, 40261), new scr_room(room_dw_church_knightclimb_post, 40262), new scr_room(room_dw_rhythm, 40263), new scr_room(room_dw_rhythm_countdown, 40264), new scr_room(room_dw_rhythm_empty, 40265), new scr_room(room_rhythmgame_editor, 40266), new scr_room(room_dw_churchb_ripple1, 40267), new scr_room(room_dw_churchb_ripplepost, 40268), new scr_room(room_dw_churchb_library_alternate, 40269), new scr_room(room_dw_churchb_moneyfountain, 40270), new scr_room(room_dw_churchc_superprophecies, 40271), new scr_room(room_dw_churchc_encounter1, 40272), new scr_room(room_dw_churchc_slidingpiano, 40273), new scr_room(room_dw_churchc_ripplesneak_poc, 40274), new scr_room(room_dw_churchc_encounter2, 40275), new scr_room(room_dw_churchc_finalclimb, 40276), new scr_room(room_dw_churchc_angelprophecy_encounter, 40277), new scr_room(room_dw_churchc_savepoint, 40278), new scr_room(room_dw_churchc_darkswords, 40279), new scr_room(room_dw_churchc_pretitan, 40280), new scr_room(room_dw_churchc_prepretitan, 40281), new scr_room(room_dw_churchc_titandefeated, 40282), new scr_room(room_dw_churchb_fountain, 40283), new scr_room(room_dw_church_ripseq1, 40284), new scr_room(room_dw_church_ripseq2, 40285), new scr_room(room_dw_churchc_titanclimb1, 40286), new scr_room(room_dw_churchc_titanclimb2, 40287), new scr_room(room_lw_noellehouse_north, 40291), new scr_room(room_lw_noellehouse_vents_north_west, 40292), new scr_room(room_dw_churchb_fireplace, 40296), new scr_room(room_dw_churchb_nongerson, 40297), new scr_room(room_dw_churchb_library, 40298), new scr_room(room_dw_castle_tv_rhythm, 40299), new scr_room(room_dw_castle_tv, 40300), new scr_room(room_dw_churchb_windows, 40301), new scr_room(room_dw_churchb_bookshelf, 40302), new scr_room(room_dw_churchb_man, 40303), new scr_room(room_dw_churchb_gallery, 40304), new scr_room(room_dw_churchb_rotatingtower_old, 40305), new scr_room(room_dw_churchb_darkclimb, 40306), new scr_room(room_dw_churchc_titanclimb1_post, 40307), new scr_room(room_dw_churchc_titanclimb2_post, 40308), new scr_room(room_dw_churchb_darkclimb_scene, 40309), new scr_room(room_dw_churchc_dodge, 40310), new scr_room(room_dw_churchc_insidetitan, 40311), new scr_room(room_dw_churchc_prophecies, 40313), new scr_room(room_dw_churchc_angelprophecy, 40314), new scr_room(room_dw_church_bookshelfpuzzle_rev, 40315), new scr_room(room_dw_churchc_treasurechest, 40317), new scr_room(room_dw_castle_tv_zone_1, 40321), new scr_room(room_dw_castle_tv_zone_2, 40322), new scr_room(room_dw_castle_tv_zone_3, 40323), new scr_room(room_dw_castle_tv_zone_battle, 40324), new scr_room(room_dw_castle_tv_zone_minigame, 40325)];
return idsarr;
} (room_id);
|
|
563
|
room_goto(target_room);
|
|
564
|
});
|
|
565
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
566
|
}
|
|
567
|
if (pillar_pan)
|
|
568
|
{
|
|
569
|
pillar_pan_timer++;
|
|
570
|
if (pillar_pan_timer == 1)
|
|
571
|
{
|
|
572
|
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;
} ("camera_y_pos", cameray(), camera_y_target, 90, 3, "inout");
|
|
573
|
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;
} ("camera_x_pos", camerax(), camera_x_target, 90, 3, "inout");
|
|
574
|
}
|
|
575
|
camera_set_view_pos(view_get_camera(0), camera_x_pos, camera_y_pos);
|
|
576
|
if (pillar_pan_timer >= 100)
|
|
577
|
{
|
|
578
|
pillar_pan = false;
|
|
579
|
pillar_pan_timer = 0;
|
|
580
|
}
|
|
581
|
}
|
|
582
|
if (pillar_active)
|
|
583
|
{
|
|
584
|
if (pillar_con == 0)
|
|
585
|
{
|
|
586
|
var triggered = false;
|
|
587
|
with (pillar_trigger)
|
|
588
|
{
|
|
589
|
if (place_meeting(x, y, obj_mainchara))
|
|
590
|
triggered = true;
|
|
591
|
}
|
|
592
|
if (triggered)
|
|
593
|
pillar_con = 1;
|
|
594
|
}
|
|
595
|
if (pillar_con == 1 && global.interact == 0 && !d_ex())
|
|
596
|
{
|
|
597
|
pillar_con = -1;
|
|
598
|
global.interact = 1;
|
|
599
|
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;
} ();
|
|
600
|
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;
}
}
}
} ();
|
|
601
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (1);
|
|
602
|
c_panc_pan
function c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
} (580, cameray(), 20);
|
|
603
|
var kr_x_pos = 830;
|
|
604
|
var kr_y_pos = 450;
|
|
605
|
var kr_walktime = scr_calculate_move_distancescr_calculate_move_distance
function scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{
var move_time = 1;
var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4);
if (distance_time > move_time)
move_time = distance_time;
return move_time;
} (kr_actor.x, kr_actor.y, kr_x_pos, kr_y_pos, 2);
|
|
606
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
607
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (kr_x_pos, kr_y_pos, kr_walktime);
|
|
608
|
c_delayfacingc_delayfacing
function c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
} (kr_walktime + 1, "r");
|
|
609
|
var su_x_pos = kr_x_pos - 60;
|
|
610
|
var su_y_pos = kr_y_pos - 16;
|
|
611
|
var su_walktime = scr_calculate_move_distancescr_calculate_move_distance
function scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{
var move_time = 1;
var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4);
if (distance_time > move_time)
move_time = distance_time;
return move_time;
} (su_actor.x, su_actor.y, su_x_pos, su_y_pos, 4);
|
|
612
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
613
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (su_x_pos, su_y_pos, su_walktime);
|
|
614
|
c_delayfacingc_delayfacing
function c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
} (su_walktime + 1, "r");
|
|
615
|
var ra_x_pos = kr_x_pos - 120;
|
|
616
|
var ra_y_pos = kr_y_pos - 12;
|
|
617
|
var ra_walktime = scr_calculate_move_distancescr_calculate_move_distance
function scr_calculate_move_distance(arg0, arg1, arg2, arg3, arg4 = 6)
{
var move_time = 1;
var distance_time = round(point_distance(arg0, arg1, arg2, arg3) / arg4);
if (distance_time > move_time)
move_time = distance_time;
return move_time;
} (ra_actor.x, ra_actor.y, ra_x_pos, ra_y_pos, 4);
|
|
618
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
619
|
c_walkdirectc_walkdirect
function c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
} (ra_x_pos, ra_y_pos, ra_walktime);
|
|
620
|
c_delayfacingc_delayfacing
function c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
} (ra_walktime + 1, "r");
|
|
621
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
622
|
if (global.flag[1660] == 0)
|
|
623
|
{
|
|
624
|
pillar_con = 2;
|
|
625
|
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()
|
|
626
|
{
|
|
627
|
global.msc = -99;
|
|
628
|
global.choice = -1;
|
|
629
|
global.choicemsg = [stringsetloc(#Go back#to Castle Town"#Go back#to Castle Town", "obj_dw_church_knightclimbpost_slash_Step_0_gml_914_0" ), stringsetloc(#Stay here"#Stay here", "obj_dw_church_knightclimbpost_slash_Step_0_gml_915_0" )];
|
|
630
|
});
|
|
631
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
632
|
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* Huh? It looks like...Delay 11 that thing in Castle town.Wait for input"\\EC* Huh? It looks like..^1. that thing in Castle town./", "obj_dw_church_knightclimbpost_slash_Step_0_gml_920_0" );
|
|
633
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("ralsei", "6");
|
|
634
|
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 6* A way back to the Light World...Wait for input"\\E6* A way back to the Light World.../", "obj_dw_church_knightclimbpost_slash_Step_0_gml_922_0" );
|
|
635
|
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 5* Did...Delay 11 the door to the Church crack open...?Wait for input"\\E5* Did..^1. the door to the Church crack open...?/", "obj_dw_church_knightclimbpost_slash_Step_0_gml_923_0" );
|
|
636
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("susie", "C");
|
|
637
|
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* What do we do?Wait for input"\\EC* What do we do?/", "obj_dw_church_knightclimbpost_slash_Step_0_gml_925_0" );
|
|
638
|
c_msgnextc_msgnext
function c_msgnext(arg0)
{
c_cmd("msgnext", arg0, 0, 0, 0);
} ("\\C2");
|
|
639
|
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()
|
|
640
|
{
|
|
641
|
var d = d_make();
|
|
642
|
d.side = 1;
|
|
643
|
});
|
|
644
|
}
|
|
645
|
else
|
|
646
|
{
|
|
647
|
pillar_con = 3;
|
|
648
|
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()
|
|
649
|
{
|
|
650
|
global.msc = -99;
|
|
651
|
global.choice = -1;
|
|
652
|
global.choicemsg = [stringsetloc(#Return to#Castle Town"#Return to#Castle Town", "obj_dw_church_knightclimbpost_slash_Step_0_gml_942_0" ), stringsetloc(#Stay here"#Stay here", "obj_dw_church_knightclimbpost_slash_Step_0_gml_943_0" )];
|
|
653
|
});
|
|
654
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("no_name");
|
|
655
|
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, * (It's a pillar of light...)Wait for input"* (It's a pillar of light...)/", "obj_dw_church_knightclimbpost_slash_Step_0_gml_948_0" );
|
|
656
|
c_msgnextc_msgnext
function c_msgnext(arg0)
{
c_cmd("msgnext", arg0, 0, 0, 0);
} ("\\C2");
|
|
657
|
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()
|
|
658
|
{
|
|
659
|
var d = d_make();
|
|
660
|
d.side = 1;
|
|
661
|
});
|
|
662
|
}
|
|
663
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
664
|
}
|
|
665
|
if (pillar_con == 2 && global.choice != -1 && customcon == 1)
|
|
666
|
{
|
|
667
|
pillar_con = 10;
|
|
668
|
customcon = 0;
|
|
669
|
global.flag[1660] = 1;
|
|
670
|
k_d(3);
|
|
671
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
672
|
if (global.choice == 0)
|
|
673
|
{
|
|
674
|
pillar_con = 5;
|
|
675
|
}
|
|
676
|
else if (global.choice == 1)
|
|
677
|
{
|
|
678
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
679
|
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* Yeah...Delay 11 we can't go back now.Wait for inputClose Message"\\ED* Yeah..^1. we can't go back now./%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_978_0" );
|
|
680
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
681
|
}
|
|
682
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
683
|
}
|
|
684
|
if (pillar_con == 3 && global.choice != -1 && customcon == 1)
|
|
685
|
{
|
|
686
|
pillar_con = 10;
|
|
687
|
customcon = 0;
|
|
688
|
k_d(3);
|
|
689
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
690
|
if (global.choice == 0)
|
|
691
|
pillar_con = 5;
|
|
692
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
693
|
}
|
|
694
|
if (pillar_con == 5 && !d_ex() && customcon == 1)
|
|
695
|
{
|
|
696
|
pillar_con = -1;
|
|
697
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
698
|
if (global.flag[1661] == 0)
|
|
699
|
{
|
|
700
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
701
|
c_walkdirect_waitc_walkdirect_wait
function c_walkdirect_wait(arg0, arg1, arg2)
{
c_walkdirect(arg0, arg1, arg2);
c_wait(arg2);
} (kr_actor.x + 40, kr_actor.y, 20);
|
|
702
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
703
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_surprised_subtle_right);
|
|
704
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
705
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_right_unhappy);
|
|
706
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
707
|
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* W...Delay 11 Wait.Wait for input"\\EC* W..^1. Wait./", "obj_dw_church_knightclimbpost_slash_Step_0_gml_1025_0" );
|
|
708
|
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* We can't leave now...Delay 11 Toriel might be...Wait for input"\\ED* We can't leave now..^1. Toriel might be.../", "obj_dw_church_knightclimbpost_slash_Step_0_gml_1026_0" );
|
|
709
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("ralsei", "Q");
|
|
710
|
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 Q* Umm,Delay 11 Susie,Delay 11 if you stay,Delay 11 I should stay,Delay 11 too...Wait for input"\\EQ* Umm^1, Susie^1, if you stay^1, I should stay^1, too.../", "obj_dw_church_knightclimbpost_slash_Step_0_gml_1028_0" );
|
|
711
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("susie", "D");
|
|
712
|
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* ...Wait for input"\\ED* .../", "obj_dw_church_knightclimbpost_slash_Step_0_gml_1030_0" );
|
|
713
|
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 0* Kris,Delay 11 if you're gonna go...Wait for input"\\E0* Kris^1, if you're gonna go.../", "obj_dw_church_knightclimbpost_slash_Step_0_gml_1031_0" );
|
|
714
|
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 1* Go fast and direct. No messing around.Wait for input"\\E1* Go fast and direct. No messing around./", "obj_dw_church_knightclimbpost_slash_Step_0_gml_1032_0" );
|
|
715
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("ralsei", "Q");
|
|
716
|
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 Q* Come back quick,Delay 11 Kris...!Wait for inputClose Message"\\EQ* Come back quick^1, Kris...!/%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_1034_0" );
|
|
717
|
c_talkc_talk
function c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
} ();
|
|
718
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (1);
|
|
719
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
720
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_look_down_right_dw);
|
|
721
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (3);
|
|
722
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
723
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_right_sad_subtle);
|
|
724
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (6);
|
|
725
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
726
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_walk_right_dw_unhappy);
|
|
727
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
728
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_right_unhappy);
|
|
729
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (7);
|
|
730
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
731
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_susie_look_down_right_dw);
|
|
732
|
c_wait_boxc_wait_box
function c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} (9);
|
|
733
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
734
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
735
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
736
|
c_spritec_sprite
function c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
} (spr_ralsei_walk_right);
|
|
737
|
c_wait_talkc_wait_talk
function c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
} ();
|
|
738
|
}
|
|
739
|
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()
|
|
740
|
{
|
|
741
|
global.flag[1661] += 1;
|
|
742
|
});
|
|
743
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
744
|
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()
|
|
745
|
{
|
|
746
|
scr_losecharscr_losechar
function scr_losechar()
{
global.char[2] = 0;
global.char[1] = 0;
with (obj_darkcontroller)
{
chartotal = 0;
havechar[0] = 0;
havechar[1] = 0;
havechar[2] = 0;
havechar[3] = 0;
for (i = 0; i < 3; i += 1)
{
global.faceaction[i] = 0;
if (global.char[i] != 0)
chartotal += 1;
if (global.char[i] == 1)
{
havechar[0] = 1;
charpos[0] = i;
}
if (global.char[i] == 2)
{
havechar[1] = 1;
charpos[1] = i;
}
if (global.char[i] == 3)
{
havechar[2] = 1;
charpos[2] = i;
}
if (global.char[i] == 4)
{
havechar[3] = 1;
charpos[3] = i;
}
}
}
global.submenu = 0;
global.charselect = -1;
for (i = 0; i < 36; i += 1)
global.submenucoord[i] = 0;
} ();
|
|
747
|
with (pillar)
|
|
748
|
con = 10;
|
|
749
|
global.tempflag[58] = 1;
|
|
750
|
});
|
|
751
|
c_waitcustomc_waitcustom
function c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
} ();
|
|
752
|
}
|
|
753
|
if (pillar_con == 10 && !d_ex() && customcon == 1)
|
|
754
|
{
|
|
755
|
pillar_con = 20;
|
|
756
|
customcon = 0;
|
|
757
|
global.facing = 0;
|
|
758
|
c_waitcustom_endc_waitcustom_end
function c_waitcustom_end()
{
with (obj_cutscene_master)
{
cs_wait_custom = 0;
waiting = 0;
}
} ();
|
|
759
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (1);
|
|
760
|
c_panobjc_panobj
function c_panobj(arg0, arg1)
{
c_cmd("panobj", arg0, arg1, 0, 0);
} (kr_actor, 15);
|
|
761
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (16);
|
|
762
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (0);
|
|
763
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
764
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
765
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
766
|
c_actortocaterpillarc_actortocaterpillar
function c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} ();
|
|
767
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
768
|
}
|
|
769
|
if (pillar_con == 20 && !d_ex() && !i_ex(obj_cutscene_master))
|
|
770
|
{
|
|
771
|
pillar_con = 0;
|
|
772
|
global.interact = 0;
|
|
773
|
pillar_trigger.x = pillar_trigger.xstart + 40;
|
|
774
|
}
|
|
775
|
if (pillar_con == 30)
|
|
776
|
{
|
|
777
|
pillar_con = 31;
|
|
778
|
global.interact = 1;
|
|
779
|
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;
} ();
|
|
780
|
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;
}
}
}
} ();
|
|
781
|
var kr_x_pos = 830;
|
|
782
|
var kr_y_pos = 450;
|
|
783
|
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()
|
|
784
|
{
|
|
785
|
with (obj_mainchara)
|
|
786
|
{
|
|
787
|
x = 830;
|
|
788
|
y = 450;
|
|
789
|
}
|
|
790
|
});
|
|
791
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
792
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (kr_x_pos, kr_y_pos);
|
|
793
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("l");
|
|
794
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (su);
|
|
795
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (kr_x_pos - 70, kr_y_pos - 16);
|
|
796
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
797
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (ra);
|
|
798
|
c_setxyc_setxy
function c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
} (kr_x_pos - 130, kr_y_pos - 12);
|
|
799
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("r");
|
|
800
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (1);
|
|
801
|
c_panc_pan
function c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
} (529, 248, 1);
|
|
802
|
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);
} (blackall, "image_alpha", 1, 0, 30);
|
|
803
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (30);
|
|
804
|
c_pannablec_pannable
function c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
} (0);
|
|
805
|
if (global.flag[1661] == 1)
|
|
806
|
{
|
|
807
|
c_waitc_wait
function c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
} (15);
|
|
808
|
c_speakerc_speaker
function c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
} ("susie");
|
|
809
|
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* ...Delay 11 Took you long enough.Wait for input"\\EC* ..^1. Took you long enough./", "obj_dw_church_knightclimbpost_slash_Step_0_gml_1166_0" );
|
|
810
|
c_facenextc_facenext
function c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
} ("ralsei", "Q");
|
|
811
|
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 Q* Hope you,Delay 11 um,Delay 11 had a good time,Delay 11 Kris!Wait for inputClose Message"\\EQ* Hope you^1, um^1, had a good time^1, Kris!/%", "obj_dw_church_knightclimbpost_slash_Step_0_gml_1168_0" );
|
|
812
|
c_talk_waitc_talk_wait
function c_talk_wait()
{
c_talk();
c_waittalk();
}
function c_talkwait()
{
c_talk_wait();
} ();
|
|
813
|
}
|
|
814
|
c_selc_sel
function c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
} (kr);
|
|
815
|
c_facingc_facing
function c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
} ("d");
|
|
816
|
c_actortokrisc_actortokris
function c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
} ();
|
|
817
|
c_actortocaterpillarc_actortocaterpillar
function c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} ();
|
|
818
|
c_terminatekillactorsc_terminatekillactors
function c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
} ();
|
|
819
|
}
|
|
820
|
if (pillar_con == 31 && !i_ex(obj_cutscene_master))
|
|
821
|
{
|
|
822
|
pillar_con = 0;
|
|
823
|
global.interact = 0;
|
|
824
|
}
|
|
825
|
}
|