Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_dw_fcastle_top_ascent_Step_0

related scripts: Create_0Draw_0Step_0 Step_2

(view raw script w/o annotations or w/e)
1
if (!init)
2
{
3
    init = true;
4
    with (obj_slashpusher)
5
    {
6
        if (!closed)
7
            autocloses = true;
8
    }
9
    if (furthest_room_progress == 9)
10
    {
11
        var gm = scr_genmarker("make_bounce");
12
        var bounceflower = instance_create(gm.x, gm.y, obj_slashpusher);
13
        with (bounceflower)
14
        {
15
            scr_plat_depthcast();
16
            index = 5;
17
            angle = 90;
18
            strength = 20.75;
19
            stem_ease_x = ease_in_quad;
20
            stem_ease_y = ease_out_quad;
21
            scr_delay_var("force_yplat", true, 4);
22
            scr_delay_var("y_plat", ystart + 80, 4);
23
        }
24
    }
25
    with (obj_parallaxer)
26
    {
27
        ss1 = 0.8;
28
        ssy1 = 0.8;
29
        ss2 = 0.7;
30
        ssy2 = 0.7;
31
    }
32
    if (global.flag[1902] == 0)
33
    {
34
        with (scr_marker_fromasset(findsprite(spr_fcastle_top_fakewall)))
35
        {
36
            other.wallmarker = id;
37
            
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
38
            y += 2;
39
            depth = 1345599;
40
        }
41
        if (global.flag[1901] >= 10)
42
            wants_to_reveal_wall = true;
43
    }
44
    else
45
    {
46
        with (obj_plat_block)
47
        {
48
            if (extflag == "pumpkin_wall")
49
            {
50
                instance_destroy();
51
                break;
52
            }
53
        }
54
        with (obj_plat_cam_clampzone)
55
        {
56
            if (xmax == 1240 && ymax == 5220)
57
                xmax = -4;
58
        }
59
    }
60
}
61
if (global.pause_plat)
62
    exit;
63
if (scr_trigcheck_ext("reset", 912))
64
    reset_all_stage_elements();
65
if (scr_trigcheck_ext("can_reset", 912))
66
{
67
    if (!can_reset)
68
    {
69
        with (obj_plat_vinehook_small)
70
            recover();
71
        can_reset = true;
72
    }
73
}
74
if (ascent_con == 0)
75
{
76
    if (scr_trigcheck_ext("bullet1", 912) && obj_plat_player.grounded)
77
    {
78
        ascent_con = 1;
79
        create_scary_bullet(-1, 7.5);
80
    }
81
}
82
if (ascent_con == 1)
83
{
84
    if (scr_trigcheck_ext("bullet2", 912) && obj_plat_player.grounded)
85
    {
86
        ascent_con = 2;
87
        create_scary_bullet(1, -9);
88
    }
89
}
90
if (failcounter >= 3)
91
{
92
    with (obj_plat_follower)
93
        free_will = true;
94
}
95
for (var i = current_room_progress; i < 9; i++)
96
{
97
    if (scr_trigcheck_ext("progress_" + string(i), 912))
98
        current_room_progress = max(current_room_progress, i);
99
}
100
if (introcon == 0)
101
{
102
    if (scr_trigcheck_ext("intro_1", 912))
103
    {
104
        introcon = 1;
105
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("ralsei");
106
        msgsetsubloc(0, 
Face L* This room's enormous!
"\\EL* This room's enormous!", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_98_0"
);
107
        scr_flag_set_ext(PROGRESS_FLAG, _INTRO_BIT, 1, 2);
108
        d_make_plat(0, 0, undefined, undefined, 1);
109
    }
110
}
111
else if (introcon == 1)
112
{
113
    if (scr_trigcheck_ext("intro_2", 912))
114
    {
115
        introcon = 2;
116
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("susie");
117
        msgsetsubloc(0, 
Face 0* Guess we start here?
"\\E0* Guess we start here?", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_106_0"
);
118
        d_make_plat(0, 0, undefined, undefined, 1);
119
        scr_flag_set_ext(PROGRESS_FLAG, _INTRO_BIT, 2, 2);
120
    }
121
}
122
if (shuricon == 0)
123
{
124
    if (scr_trigcheck_ext("shuri_1", 912) && obj_plat_player.grounded)
125
    {
126
        shuricon = 1.1;
127
        scr_delay_var("shuricon", 1, 120);
128
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("susie");
129
        var small_text = stringsetloc(
I'm trying!?
"I'm trying!?", "obj_dw_fcastle_top_ascent_slash_Step_0_gml_118_0"
);
130
        
scr_smallface
scr_smallface

function
scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt; if (is_string(arg1)) { if (arg1 == "susie") global.smsprite[arg0] = spr_face_susie_alt; if (arg1 == "ralsei") global.smsprite[arg0] = spr_face_r_nohat; if (arg1 == "ralsei" && global.flag[1311]) global.smsprite[arg0] = spr_face_r_dark; if (arg1 == "lancer") global.smsprite[arg0] = spr_face_l0; if (arg1 == "noelle") global.smsprite[arg0] = spr_face_n_matome; if (arg1 == "noelle_cropped") global.smsprite[arg0] = spr_face_n_matome_cropped; if (arg1 == "queen") global.smsprite[arg0] =
scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls") global.smsprite[arg0] = spr_face_rurus; if (arg1 == "berdly") global.smsprite[arg0] = spr_face_berdly_dark; if (arg1 == "rudy") global.smsprite[arg0] = spr_face_rudy; if (arg1 == "flowery") global.smsprite[arg0] = spr_face_flowery; if (arg1 == "toriel") global.smsprite[arg0] = spr_face_t0; if (arg1 == "opuppet") { global.smsprite[arg0] = spr_miniface_orange; global.smcolor[arg0] = c_orange; global.smshake[arg0] = 1; } if (arg1 == "sans") global.smsprite[arg0] = asset_get_index("spr_face_sans" + string(arg2)); var flower_list = ["orange", "aqua", "green", "seth", "blue", "yellow"]; for (var i = 0; i < array_length(flower_list); i++) { if (arg1 != flower_list[i]) continue; global.smsprite[arg0] = spr_empty; break; } if (arg1 == "orange") global.smcolor[arg0] = #FFAC87; if (arg1 == "aqua") global.smcolor[arg0] = #84F9FF; if (arg1 == "green") global.smcolor[arg0] = #AEFFBC; if (arg1 == "seth") global.smcolor[arg0] = #E2A8FC; if (arg1 == "blue") global.smcolor[arg0] = #86A7FF; if (arg1 == "yellow") global.smcolor[arg0] = #FFF8A1; if (arg1 == "none" || arg1 == "empty") global.smsprite[arg0] = spr_empty; } else { global.smsprite[arg0] = arg1; if (arg1 == 0) global.smsprite[arg0] = spr_empty; } global.smimage[arg0] = arg2; if (is_string(arg3)) { if (global.fighting == 1) { if (arg3 == "left") global.smxx[arg0] = 60; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 460; } else { if (arg3 == "left") global.smxx[arg0] = 70; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 400; } } else { global.smxx[arg0] = arg3; } ...
(0, 7023, 0, "mid", "topmid", small_text);
131
        msgsetsubloc(0, 
Face 6* Go faster!?Mini text 0
"\\E6* Go faster!?\\f0", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_120_0"
);
132
        d_make_plat(0, 0);
133
        scr_flag_set_ext(PROGRESS_FLAG, _SHURIKEN_BIT, 1, 3);
134
    }
135
}
136
else if (shuricon == 1)
137
{
138
    if (scr_trigcheck_ext("shuri_1", 912) && obj_plat_player.grounded)
139
    {
140
        shuricon = 1.1;
141
        scr_delay_var("shuricon", 2, 120);
142
        var small_text = stringsetloc(
How!?
"How!?", "obj_dw_fcastle_top_ascent_slash_Step_0_gml_128_0"
);
143
        
scr_smallface
scr_smallface

function
scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt; if (is_string(arg1)) { if (arg1 == "susie") global.smsprite[arg0] = spr_face_susie_alt; if (arg1 == "ralsei") global.smsprite[arg0] = spr_face_r_nohat; if (arg1 == "ralsei" && global.flag[1311]) global.smsprite[arg0] = spr_face_r_dark; if (arg1 == "lancer") global.smsprite[arg0] = spr_face_l0; if (arg1 == "noelle") global.smsprite[arg0] = spr_face_n_matome; if (arg1 == "noelle_cropped") global.smsprite[arg0] = spr_face_n_matome_cropped; if (arg1 == "queen") global.smsprite[arg0] =
scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls") global.smsprite[arg0] = spr_face_rurus; if (arg1 == "berdly") global.smsprite[arg0] = spr_face_berdly_dark; if (arg1 == "rudy") global.smsprite[arg0] = spr_face_rudy; if (arg1 == "flowery") global.smsprite[arg0] = spr_face_flowery; if (arg1 == "toriel") global.smsprite[arg0] = spr_face_t0; if (arg1 == "opuppet") { global.smsprite[arg0] = spr_miniface_orange; global.smcolor[arg0] = c_orange; global.smshake[arg0] = 1; } if (arg1 == "sans") global.smsprite[arg0] = asset_get_index("spr_face_sans" + string(arg2)); var flower_list = ["orange", "aqua", "green", "seth", "blue", "yellow"]; for (var i = 0; i < array_length(flower_list); i++) { if (arg1 != flower_list[i]) continue; global.smsprite[arg0] = spr_empty; break; } if (arg1 == "orange") global.smcolor[arg0] = #FFAC87; if (arg1 == "aqua") global.smcolor[arg0] = #84F9FF; if (arg1 == "green") global.smcolor[arg0] = #AEFFBC; if (arg1 == "seth") global.smcolor[arg0] = #E2A8FC; if (arg1 == "blue") global.smcolor[arg0] = #86A7FF; if (arg1 == "yellow") global.smcolor[arg0] = #FFF8A1; if (arg1 == "none" || arg1 == "empty") global.smsprite[arg0] = spr_empty; } else { global.smsprite[arg0] = arg1; if (arg1 == 0) global.smsprite[arg0] = spr_empty; } global.smimage[arg0] = arg2; if (is_string(arg3)) { if (global.fighting == 1) { if (arg3 == "left") global.smxx[arg0] = 60; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 460; } else { if (arg3 == "left") global.smxx[arg0] = 70; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 400; } } else { global.smxx[arg0] = arg3; } ...
(0, 7023, 1, "mid", "topmid", small_text);
144
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("susie");
145
        msgsetsubloc(0, 
Face 6* Faster this time!?Mini text 0
"\\E6* Faster this time!?\\f0", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_131_0"
);
146
        d_make_plat(0, 0);
147
        scr_flag_set_ext(PROGRESS_FLAG, _SHURIKEN_BIT, 2, 3);
148
    }
149
}
150
else if (shuricon == 2)
151
{
152
    if (scr_trigcheck_ext("shuri_1", 912) && obj_plat_player.grounded)
153
    {
154
        shuricon = 1.1;
155
        var small_text = stringsetloc(
No!?
"No!?", "obj_dw_fcastle_top_ascent_slash_Step_0_gml_138_0"
);
156
        
scr_smallface
scr_smallface

function
scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt; if (is_string(arg1)) { if (arg1 == "susie") global.smsprite[arg0] = spr_face_susie_alt; if (arg1 == "ralsei") global.smsprite[arg0] = spr_face_r_nohat; if (arg1 == "ralsei" && global.flag[1311]) global.smsprite[arg0] = spr_face_r_dark; if (arg1 == "lancer") global.smsprite[arg0] = spr_face_l0; if (arg1 == "noelle") global.smsprite[arg0] = spr_face_n_matome; if (arg1 == "noelle_cropped") global.smsprite[arg0] = spr_face_n_matome_cropped; if (arg1 == "queen") global.smsprite[arg0] =
scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls") global.smsprite[arg0] = spr_face_rurus; if (arg1 == "berdly") global.smsprite[arg0] = spr_face_berdly_dark; if (arg1 == "rudy") global.smsprite[arg0] = spr_face_rudy; if (arg1 == "flowery") global.smsprite[arg0] = spr_face_flowery; if (arg1 == "toriel") global.smsprite[arg0] = spr_face_t0; if (arg1 == "opuppet") { global.smsprite[arg0] = spr_miniface_orange; global.smcolor[arg0] = c_orange; global.smshake[arg0] = 1; } if (arg1 == "sans") global.smsprite[arg0] = asset_get_index("spr_face_sans" + string(arg2)); var flower_list = ["orange", "aqua", "green", "seth", "blue", "yellow"]; for (var i = 0; i < array_length(flower_list); i++) { if (arg1 != flower_list[i]) continue; global.smsprite[arg0] = spr_empty; break; } if (arg1 == "orange") global.smcolor[arg0] = #FFAC87; if (arg1 == "aqua") global.smcolor[arg0] = #84F9FF; if (arg1 == "green") global.smcolor[arg0] = #AEFFBC; if (arg1 == "seth") global.smcolor[arg0] = #E2A8FC; if (arg1 == "blue") global.smcolor[arg0] = #86A7FF; if (arg1 == "yellow") global.smcolor[arg0] = #FFF8A1; if (arg1 == "none" || arg1 == "empty") global.smsprite[arg0] = spr_empty; } else { global.smsprite[arg0] = arg1; if (arg1 == 0) global.smsprite[arg0] = spr_empty; } global.smimage[arg0] = arg2; if (is_string(arg3)) { if (global.fighting == 1) { if (arg3 == "left") global.smxx[arg0] = 60; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 460; } else { if (arg3 == "left") global.smxx[arg0] = 70; if (arg3 == "leftmid") global.smxx[arg0] = 160; if (arg3 == "mid" || arg3 == "middle") global.smxx[arg0] = 260; if (arg3 == "rightmid") global.smxx[arg0] = 360; if (arg3 == "right") global.smxx[arg0] = 400; } } else { global.smxx[arg0] = arg3; } ...
(0, 7023, 2, "mid", "topmid", small_text);
157
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; if (global.darkzone == 1) global.typer = 89; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; if (global.chapter == 1) { if (global.plot < 235) global.typer = 36; ...
("susie");
158
        msgsetsubloc(0, 
Face 7* Rocket boost!Mini text 0
"\\E7* Rocket boost!\\f0", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_141_0"
);
159
        d_make_plat(0, 0);
160
        scr_flag_set_ext(PROGRESS_FLAG, _SHURIKEN_BIT, 3, 3);
161
    }
162
}
163
if (wants_to_reveal_wall)
164
{
165
    if (scr_trigcheck_ext("wall_reveal", 912))
166
    {
167
        wants_to_reveal_wall = false;
168
        global.flag[1902] = 1;
169
        with (obj_plat_block)
170
        {
171
            if (extflag == "pumpkin_wall")
172
            {
173
                instance_destroy();
174
                break;
175
            }
176
        }
177
        with (obj_plat_cam_clampzone)
178
        {
179
            if (xmax == 1240 && ymax == 5220)
180
                
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("xmax", xmax, room_width - 640, 60);
181
        }
182
        snd_play(snd_sparkle_glock);
183
        with (wallmarker)
184
        {
185
            
scr_doom
scr_doom

function
scr_doom(arg0, arg1)
{ var _doom = instance_create_depth(0, 0, 0, obj_doom); with (_doom) { alarm[0] = arg1; target = arg0; } return _doom; }
(id, 60);
186
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("x", x, x + 120, 60);
187
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_alpha", 1, 0, 60);
188
        }
189
    }
190
}
191
if (waiting_for_free_will_scene == 1)
192
{
193
    var eligible = true;
194
    with (obj_plat_follower)
195
    {
196
        if (is_platform_mode > 0 || image_alpha < 1 || !caterpillarmode)
197
        {
198
            eligible = false;
199
            break;
200
        }
201
    }
202
    if (eligible && scr_trigcheck_ext("intro_2", 912))
203
    {
204
        var wait = false;
205
        with (obj_plat_follower)
206
        {
207
            if (name == "ralsei")
208
            {
209
                var ral = id;
210
                if (!grounded)
211
                    wait = true;
212
            }
213
        }
214
        global.interact = 1;
215
        if (wait)
216
            waiting_for_free_will_scene = 1.1;
217
        else
218
            waiting_for_free_will_scene = 1.2;
219
    }
220
}
221
if (waiting_for_free_will_scene == 1.1)
222
{
223
    var wait = false;
224
    with (obj_plat_follower)
225
    {
226
        if (name == "ralsei")
227
        {
228
            var ral = id;
229
            if (!grounded)
230
                wait = true;
231
        }
232
    }
233
    if (!wait)
234
        waiting_for_free_will_scene = 1.2;
235
}
236
if (waiting_for_free_will_scene == 1.2)
237
{
238
    with (obj_plat_block)
239
    {
240
        if (extflag == "failsafe")
241
        {
242
            x = 1000;
243
            break;
244
        }
245
    }
246
    waiting_for_free_will_scene = 2;
247
    global.interact = 1;
248
    cutscene_master = 
scr_cutscene_make
scr_cutscene_make

function
scr_cutscene_make()
{ _cutscene_master = instance_create(0, 0, obj_cutscene_master); _cutscene_master.master_object = id; return _cutscene_master; }
();
249
    
scr_maincharacters_actors
scr_maincharacters_actors

function
scr_maincharacters_actors()
{ if (i_ex(obj_plat_player)) { scr_maincharacters_actors_plat(); exit; } 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; } } } }
();
250
    var ral = -4;
251
    with (obj_dialoguer_plat)
252
        instance_destroy();
253
    
scr_get_plat_followers
scr_get_plat_followers

function
scr_get_plat_followers()
{ plat_susie = -4; plat_ralsei = -4; with (obj_plat_follower) { if (name == "susie") other.plat_susie = self; if (name == "ralsei") other.plat_ralsei = self; } }
();
254
    c_plat_prepare_followers();
255
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(1);
256
    var cam_target = -4;
257
    with (obj_plat_movemarker)
258
    {
259
        if (extflag == "cutykr1")
260
        {
261
            cam_target = id;
262
            break;
263
        }
264
    }
265
    
c_pan
c_pan

function
c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
}
(cam_target.x - 240, 5220, 30);
266
    c_plat_moveto(kr_actor, "cutykr1");
267
    c_plat_moveto(su_actor, "cutysu1");
268
    c_plat_moveto(ra_actor, "cutyra1");
269
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
270
    c_plat_goal_reached(kr_actor);
271
    c_plat_goal_reached(su_actor);
272
    c_plat_goal_reached(ra_actor);
273
    c_plat_turn(kr_actor, "r");
274
    c_plat_turn(su_actor, "r");
275
    c_plat_turn(ra_actor, "l");
276
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
277
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_surprised_subtle_head_down);
278
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
279
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
280
    
c_msgsetsubloc
c_msgsetsubloc

function
c_msgsetsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var msg_index = argument[0]; var format_string = argument[1]; var localized_format_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_format_string_id);
var str = substringargs(format_string, 2, args);
c_msgset(msg_index, str);
}
(0,
Face Q* Kris,Delay 11 perhaps if you...Wait for inputClose Message
"\\EQ* Kris^1, perhaps if you.../%", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_204_0"
);
281
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
282
    c_plat_moveto(su_actor, "cutysu2");
283
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(5);
284
    c_plat_goal_reached(su_actor);
285
    
c_customfunc
c_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()
286
    {
287
        with (su_actor)
288
            depth = other.ra_actor.depth + 5;
289
    });
290
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
291
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_hand_on_shoulder);
292
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} function c_image_speed(arg0) {
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.25);
293
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
294
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(18);
295
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} function c_image_speed(arg0) {
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
296
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
297
    
c_msgsetsubloc
c_msgsetsubloc

function
c_msgsetsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var msg_index = argument[0]; var format_string = argument[1]; var localized_format_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_format_string_id);
var str = substringargs(format_string, 2, args);
c_msgset(msg_index, str);
}
(0,
Face 0* Ralsei.Delay 11 Hey.Wait for input
"\\E0* Ralsei^1. Hey./", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_221_0"
);
298
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "L");
299
    
c_msgnextsubloc
c_msgnextsubloc

function
c_msgnextsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var format_string = argument[0]; var localized_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_string_id);
var str = substringargs(format_string, 1, args);
c_msgnext(str);
}
(
Face L* Susie...?Wait for input
"\\EL* Susie...?/", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_223_0"
);
300
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
301
    
c_spritenext
c_spritenext

function
c_spritenext(arg0, arg1 = -9999, arg2 = -9999)
{
c_cmd_x("msgcmd", "sprite", arg0, 0, 0, 0, 0);
if (arg1 != -9999)
c_cmd_x("msgcmd", "imageindex", arg1, 0, 0, 0, 0);
if (arg2 != -9999)
c_cmd_x("msgcmd", "imagespeed", arg2, 0, 0, 0, 0);
}
(1569);
302
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "D");
303
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
304
    
c_msgnextsubloc
c_msgnextsubloc

function
c_msgnextsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var format_string = argument[0]; var localized_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_string_id);
var str = substringargs(format_string, 1, args);
c_msgnext(str);
}
(
Face D* For this room...Wait for input
"\\ED* For this room.../", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_228_0"
);
305
    
c_msgnextsubloc
c_msgnextsubloc

function
c_msgnextsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var format_string = argument[0]; var localized_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_string_id);
var str = substringargs(format_string, 1, args);
c_msgnext(str);
}
(
Face N* Let's not wait for Kris to tell us when.Wait for input
"\\EN* Let's not wait for Kris to tell us when./", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_229_0"
);
306
    
c_msgnextsubloc
c_msgnextsubloc

function
c_msgnextsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var format_string = argument[0]; var localized_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_string_id);
var str = substringargs(format_string, 1, args);
c_msgnext(str);
}
(
Face 2* Let's just do it.Wait for input
"\\E2* Let's just do it./", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_230_0"
);
307
    
c_msgnextsubloc
c_msgnextsubloc

function
c_msgnextsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var format_string = argument[0]; var localized_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_string_id);
var str = substringargs(format_string, 1, args);
c_msgnext(str);
}
(
Face 9* All we gotta do is trust each other,Delay 11 right?Wait for input
"\\E9* All we gotta do is trust each other^1, right?/", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_231_0"
);
308
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "d");
309
    
c_msgnextsubloc
c_msgnextsubloc

function
c_msgnextsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var format_string = argument[0]; var localized_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_string_id);
var str = substringargs(format_string, 1, args);
c_msgnext(str);
}
(
Face d* ...Wait for input
"\\Ed* .../", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_233_0"
);
310
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
311
    
c_spritenext
c_spritenext

function
c_spritenext(arg0, arg1 = -9999, arg2 = -9999)
{
c_cmd_x("msgcmd", "sprite", arg0, 0, 0, 0, 0);
if (arg1 != -9999)
c_cmd_x("msgcmd", "imageindex", arg1, 0, 0, 0, 0);
if (arg2 != -9999)
c_cmd_x("msgcmd", "imagespeed", arg2, 0, 0, 0, 0);
}
(829);
312
    
c_msgnextsubloc
c_msgnextsubloc

function
c_msgnextsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var format_string = argument[0]; var localized_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_string_id);
var str = substringargs(format_string, 1, args);
c_msgnext(str);
}
(
Face E* Then,Delay 11 let's go.Wait for inputClose Message
"\\EE* Then^1, let's go./%", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_236_0"
);
313
    
c_spritenext
c_spritenext

function
c_spritenext(arg0, arg1 = -9999, arg2 = -9999)
{
c_cmd_x("msgcmd", "sprite", arg0, 0, 0, 0, 0);
if (arg1 != -9999)
c_cmd_x("msgcmd", "imageindex", arg1, 0, 0, 0, 0);
if (arg2 != -9999)
c_cmd_x("msgcmd", "imagespeed", arg2, 0, 0, 0, 0);
}
(1569);
314
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
315
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
316
    
c_panobj
c_panobj

function
c_panobj(arg0, arg1)
{
c_cmd("panobj", arg0, arg1, 0, 0);
}
(kr_actor, 15);
317
    
c_customfunc
c_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()
318
    {
319
        with (obj_panner)
320
        {
321
            panx += 14;
322
            finalx += 14;
323
            pany = 0;
324
            finaly = cameray();
325
        }
326
    });
327
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(16);
328
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(0);
329
    
c_actortokris
c_actortokris

function
c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
}
();
330
    
c_actortocaterpillar
c_actortocaterpillar

function
c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} function c_actortocaterpillarstill() {
c_cmd("actortocaterpillarstill", 0, 0, 0, 0);
}
();
331
    
c_customfunc
c_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()
332
    {
333
        with (obj_plat_follower)
334
        {
335
            if (name == "susie")
336
                x += 24;
337
            else
338
                x -= 24;
339
        }
340
    });
341
    
c_terminatekillactors
c_terminatekillactors

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
342
}
343
if (waiting_for_free_will_scene == 2 && !instance_exists(obj_cutscene_master))
344
{
345
    waiting_for_free_will_scene = 0;
346
    with (obj_plat_block)
347
    {
348
        if (extflag == "failsafe")
349
        {
350
            x = 3000;
351
            break;
352
        }
353
    }
354
    failcounter = 3;
355
    global.interact = 0;
356
    with (obj_plat_follower)
357
    {
358
        image_xscale = 2;
359
        state = -1;
360
        caterpillarmode = 0;
361
        important = 1;
362
    }
363
    scr_flag_set_ext(PROGRESS_FLAG, _FREEWILL_BIT, 3, 2);
364
}
365
if (furthest_room_progress < 8.5 && scr_trigcheck_ext("finished", 912))
366
{
367
    with (obj_plat_follower)
368
        drop_off_platform_mode(true);
369
    furthest_room_progress = 8.5;
370
}
371
if (furthest_room_progress < 9 && furthest_room_progress >= 8.5 && obj_plat_player.grounded && instance_number(obj_plat_follower) > 0)
372
{
373
    furthest_room_progress = 9.1;
374
    with (obj_plat_follower)
375
        drop_off_platform_mode(true);
376
    global.interact = 1;
377
    cutscene_master = 
scr_cutscene_make
scr_cutscene_make

function
scr_cutscene_make()
{ _cutscene_master = instance_create(0, 0, obj_cutscene_master); _cutscene_master.master_object = id; return _cutscene_master; }
();
378
    
scr_maincharacters_actors
scr_maincharacters_actors

function
scr_maincharacters_actors()
{ if (i_ex(obj_plat_player)) { scr_maincharacters_actors_plat(); exit; } 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; } } } }
();
379
    with (obj_dialoguer_plat)
380
        instance_destroy();
381
    
scr_get_plat_followers
scr_get_plat_followers

function
scr_get_plat_followers()
{ plat_susie = -4; plat_ralsei = -4; with (obj_plat_follower) { if (name == "susie") other.plat_susie = self; if (name == "ralsei") other.plat_ralsei = self; } }
();
382
    c_plat_prepare_followers();
383
    c_plat_moveto(kr_actor, "cutekr1");
384
    c_plat_moveto(su_actor, "cutesu1");
385
    c_plat_moveto(ra_actor, "cutera1");
386
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(5);
387
    c_plat_goal_reached(kr_actor);
388
    c_plat_goal_reached(su_actor);
389
    c_plat_goal_reached(ra_actor);
390
    c_sndplay(snd_swing);
391
    c_plat_turn(kr_actor, "l");
392
    c_plat_turn(ra_actor, "l");
393
    c_plat_turn(su_actor, "l");
394
    c_plat_animate(su_actor, 8100);
395
    c_plat_animate(ra_actor, 2417);
396
    c_plat_animate(kr_actor, 5488);
397
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
398
    c_sndplay(snd_feather_get);
399
    c_plat_animate(su_actor, 6048);
400
    c_plat_animate(ra_actor, 7823);
401
    c_plat_animate(kr_actor, 6189);
402
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(45);
403
    if (failcounter >= 3)
404
    {
405
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
406
        
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_pose_look_left);
407
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
408
        
c_msgsetsubloc
c_msgsetsubloc

function
c_msgsetsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var msg_index = argument[0]; var format_string = argument[1]; var localized_format_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_format_string_id);
var str = substringargs(format_string, 2, args);
c_msgset(msg_index, str);
}
(0,
Face k* That was easy,Delay 11 right?Wait for inputClose Message
"\\Ek* That was easy^1, right?/%", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_301_0"
);
409
        
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
410
    }
411
    else
412
    {
413
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
414
        
c_msgsetsubloc
c_msgsetsubloc

function
c_msgsetsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var msg_index = argument[0]; var format_string = argument[1]; var localized_format_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_format_string_id);
var str = substringargs(format_string, 2, args);
c_msgset(msg_index, str);
}
(0,
Face 2* Wow,Delay 11 amazing job,Delay 11 Kris!Wait for input
"\\E2* Wow^1, amazing job^1, Kris!/", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_407_0"
);
415
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
416
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", 9);
417
        
c_msgnextsubloc
c_msgnextsubloc

function
c_msgnextsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var format_string = argument[0]; var localized_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_string_id);
var str = substringargs(format_string, 1, args);
c_msgnext(str);
}
(
Face 9* Nothing's tough for us,Delay 11 right?Wait for inputClose Message
"\\E9* Nothing's tough for us^1, right?/%", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_410_0"
);
418
        
c_spritenext
c_spritenext

function
c_spritenext(arg0, arg1 = -9999, arg2 = -9999)
{
c_cmd_x("msgcmd", "sprite", arg0, 0, 0, 0, 0);
if (arg1 != -9999)
c_cmd_x("msgcmd", "imageindex", arg1, 0, 0, 0, 0);
if (arg2 != -9999)
c_cmd_x("msgcmd", "imagespeed", arg2, 0, 0, 0, 0);
}
(6919);
419
        
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
420
    }
421
    
c_customfunc
c_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()
422
    {
423
        killer_bullet = instance_create(camerax() + 680, cameray() + 220, obj_marker);
424
        with (killer_bullet)
425
        {
426
            con = 0;
427
            timer = 0;
428
            speed_scale = 1;
429
            _vspeed = -6;
430
            _gravity = 0.5;
431
            sprite_index = spr_plat_enm_shuriken_3d;
432
            image_speed = 1;
433
            image_angle = -90;
434
        }
435
        with (su_actor)
436
            depth = other.ra_actor.depth + 5;
437
        with (ra_actor)
438
            depth = 1950;
439
    });
440
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(13);
441
    
c_customfunc
c_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()
442
    {
443
        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("draw_grayscale", 0, 1, 15, 1, "in");
444
        with (killer_bullet)
445
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("speed_scale", 1, 0.05, 15, 1, "in");
446
    });
447
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
448
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
449
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_kris_plat_crouch);
450
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
451
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} function c_image_speed(arg0) {
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
452
    c_plat_turn(kr_actor, "r");
453
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
454
    c_plat_turn(ra_actor, "l");
455
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_fall_back);
456
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} function c_image_speed(arg0) {
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
457
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
458
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("volume", 0, 30);
459
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
460
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(2);
461
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(20);
462
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
463
    
c_msgsetsubloc
c_msgsetsubloc

function
c_msgsetsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var msg_index = argument[0]; var format_string = argument[1]; var localized_format_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_format_string_id);
var str = substringargs(format_string, 2, args);
c_msgset(msg_index, str);
}
(0,
Face t* SUSIE!
"\\Et* SUSIE!", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_343_0"
);
464
    
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
465
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
466
    c_plat_turn(su_actor, "r");
467
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_surprised_left);
468
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(20);
469
    c_plat_turn(ra_actor, "r");
470
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
471
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_plat_ralsei_spell_fireball_right);
472
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
473
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} function c_image_speed(arg0) {
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.1);
474
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
475
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} function c_image_speed(arg0) {
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.05);
476
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
477
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_surprised_step_back);
478
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
479
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} function c_image_speed(arg0) {
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
480
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
481
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
482
    
c_addxy
c_addxy

function
c_addxy(arg0, arg1)
{
c_cmd("addxy", arg0, arg1, 0, 0);
}
(-8, 0);
483
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
484
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} function c_image_speed(arg0) {
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.1);
485
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(18);
486
    
c_customfunc
c_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()
487
    {
488
        k_d();
489
    });
490
    
c_customfunc
c_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()
491
    {
492
        with (killer_bullet)
493
            
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
494
        killer_bullet.speed_scale = 0;
495
        instance_create(killer_bullet.x, killer_bullet.y, obj_firespell);
496
    });
497
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(12);
498
    
c_customfunc
c_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()
499
    {
500
        with (killer_bullet)
501
            
scr_oflash
scr_oflash

function
scr_oflash()
{ _oflash = instance_create(x, y, obj_oflash); _oflash.image_xscale = image_xscale; _oflash.image_speed = 0; _oflash.image_angle = image_angle; _oflash.image_index = image_index; _oflash.image_yscale = image_yscale; _oflash.sprite_index = sprite_index; _oflash.depth = depth - 1; _oflash.target = id; return _oflash; }
().image_alpha = 1;
502
    });
503
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(5);
504
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
} function c_image_speed(arg0) {
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0);
505
    
c_customfunc
c_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()
506
    {
507
        with (killer_bullet)
508
        {
509
            for (var i = 0; i < 12; i++)
510
            {
511
                with (instance_create(x, y, obj_animation))
512
                {
513
                    sprite_index = spr_vfx_twinkle;
514
                    speed = 8;
515
                    friction = 0.4;
516
                    
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
517
                    image_speed = 0.25;
518
                    direction = i * 30;
519
                }
520
            }
521
            for (var i = 0; i < 12; i++)
522
            {
523
                with (instance_create(x, y, obj_animation))
524
                {
525
                    sprite_index = spr_vfx_twinkle;
526
                    speed = 10;
527
                    friction = 0.34;
528
                    
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
529
                    image_speed = 0.2;
530
                    direction = (i * 30) + 15;
531
                }
532
            }
533
            for (var i = -3; i < 3; i++)
534
            {
535
                with (instance_create(x, y, obj_marker_fancy))
536
                {
537
                    sprite_index = spr_fire_rain;
538
                    speed = 8;
539
                    image_index = random_range(0, 4);
540
                    
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
541
                    gravity = 0.4;
542
                    image_speed = 0.5;
543
                    direction = 90 + (i * 30) + random_range(10, 20);
544
                    hspeed *= 1.2;
545
                    
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("image_alpha", 5, 0, 300);
546
                    
scr_doom
scr_doom

function
scr_doom(arg0, arg1)
{ var _doom = instance_create_depth(0, 0, 0, obj_doom); with (_doom) { alarm[0] = arg1; target = arg0; } return _doom; }
(self, 300);
547
                    
548
                    step_func = function()
549
                    {
550
                        with (instance_place(x, y, obj_plat_floor))
551
                        {
552
                            other.speed = 0;
553
                            other.gravity = 0;
554
                            other.y = bbox_top - 16;
555
                        }
556
                    };
557
                }
558
            }
559
            with (instance_create(x, y, obj_animation))
560
            {
561
                sprite_index = spr_omegaflowery_explosion_a;
562
                
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
563
                depth = other.depth + 20;
564
                image_speed = 0.5;
565
            }
566
            instance_destroy();
567
        }
568
        
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ var _id = self; if (!is_struct(self)) _id = id; 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_lerpcol() { if (argument_count < 6) ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]); else ___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]); return ___lerpvar; }
("draw_grayscale", 1, 0, 15, 1, "out");
569
    });
570
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
571
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_plat_susie_shock_r);
572
    c_plat_turn(su_actor, "r");
573
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
574
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
575
    
c_msgsetsubloc
c_msgsetsubloc

function
c_msgsetsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var msg_index = argument[0]; var format_string = argument[1]; var localized_format_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_format_string_id);
var str = substringargs(format_string, 2, args);
c_msgset(msg_index, str);
}
(0,
Face Z* Dude,Delay 11 I...Delay 11 didn't know you could do that...Wait for inputClose Message
"\\EZ* Dude^1, I..^1. didn't know you could do that.../%", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_384_0"
);
576
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
577
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
578
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
579
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_walk_right_blush);
580
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
581
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
582
    
c_msgsetsubloc
c_msgsetsubloc

function
c_msgsetsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var msg_index = argument[0]; var format_string = argument[1]; var localized_format_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_format_string_id);
var str = substringargs(format_string, 2, args);
c_msgset(msg_index, str);
}
(0,
Face C* Umm,Delay 11 well,Delay 11 I...Wait for inputClose Message
"\\EC* Umm^1, well^1, I.../%", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_391_0"
);
583
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
584
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
585
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
586
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_playful_punch_dw);
587
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(0);
588
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(5);
589
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
590
    c_snd_play(snd_bump);
591
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(5);
592
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
593
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_surprised_right);
594
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
595
    
c_msgsetsubloc
c_msgsetsubloc

function
c_msgsetsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var msg_index = argument[0]; var format_string = argument[1]; var localized_format_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_format_string_id);
var str = substringargs(format_string, 2, args);
c_msgset(msg_index, str);
}
(0,
Face 9* Show me cool stuff like that earlier,Delay 11 k?Wait for input
"\\E9* Show me cool stuff like that earlier^1, k?/", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_404_0"
);
596
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "Q");
597
    
c_msgnextsubloc
c_msgnextsubloc

function
c_msgnextsubloc()
{ var len = argument_count; var args; for (var i = 0; i < len; i++) args[i] = argument[i]; var format_string = argument[0]; var localized_string_id = argument[len - 1]; if (!is_english()) format_string =
scr_84_get_lang_string(localized_string_id);
var str = substringargs(format_string, 1, args);
c_msgnext(str);
}
(
Face Q* Haha,Delay 11 of course,Delay 11 Susie!Wait for inputClose Message
"\\EQ* Haha^1, of course^1, Susie!/%", (global.lang == "ja") ? stringset("&\t\t\t") : stringset("&"), "obj_dw_fcastle_top_ascent_slash_Step_0_gml_406_0"
);
598
    
c_spritenext
c_spritenext

function
c_spritenext(arg0, arg1 = -9999, arg2 = -9999)
{
c_cmd_x("msgcmd", "sprite", arg0, 0, 0, 0, 0);
if (arg1 != -9999)
c_cmd_x("msgcmd", "imageindex", arg1, 0, 0, 0, 0);
if (arg2 != -9999)
c_cmd_x("msgcmd", "imagespeed", arg2, 0, 0, 0, 0);
}
(5973);
599
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
600
    c_plat_stop_animation(su_actor);
601
    c_plat_stop_animation(ra_actor);
602
    c_plat_turn(su_actor, "l");
603
    c_plat_turn(ra_actor, "l");
604
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("volume", 1, 30);
605
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(5);
606
    
c_actortokris
c_actortokris

function
c_actortokris()
{
c_cmd("actortokris", 0, 0, 0, 0);
}
();
607
    
c_actortocaterpillar
c_actortocaterpillar

function
c_actortocaterpillar()
{
c_cmd("actortocaterpillar", 0, 0, 0, 0);
} function c_actortocaterpillarstill() {
c_cmd("actortocaterpillarstill", 0, 0, 0, 0);
}
();
608
    
c_terminatekillactors
c_terminatekillactors

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
609
}
610
if (furthest_room_progress == 9.1 && !instance_exists(obj_cutscene_master))
611
{
612
    furthest_room_progress = 9;
613
    scr_flag_set_ext(PROGRESS_FLAG, _CLEAR_BIT, 1);
614
    global.interact = 0;
615
    
scr_tempsave
scr_tempsave

function
scr_tempsave()
{ filechoicebk2 = global.filechoice; global.filechoice = 9;
scr_saveprocess(global.filechoice);
global.filechoice = filechoicebk2; }
();
616
}
617
depth = 2000;
618
with (killer_bullet)
619
{
620
    hspeed = -8 * speed_scale;
621
    timer += speed_scale;
622
    _vspeed += (_gravity * speed_scale);
623
    vspeed = _vspeed * speed_scale;
624
    image_speed = speed_scale;
625
    depth = other.depth - 5;
626
    image_angle += (speed_scale * 0.5);
627
}
628
with (obj_plat_cam_nudgezone)
629
{
630
    if (nudgex != 0 && instance_number(obj_plat_bulletred) == 0)
631
        x = xstart - 10000;
632
}