Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_ch5_DW25_Step_0

(view raw script w/o annotations or w/e)
1
if (enter_active)
2
{
3
    var triggered = false;
4
    with (obj_trigger)
5
    {
6
        if (place_meeting(x, y, obj_mainchara))
7
        {
8
            if (extflag == "enter_trigger")
9
                triggered = true;
10
        }
11
    }
12
    if (triggered && global.interact == 0 && !d_ex())
13
    {
14
        con = 0;
15
        global.interact = 1;
16
        enter_active = false;
17
        with (obj_trigger)
18
        {
19
            if (extflag == "enter_trigger")
20
                instance_destroy();
21
        }
22
    }
23
}
24
if (_flowery_float)
25
{
26
    if (fl_actor != -4)
27
    {
28
        if (_flowery_hover)
29
        {
30
            _flowery_hover_siner += 0.16;
31
            fl_actor.y = _flowery_y_target + (sin(_flowery_hover_siner) * 6);
32
        }
33
        else
34
        {
35
            fl_actor.y = 
scr_movetowards
scr_movetowards

function
scr_movetowards(arg0, arg1, arg2)
{ if (arg0 == arg1) return arg0; else if (arg0 > arg1) return max(arg0 - arg2, arg1); else return min(arg0 + arg2, arg1); } function scr_obj_movetowards_obj(arg0, arg1, arg2 = 0, arg3 = 0) { scr_obj_movetowards_point(arg0.x + arg2, arg0.y + arg3, arg1); } function scr_obj_movetowards_point(arg0, arg1, arg2) { var _distance = point_distance(x, y, arg0, arg1); if (arg2 >= _distance) { x = arg0; y = arg1; } else { var _direction = point_direction(x, y, arg0, arg1); x += lengthdir_x(arg2, _direction); y += lengthdir_y(arg2, _direction); } }
(fl_actor.y, _flowery_y_target, 16);
36
        }
37
    }
38
}
39
if (con < 0)
40
    exit;
41
if (con == 0 && !d_ex())
42
{
43
    with (obj_castlereflect_manager)
44
    {
45
        add_sprite_offset(7623, 3, 0);
46
        add_sprite_offset(8370, 11, 0);
47
        add_sprite_offset(6265, -2, 0);
48
    }
49
    con = 3;
50
    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; }
();
51
    
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; } } } }
();
52
    fl = actor_count + 1;
53
    fl_actor = instance_create(280, 280, obj_actor);
54
    
scr_actor_setup
scr_actor_setup

function
scr_actor_setup(arg0, arg1, arg2)
{ _actorid = arg0; _actorinstance = arg1; _actorname = arg2; obj_cutscene_master.actor_id[_actorid] = _actorinstance; obj_cutscene_master.actor_name[_actorid] = _actorname; with (_actorinstance) { number = arg0; if (object_index != obj_plat_npc)
scr_set_facing_sprites(arg2);
} }
(fl, fl_actor, "flowery");
55
    fl_actor.sprite_index = spr_flowery_float;
56
    c_sndplay(snd_spearappear);
57
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(fl);
58
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(0);
59
    
c_autodepth
c_autodepth

function
c_autodepth(arg0)
{
c_cmd("autodepth", arg0, 0, 0, 0);
}
(0);
60
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_flowery_float);
61
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(2);
62
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "_flowery_y_target", 480);
63
    
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()
64
    {
65
        with (fl_actor)
66
            
scr_afterimager
scr_afterimager

function
scr_afterimager(arg0, arg1, arg2 = false, arg3 = -1)
{ with (instance_create(x, y, obj_afterimager)) { fog = arg3; creator = other.id; remaining = arg0; period = arg1; alarm[0] rainbow_mode = arg2; } }
(10, 2, true);
67
    });
68
    var kr_x_pos = 350;
69
    var kr_y_pos = 637;
70
    var kr_walktime = 
scr_calculate_move_distance
scr_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, 8);
71
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
72
    
c_autodepth
c_autodepth

function
c_autodepth(arg0)
{
c_cmd("autodepth", arg0, 0, 0, 0);
}
(0);
73
    
c_depth
c_depth

function
c_depth(arg0)
{
c_cmd("depth", arg0, 0, 0, 0);
}
(95200);
74
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(kr_x_pos, kr_y_pos, kr_walktime);
75
    
c_delayfacing
c_delayfacing

function
c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
}
(kr_walktime + 1, "u");
76
    var su_x_pos = kr_x_pos - 70;
77
    var su_y_pos = kr_y_pos - 17;
78
    var su_walktime = 
scr_calculate_move_distance
scr_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, 8);
79
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
80
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("susieunhappy");
81
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(su_x_pos, su_y_pos, su_walktime);
82
    
c_delayfacing
c_delayfacing

function
c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
}
(su_walktime + 1, "u");
83
    var ra_x_pos = kr_x_pos - 130;
84
    var ra_y_pos = kr_y_pos - 12;
85
    var ra_walktime = 
scr_calculate_move_distance
scr_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, 8);
86
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
87
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("ralseiunhappy");
88
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(ra_x_pos, ra_y_pos, ra_walktime);
89
    
c_delayfacing
c_delayfacing

function
c_delayfacing(arg0, arg1)
{
c_cmd_x("delaycmd", arg0, "facing", arg1, 0, 0, 0);
}
(ra_walktime + 1, "u");
90
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(fl_actor, "y", ">=", 480);
91
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "_flowery_hover", true);
92
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(fl);
93
    
c_autodepth
c_autodepth

function
c_autodepth(arg0)
{
c_cmd("autodepth", arg0, 0, 0, 0);
}
(1);
94
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
95
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("flowery_s");
96
    
c_fefc
c_fefc

function
c_fefc(arg0, arg1)
{
c_cmd("fe", arg0, arg1, 0, 0);
}
(0, 0);
97
    
c_msgsetloc
c_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,
* Seeing everyone fight alongside each other...Wait for input
"* Seeing everyone fight alongside each other.../", "obj_ch5_DW25_slash_Step_0_gml_120_0"
);
98
    
c_msgnextloc
c_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);
}
(
* Do you get it now?Wait for input
"* Do you get it now?/", "obj_ch5_DW25_slash_Step_0_gml_121_0"
);
99
    
c_msgnextloc
c_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);
}
(
* This isn't only about Asgore.Wait for input
"* This isn't only about Asgore./", "obj_ch5_DW25_slash_Step_0_gml_122_0"
);
100
    
c_msgnextloc
c_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);
}
(
* Everyone...Delay 11 has spent their whole lives as flowers.Wait for input
"* Everyone..^1. has spent their whole lives as flowers./", "obj_ch5_DW25_slash_Step_0_gml_123_0"
);
101
    
c_msgnextloc
c_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);
}
(
* Orange,Delay 11 Yellow,Delay 11 Blue,Delay 11 Green,Delay 11 Aqua,Delay 11 Seth...Wait for input
"* Orange^1, Yellow^1, Blue^1, Green^1, Aqua^1, Seth.../", "obj_ch5_DW25_slash_Step_0_gml_124_0"
);
102
    
c_msgnextloc
c_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);
}
(
* Today,Delay 11 all of them,Delay 11 for the first time...Wait for input
"* Today^1, all of them^1, for the first time.../", "obj_ch5_DW25_slash_Step_0_gml_125_0"
);
103
    
c_msgnextloc
c_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);
}
(
* ...Delay 11 have been able to know their own smiles.Wait for input
"* ..^1. have been able to know their own smiles./", "obj_ch5_DW25_slash_Step_0_gml_126_0"
);
104
    
c_msgnextloc
c_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);
}
(
* And you three still want to seal that away?Wait for input
"* And you three still want to seal that away?/", "obj_ch5_DW25_slash_Step_0_gml_127_0"
);
105
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "i");
106
    
c_msgnextloc
c_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 i* Stop playing dumb!Delay 11 You know what will happen...Wait for input
"\\Ei* Stop playing dumb^1! You know what will happen.../", "obj_ch5_DW25_slash_Step_0_gml_129_0"
);
107
    
c_msgnextloc
c_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 g* If there's too many Dark Fountains!Wait for input
"\\Eg* If there's too many Dark Fountains!/", "obj_ch5_DW25_slash_Step_0_gml_130_0"
);
108
    
c_msgnextloc
c_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 i* Having multiple...Delay 11 only invites the end of the world!Wait for inputClose Message
"\\Ei* Having multiple..^1. only invites the end of the world!/%", "obj_ch5_DW25_slash_Step_0_gml_131_0"
);
109
    
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
110
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
111
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(fl);
112
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_flowery_float_shrug_shake_right);
113
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(2);
114
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(fl);
115
    
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.2);
116
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(3);
117
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(fl);
118
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_flowery_float_head_down_right);
119
    
c_halt
c_halt

function
c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
}
();
120
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(6);
121
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_flowery_float);
122
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(2);
123
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(7);
124
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(fl);
125
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_flowery_float_head_down_right);
126
    
c_halt
c_halt

function
c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
}
();
127
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(9);
128
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_walk_up_sad);
130
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(10);
131
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_up_shock);
133
    
c_shakeobj
c_shakeobj

function
c_shakeobj()
{
c_cmd("shakeobj", 0, 0, 0, 0);
}
();
134
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
135
    
c_wait
c_wait

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

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(fl);
137
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_flowery_float_shrug_shake_right);
138
    
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.2);
139
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("flowery_s");
140
    
c_fefc
c_fefc

function
c_fefc(arg0, arg1)
{
c_cmd("fe", arg0, arg1, 0, 0);
}
(0, 0);
141
    
c_msgsetloc
c_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,
* Hey,Delay 11 I don't disagree!Delay 11 So here's an idea...Wait for input
"* Hey^1, I don't disagree^1! So here's an idea.../", "obj_ch5_DW25_slash_Step_0_gml_175_0"
);
142
    
c_msgnextloc
c_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);
}
(
* Why not leave OUR Fountain...Delay 11 and get rid of YOURS in Castle Town?Wait for inputClose Message
"* Why not leave OUR Fountain..^1. and get rid of YOURS in Castle Town?/%", "obj_ch5_DW25_slash_Step_0_gml_176_0"
);
143
    
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
144
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
145
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(fl);
146
    
c_halt
c_halt

function
c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
}
();
147
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
148
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
149
    
c_emote
c_emote

function
c_emote()
{ if (argument_count == 0)
c_cmd("emote", "!", 30, 0, 0);
else if (argument_count == 1)
c_cmd("emote", argument[0], 30, 0, 0);
else if (argument_count == 2)
c_cmd("emote", argument[0], argument[1], 0, 0);
else if (argument_count == 3)
c_cmd("emote", argument[0], argument[1], argument[2], 0);
else if (argument_count == 4)
c_cmd("emote", argument[0], argument[1], argument[2], argument[3]);
}
("!", 30);
150
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("u");
151
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
152
    
c_emote
c_emote

function
c_emote()
{ if (argument_count == 0)
c_cmd("emote", "!", 30, 0, 0);
else if (argument_count == 1)
c_cmd("emote", argument[0], 30, 0, 0);
else if (argument_count == 2)
c_cmd("emote", argument[0], argument[1], 0, 0);
else if (argument_count == 3)
c_cmd("emote", argument[0], argument[1], argument[2], 0);
else if (argument_count == 4)
c_cmd("emote", argument[0], argument[1], argument[2], argument[3]);
}
("!", 30);
153
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_walk_up);
154
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
155
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_shock_up);
157
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
158
    
c_msgsetloc
c_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* Y...Delay 11 you...Wait for inputClose Message
"\\EV* Y..^1. you.../%", "obj_ch5_DW25_slash_Step_0_gml_198_0"
);
159
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
160
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(fl);
161
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_flowery_float_head_down_right);
162
    
c_halt
c_halt

function
c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
}
();
163
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("flowery_s");
164
    
c_fefc
c_fefc

function
c_fefc(arg0, arg1)
{
c_cmd("fe", arg0, arg1, 0, 0);
}
(0, 0);
165
    
c_msgsetloc
c_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,
* Or...Delay 11 will you really take away someone else's fantasy...Wait for input
"* Or..^1. will you really take away someone else's fantasy.../", "obj_ch5_DW25_slash_Step_0_gml_207_0"
);
166
    
c_msgnextloc
c_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);
}
(
* Just to keep your own?Wait for inputClose Message
"* Just to keep your own?/%", "obj_ch5_DW25_slash_Step_0_gml_208_0"
);
167
    
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
168
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
169
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(fl);
170
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_flowery_float);
171
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(2);
172
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(su);
173
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("u");
174
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
175
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(30);
176
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
177
    
c_msgsetloc
c_msgsetloc

function
c_msgsetloc(arg0, arg1, arg2)
{ var msg_index = arg0; var english = arg1; var localized_string_id = arg2; var str = english; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgset(msg_index, str);
}
(0,
Face J* Our Castle Town...Delay 11 it's not just a fantasy!Wait for input
"\\EJ* Our Castle Town..^1. it's not just a fantasy!/", "obj_ch5_DW25_slash_Step_0_gml_224_0"
);
178
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face c* It's our HOME!Delay 11 It's Kris's!Delay 11 It's Ralsei's!Delay 11 It's...Delay 11 EVERYONE's!Wait for input
"\\Ec* It's our HOME^1! It's Kris's^1! It's Ralsei's^1! It's..^1. EVERYONE's!/", "obj_ch5_DW25_slash_Step_0_gml_225_0"
);
179
    
c_msgnextloc
c_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* We're not getting rid of it!!!Wait for inputClose Message
"\\Ea* We're not getting rid of it!!!/%", "obj_ch5_DW25_slash_Step_0_gml_226_0"
);
180
    
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
181
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
182
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_shock_up);
184
    
c_shakeobj
c_shakeobj

function
c_shakeobj()
{
c_cmd("shakeobj", 0, 0, 0, 0);
}
();
185
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(2);
186
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_point);
188
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
189
    
c_wait
c_wait

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

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(fl);
191
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_flowery_float_head_down_right);
192
    
c_halt
c_halt

function
c_halt()
{
c_cmd("halt", 0, 0, 0, 0);
}
();
193
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("flowery_s");
194
    
c_fefc
c_fefc

function
c_fefc(arg0, arg1)
{
c_cmd("fe", arg0, arg1, 0, 0);
}
(0, 0);
195
    
c_msgsetloc
c_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,
* I see...Wait for input
"* I see.../", "obj_ch5_DW25_slash_Step_0_gml_248_0"
);
196
    
c_msgnextloc
c_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);
}
(
\Vi* Spoken like a true "hero"...Delay 11 Susie.Wait for inputClose Message
"\\Vi* Spoken like a true \"hero\"..^1. Susie./%", "obj_ch5_DW25_slash_Step_0_gml_249_0"
);
197
    
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
198
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
199
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(fl);
200
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_flowery_float_shrug_shake_right);
201
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_up_dw);
203
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
204
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(fl);
205
    
c_autodepth
c_autodepth

function
c_autodepth(arg0)
{
c_cmd("autodepth", arg0, 0, 0, 0);
}
(0);
206
    c_snd_play(snd_spearappear);
207
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "_flowery_hover", false);
208
    c_var_lerp_to_instance(id, "_flowery_y_target", cameray() - 160, 12, 2, "out");
209
    
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()
210
    {
211
        with (fl_actor)
212
            
scr_afterimager
scr_afterimager

function
scr_afterimager(arg0, arg1, arg2 = false, arg3 = -1)
{ with (instance_create(x, y, obj_afterimager)) { fog = arg3; creator = other.id; remaining = arg0; period = arg1; alarm[0] rainbow_mode = arg2; } }
(12, 2, true);
213
    });
214
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
215
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_up_head_down);
217
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_walk_right_unhappy);
219
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
220
    
c_msgsetloc
c_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* ...Wait for input
"\\Ec* .../", "obj_ch5_DW25_slash_Step_0_gml_284_0"
);
221
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "e");
222
    
c_msgnextloc
c_msgnextloc

function
c_msgnextloc(arg0, arg1)
{ var str = arg0; var localized_string_id = arg1; if (!is_english()) str =
scr_84_get_lang_string(localized_string_id);
c_msgnext(str);
}
(
Face e* Don't let him get to you,Delay 11 Susie.Wait for input
"\\Ee* Don't let him get to you^1, Susie./", "obj_ch5_DW25_slash_Step_0_gml_286_0"
);
223
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("susie", "V");
224
    
c_msgnextloc
c_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* ...Delay 11 yeah.Delay 11 Yeah,Delay 11 you're right.Wait for input
"\\EV* ..^1. yeah^1. Yeah^1, you're right./", "obj_ch5_DW25_slash_Step_0_gml_288_0"
);
225
    
c_msgnextloc
c_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 S* The Castle Town...Delay 11 we can't give that up,Delay 11 right?Wait for input
"\\ES* The Castle Town..^1. we can't give that up^1, right?/", "obj_ch5_DW25_slash_Step_0_gml_289_0"
);
226
    
c_msgnextloc
c_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* Not...Delay 11 for anything.Wait for inputClose Message
"\\EV* Not..^1. for anything./%", "obj_ch5_DW25_slash_Step_0_gml_290_0"
);
227
    
c_talk
c_talk

function
c_talk()
{
c_cmd("talk", 0, 0, 0, 0);
}
();
228
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(2);
229
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(ra);
230
    
c_autowalk
c_autowalk

function
c_autowalk(arg0)
{
c_cmd("autowalk", arg0, 0, 0, 0);
}
(0);
231
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_walk_right_head_down);
232
    
c_walkdirect
c_walkdirect

function
c_walkdirect(arg0, arg1, arg2)
{
c_cmd("walkdirect", arg0, arg1, arg2, 0);
}
(240, ra_y_pos, 10);
233
    
c_imageindex
c_imageindex

function
c_imageindex(arg0)
{
c_cmd("imageindex", arg0, 0, 0, 0);
}
(1);
234
    
c_delaycmd
c_delaycmd

function
c_delaycmd(arg0, arg1, arg2, arg3 = 0, arg4 = 0, arg5 = 0)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, arg3, arg4, arg5);
}
(5, "imageindex", 0);
235
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(4);
236
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_walk_up_dw);
238
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
} function c_wait_msg(arg0) {
c_cmd("waitbox", arg0, 0, 0, 0);
}
(5);
239
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_up_head_down);
241
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
242
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(1);
243
    
c_panobj
c_panobj

function
c_panobj(arg0, arg1)
{
c_cmd("panobj", arg0, arg1, 0, 0);
}
(kr_actor, 20);
244
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(21);
245
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(0);
246
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(kr);
247
    
c_facing
c_facing

function
c_facing(arg0)
{
c_cmd("facing", arg0, 0, 0, 0);
}
("d");
248
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "_flowery_float", false);
249
    
c_actortokris
c_actortokris

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

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

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
252
}
253
if (con == 3 && !i_ex(obj_cutscene_master))
254
{
255
    global.interact = 0;
256
    global.facing = 0;
257
    global.plot = 460;
258
    
scr_tempsave
scr_tempsave

function
scr_tempsave()
{ filechoicebk2 = global.filechoice; global.filechoice = 9;
scr_saveprocess(global.filechoice);
global.filechoice = filechoicebk2; }
();
259
    con = -1;
260
}