Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_ch3_GSB02_Step_0

(view raw script w/o annotations or w/e)
1
if (con < 0)
2
    exit;
3
if (con == 0)
4
{
5
    if (!
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
())
6
    {
7
        with (obj_rhythmgame)
8
            performer.visible = false;
9
        with (obj_rhythmgame_chart)
10
            performer.visible = false;
11
    }
12
    if (
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
() && !show_debug)
13
    {
14
        if (button2_h())
15
        {
16
            show_debug = true;
17
            snd_free_all();
18
            snd_stop_all();
19
            with (obj_rhythmgame)
20
            {
21
                freeplay = -2;
22
                performer.visible = true;
23
            }
24
            with (obj_rhythmgame_chart)
25
                performer.visible = true;
26
        }
27
        else
28
        {
29
            with (obj_rhythmgame)
30
                performer.visible = false;
31
            with (obj_rhythmgame_chart)
32
                performer.visible = false;
33
        }
34
    }
35
    if (
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
() && show_debug)
36
    {
37
        if (button1_p())
38
        {
39
            rhythmgame_con = 2;
40
            con = 4;
41
            
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
42
            exit;
43
        }
44
        else if (button2_p())
45
        {
46
            con = 1;
47
        }
48
        else
49
        {
50
            exit;
51
        }
52
    }
53
    else if (global.plot == 132)
54
    {
55
        rhythmgame_con = 2;
56
        obj_rhythmgame.freeplay = 0;
57
        con = 4;
58
        
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
59
        exit;
60
    }
61
    else
62
    {
63
        con = 1;
64
    }
65
    alarm[0]
 = 1;
gml_Object_obj_ch3_GSB02_Alarm_0.gml

con++;
66
    global.interact = 1;
67
    global.facing = 0;
68
}
69
if (con == 1)
70
    obj_rhythmgame.freeplay = 0;
71
if (con == 2)
72
{
73
    con = 3;
74
    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; }
();
75
    
scr_maincharacters_actors
scr_maincharacters_actors

function
scr_maincharacters_actors()
{ actor_count = 0; kr = 0; kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index; kr_actor.depth = obj_mainchara.depth; with (obj_mainchara) visible = 0; for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++) { if (i_ex(global.cinstance[__jj])) { if (global.cinstance[__jj].name == "susie") { actor_count++; su = __jj + 1; su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index; su_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "ralsei") { actor_count++; ra = __jj + 1; ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index; ra_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "noelle") { actor_count++; no = __jj + 1; no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index; no_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } } } }
();
76
    te = actor_count + 1;
77
    te_actor = instance_create(camerax() + 720, cameray() + 237, obj_actor_tenna);
78
    
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;
scr_set_facing_sprites(arg2);
} }
(te, te_actor, "tenna");
79
    te_actor.sprite_index = spr_tenna_point_up;
80
    te_actor.preset = 2;
81
    gu = actor_count + 2;
82
    gu_actor = instance_create(kr_actor.x, kr_actor.y + 100, obj_actor);
83
    
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;
scr_set_facing_sprites(arg2);
} }
(gu, gu_actor, "guitar");
84
    gu_actor.sprite_index = spr_kris_guitar_isolate;
85
    with (obj_rhythmgame)
86
    {
87
        performer.visible = true;
88
        vocals.performer.visible = true;
89
        drums.performer.visible = true;
90
        other.kr_actor.x = performer.x;
91
        other.kr_actor.y = performer.y - 100;
92
        other.kr_actor.sprite_index = performer.sprite_index;
93
        performer.sprite_index = spr_kris_rock_1;
94
        other.su_actor.x = drums.performer.x;
95
        other.su_actor.y = drums.performer.y - 100;
96
        other.su_actor.sprite_index = drums.performer.sprite_index;
97
        drums.performer.sprite_index = spr_susie_rock;
98
        other.ra_actor.x = vocals.performer.x;
99
        other.ra_actor.y = vocals.performer.y - 100;
100
        other.ra_actor.sprite_index = vocals.performer.sprite_index;
101
        other.kr_actor.visible = false;
102
        other.su_actor.visible = false;
103
        other.ra_actor.visible = false;
104
    }
105
    instrument[0] = instance_create(su_actor.x, su_actor.y + 100, obj_marker2);
106
    instrument[0].image_speed = 0;
107
    instrument[0].sprite_index = spr_susie_drum_isolate;
108
    instrument_offset[0] = su_actor.y + 100;
109
    instrument[0].depth = su_actor.depth - 100;
110
    instrument[0].image_xscale = su_actor.image_xscale;
111
    instrument[0].image_yscale = su_actor.image_yscale;
112
    instrument[0].image_blend = #7A99FF;
113
    instrument[1] = instance_create(kr_actor.x, kr_actor.y + 100, obj_marker2);
114
    instrument[1].image_speed = 0;
115
    instrument[1].sprite_index = spr_kris_guitar_isolate;
116
    instrument_offset[1] = kr_actor.y + 100;
117
    instrument[1].depth = kr_actor.depth - 100;
118
    instrument[1].image_xscale = kr_actor.image_xscale;
119
    instrument[1].image_yscale = kr_actor.image_yscale;
120
    instrument[1].image_blend = #7A99FF;
121
    with (obj_rhythmgame_performer)
122
    {
123
        if (name == "susie")
124
            marker = other.instrument[0];
125
        else if (name == "kris")
126
            marker = other.instrument[1];
127
    }
128
    instruments = 2;
129
    silhouettes = true;
130
    var _overlay = instance_create(x, y, obj_screen_color);
131
    _overlay.image_blend = #CCCCCC;
132
    _overlay.blend_mode = 3;
133
    _overlay.depth = 90000;
134
    _overlay.visible = false;
135
}
136
if (con == 3)
137
{
138
    con = 99;
139
    draw_set_halign(fa_left);
140
    draw_set_valign(fa_top);
141
    with (obj_rhythmgame)
142
    {
143
        with (performer)
144
            y = -1000;
145
        with (drums.performer)
146
            y = -1000;
147
        with (vocals.performer)
148
            y = -1000;
149
    }
150
    instrument[0].y = -10000;
151
    instrument[1].y = -10000;
152
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "camcon", 1);
153
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
154
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_drum_ready);
156
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "cheercon", 1);
157
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(audience_cheer, "audience_bounce", true);
158
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "susie_spotlight", true);
159
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
160
    
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 2* Are you ready to ROCK HARD!?Wait for inputClose Message
"\\E2* Are you ready to ROCK HARD!?/%", "obj_ch3_GSB02_slash_Step_0_gml_163_0"
);
161
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
162
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "cheercon", 0);
163
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
164
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(audience_cheer, "audience_bounce_stop", "=", true);
165
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_drum);
167
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_rock_blush);
169
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "cheercon", 1);
170
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(audience_cheer, "audience_bounce", true);
171
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "ralsei_spotlight", true);
172
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("ralsei");
173
    
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 K* Umm...Delay 11 c-can we rock soft?Wait for inputClose Message
"\\EK* Umm..^1. c-can we rock soft?/%", "obj_ch3_GSB02_slash_Step_0_gml_175_0"
);
174
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
175
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "cheercon", 0);
176
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(audience_cheer, "audience_bounce_stop", "=", true);
177
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_rock_1);
179
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "kris_spotlight", true);
180
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "cheercon", 2);
181
    
c_msc
c_msc

function
c_msc(arg0)
{
c_cmd("msc", arg0, 0, 0, 0);
}
(1266);
182
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
183
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
184
}
185
if (susie_spotlight)
186
{
187
    susie_spotlight = false;
188
    snd_play(snd_locker);
189
    with (obj_rhythmgame_effects)
190
        spotlight_active(0, 1);
191
    with (obj_rhythmgame)
192
    {
193
        with (drums.performer)
194
        {
195
            silhouette = false;
196
            visible = false;
197
        }
198
        floor_color = #24396D;
199
        other.su_actor.visible = true;
200
        other.instrument[0].visible = false;
201
    }
202
}
203
if (ralsei_spotlight)
204
{
205
    ralsei_spotlight = false;
206
    snd_play(snd_locker);
207
    with (obj_rhythmgame_effects)
208
        spotlight_active(2, 1);
209
    with (obj_rhythmgame)
210
    {
211
        with (vocals.performer)
212
        {
213
            silhouette = false;
214
            visible = false;
215
        }
216
        other.ra_actor.visible = true;
217
    }
218
}
219
if (kris_spotlight)
220
{
221
    kris_spotlight = false;
222
    snd_play(snd_locker);
223
    with (obj_rhythmgame_effects)
224
        spotlight_active(1, 1);
225
    with (obj_rhythmgame)
226
    {
227
        with (performer)
228
        {
229
            silhouette = false;
230
            visible = false;
231
        }
232
        other.kr_actor.visible = true;
233
        other.silhouettes = false;
234
        other.instrument[1].visible = false;
235
    }
236
}
237
if (con == 10 && customcon == 1 && !d_ex())
238
{
239
    con = 11;
240
    customcon = 0;
241
    obj_rhythmgame.bg_con = 1;
242
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
243
    
c_mus
c_mus

function
c_mus(arg0)
{
c_cmd("mus", arg0, 0, 0, 0);
}
("free_all");
244
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(gu);
245
    
c_autodepth
c_autodepth

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

function
c_depth(arg0)
{
c_cmd("depth", arg0, 0, 0, 0);
}
(kr_actor.depth - 10);
247
    
c_setxy
c_setxy

function
c_setxy(arg0, arg1)
{
c_cmd("setxy", arg0, arg1, 0, 0);
}
(280, 216);
248
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(gu);
249
    
c_visible
c_visible

function
c_visible(arg0)
{
c_cmd("visible", arg0, 0, 0, 0);
}
(0);
250
    var kris_pose_sprite = (global.choice == 0) ? 272 : 2695;
251
    c_snd_play(snd_crowd_ooh);
252
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "cheercon", 1);
253
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(audience_cheer, "audience_bounce", true);
254
    c_snd_play(snd_bell);
255
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(kris_pose_sprite);
257
    
c_addxy
c_addxy

function
c_addxy(arg0, arg1)
{
c_cmd("addxy", arg0, arg1, 0, 0);
}
(6, 0);
258
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "kris_flash", true);
259
    c_snd_play(snd_noise);
260
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(90);
261
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "cheercon", 0);
262
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("initloop", "ch3_tvtime.ogg", 0);
263
    c_snd_play(snd_wing);
264
    
c_var_instance
c_var_instance

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

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(te);
266
    c_var_lerp_to_instance(te_actor, "x", 334, 10, 2, "out");
267
    
c_tenna_preset
c_tenna_preset

function
c_tenna_preset(arg0)
{
c_cmd("tenna", "preset", arg0, 0, 0);
}
(21);
268
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(40);
269
    
scr_funnytext_init
scr_funnytext_init

function
scr_funnytext_init()
{ global.writerobj[argument0] = obj_funnytext; global.writerobjx[argument0] = argument1; global.writerobjy[argument0] = argument2; global.writerimg[argument0] = argument3; global.writerobjsettinga[argument0] = argument4; global.writerobjsettingb[argument0] = argument5; } function scr_funnytext_init_sounds() { global.funnytext_sounds = [scr_funnytext_new_sound(snd_crowd_cheer_single, [spr_funnytext_fun_loop]), scr_funnytext_new_sound(snd_ftext_bounce, [spr_funnytext_big, spr_funnytext_physical_challenge, spr_funnytext_physical_challenges]), scr_funnytext_new_sound(snd_ftext_woodblock, [spr_funnytext_board, spr_funnytext_challenge]), scr_funnytext_new_sound(snd_ftext_prize, [spr_funnytext_bonus_round, spr_funnytext_word, spr_funnytext_hall_of_fame, spr_funnytext_amazing_01]), scr_funnytext_new_sound(snd_whip_crack_only, [spr_funnytext_breaking_news]), scr_funnytext_new_sound(snd_badexplosion, [spr_funnytext_flames]), scr_funnytext_new_sound(snd_ftext_enter, [spr_funnytext_fun_o_meter, spr_funnytext_special]), scr_funnytext_new_sound(snd_ftext_susiezilla, [spr_funnytext_susiezilla]), scr_funnytext_new_sound(snd_ftext_dark_fountain, [spr_funnytext_dark_fountain]), scr_funnytext_new_sound(snd_ftext_brother, [spr_funnytext_brother]), scr_funnytext_new_sound(snd_ftext_gunshot, [spr_funnytext_grand_prize, spr_funnytext_prizes, spr_funnytext_round, spr_funnytext_round_1, spr_funnytext_rounds, spr_funnytext_game_over, spr_funnytext_game, spr_funnytext_over]), scr_funnytext_new_sound(snd_ftext_names, [spr_funnytext_names]), scr_funnytext_new_sound(snd_ftext_toriel, [spr_funnytext_toriel]), scr_funnytext_new_sound(snd_ftext_vibraphones, [spr_funnytext_green_room, spr_funnytext_quizzes]), scr_funnytext_new_sound(snd_audience_aww, [spr_funnytext_love, spr_funnytext_lovely, spr_funnytext_lovers]), scr_funnytext_new_sound(snd_sparkle_glock, [spr_funnytext_star, spr_funnytext_stars]), scr_funnytext_new_sound(snd_locker, [spr_funnytext_stop]), scr_funnytext_new_sound(snd_splat, [spr_funnytext_tears]), scr_funnytext_new_sound(snd_carhonk, [spr_funnytext_win_big])]; } function scr_funnytext_get_sound(arg0) { if (!variable_global_exists("funnytext_sounds")) scr_funnytext_init_sounds(); var sound_file = -4; for (var i = 0; i < array_length(global.funnytext_sounds); i++) { var sprite_list = global.funnytext_sounds[i][1]; for (var j = 0; j < array_length(sprite_list); j++) { var sprite =
scr_84_get_sprite(sprite_list[j]);
if (arg0 != sprite) continue; sound_file = global.funnytext_sounds[i][0]; break; } if (sound_file != -4) break; } return sound_file; } function scr_funnytext_new_sound(arg0, arg1) { var sound_file = arg0; var sprite_list = []; for (var i = 0; i < array_length(arg1); i++) sprite_list[array_length(sprite_list)] = sprite_get_name(arg1[i]); var funnytext_sound = []; funnytext_sound[0] = sound_file; funnytext_sound[1] = sprite_list; return funnytext_sound; }
(0, 0, -14,
scr_84_get_sprite
scr_84_get_sprite

function
scr_84_get_sprite(arg0)
{ return ds_map_find_value(global.chemg_sprite_map, arg0); }
("spr_funnytext_rock_concert"), 0, 0);
270
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("tenna");
271
    
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,
* That's right!Delay 11 Get out your lighters for the LIGHTNERS,Delay 11 ladies and germs!Wait for input
"* That's right^1! Get out your lighters for the LIGHTNERS^1, ladies and germs!/", "obj_ch3_GSB02_slash_Step_0_gml_219_0"
);
272
    
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);
}
(
* Because it's time for a crashing,Delay 11 banging,Delay 11 booming,Delay 11 crooning...Wait for input
"* Because it's time for a crashing^1, banging^1, booming^1, crooning.../", "obj_ch3_GSB02_slash_Step_0_gml_220_0"
);
273
    
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);
}
(
* 0!Delay 11!!Wait for inputClose Message
"* \\O0^1!!!/%", "obj_ch3_GSB02_slash_Step_0_gml_221_0"
);
274
    
c_talk
c_talk

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

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
276
    
c_tenna_preset
c_tenna_preset

function
c_tenna_preset(arg0)
{
c_cmd("tenna", "preset", arg0, 0, 0);
}
(5);
277
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
}
(2);
278
    
c_tenna_preset
c_tenna_preset

function
c_tenna_preset(arg0)
{
c_cmd("tenna", "preset", arg0, 0, 0);
}
(21);
279
    c_snd_play(snd_cd_bagel_susie);
280
    
c_wait_talk
c_wait_talk

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_rock_pose);
283
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_drum_ready);
285
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "cheercon", 1);
286
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(audience_cheer, "audience_bounce", true);
287
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
288
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "cheercon", 0);
289
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(te);
290
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(te_actor, "image_xscale", 2);
291
    
c_tenna_preset
c_tenna_preset

function
c_tenna_preset(arg0)
{
c_cmd("tenna", "preset", arg0, 0, 0);
}
(32);
292
    
c_tenna_sprite
c_tenna_sprite

function
c_tenna_sprite(arg0)
{
c_cmd("tenna", "sprite", arg0, 0, 0);
}
(spr_tenna_pose);
293
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_kris_rock_2);
295
    
c_addxy
c_addxy

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_rock_1);
298
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_drum);
300
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("tenna");
301
    
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,
* Oh,Delay 11 Kris!Delay 11 Remember DECEMBER? Oh,Delay 11 that little musical prodigy...Wait for input
"* Oh^1, Kris^1! Remember DECEMBER? Oh^1, that little musical prodigy.../", "obj_ch3_GSB02_slash_Step_0_gml_242_0"
);
302
    
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);
}
(
* Remember when she'd grab the remote and swap it from cartoons...Wait for input
"* Remember when she'd grab the remote and swap it from cartoons.../", "obj_ch3_GSB02_slash_Step_0_gml_243_0"
);
303
    
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 to that WILD music video channel Toriel FORBID you to see?Wait for inputClose Message
"* ..^1. to that WILD music video channel Toriel FORBID you to see?/%", "obj_ch3_GSB02_slash_Step_0_gml_244_0"
);
304
    
c_talk
c_talk

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

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
306
    
c_tenna_preset
c_tenna_preset

function
c_tenna_preset(arg0)
{
c_cmd("tenna", "preset", arg0, 0, 0);
}
(0);
307
    
c_tenna_sprite
c_tenna_sprite

function
c_tenna_sprite(arg0)
{
c_cmd("tenna", "sprite", arg0, 0, 0);
}
(spr_tenna_point_left);
308
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
}
(2);
309
    
c_tenna_sprite
c_tenna_sprite

function
c_tenna_sprite(arg0)
{
c_cmd("tenna", "sprite", arg0, 0, 0);
}
(spr_tenna_tie_adjust_a);
310
    
c_wait_talk
c_wait_talk

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

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
312
    
c_tenna_preset
c_tenna_preset

function
c_tenna_preset(arg0)
{
c_cmd("tenna", "preset", arg0, 0, 0);
}
(0);
313
    
c_tenna_sprite
c_tenna_sprite

function
c_tenna_sprite(arg0)
{
c_cmd("tenna", "sprite", arg0, 0, 0);
}
(spr_tenna_whisper);
314
    
scr_funnytext_init
scr_funnytext_init

function
scr_funnytext_init()
{ global.writerobj[argument0] = obj_funnytext; global.writerobjx[argument0] = argument1; global.writerobjy[argument0] = argument2; global.writerimg[argument0] = argument3; global.writerobjsettinga[argument0] = argument4; global.writerobjsettingb[argument0] = argument5; } function scr_funnytext_init_sounds() { global.funnytext_sounds = [scr_funnytext_new_sound(snd_crowd_cheer_single, [spr_funnytext_fun_loop]), scr_funnytext_new_sound(snd_ftext_bounce, [spr_funnytext_big, spr_funnytext_physical_challenge, spr_funnytext_physical_challenges]), scr_funnytext_new_sound(snd_ftext_woodblock, [spr_funnytext_board, spr_funnytext_challenge]), scr_funnytext_new_sound(snd_ftext_prize, [spr_funnytext_bonus_round, spr_funnytext_word, spr_funnytext_hall_of_fame, spr_funnytext_amazing_01]), scr_funnytext_new_sound(snd_whip_crack_only, [spr_funnytext_breaking_news]), scr_funnytext_new_sound(snd_badexplosion, [spr_funnytext_flames]), scr_funnytext_new_sound(snd_ftext_enter, [spr_funnytext_fun_o_meter, spr_funnytext_special]), scr_funnytext_new_sound(snd_ftext_susiezilla, [spr_funnytext_susiezilla]), scr_funnytext_new_sound(snd_ftext_dark_fountain, [spr_funnytext_dark_fountain]), scr_funnytext_new_sound(snd_ftext_brother, [spr_funnytext_brother]), scr_funnytext_new_sound(snd_ftext_gunshot, [spr_funnytext_grand_prize, spr_funnytext_prizes, spr_funnytext_round, spr_funnytext_round_1, spr_funnytext_rounds, spr_funnytext_game_over, spr_funnytext_game, spr_funnytext_over]), scr_funnytext_new_sound(snd_ftext_names, [spr_funnytext_names]), scr_funnytext_new_sound(snd_ftext_toriel, [spr_funnytext_toriel]), scr_funnytext_new_sound(snd_ftext_vibraphones, [spr_funnytext_green_room, spr_funnytext_quizzes]), scr_funnytext_new_sound(snd_audience_aww, [spr_funnytext_love, spr_funnytext_lovely, spr_funnytext_lovers]), scr_funnytext_new_sound(snd_sparkle_glock, [spr_funnytext_star, spr_funnytext_stars]), scr_funnytext_new_sound(snd_locker, [spr_funnytext_stop]), scr_funnytext_new_sound(snd_splat, [spr_funnytext_tears]), scr_funnytext_new_sound(snd_carhonk, [spr_funnytext_win_big])]; } function scr_funnytext_get_sound(arg0) { if (!variable_global_exists("funnytext_sounds")) scr_funnytext_init_sounds(); var sound_file = -4; for (var i = 0; i < array_length(global.funnytext_sounds); i++) { var sprite_list = global.funnytext_sounds[i][1]; for (var j = 0; j < array_length(sprite_list); j++) { var sprite =
scr_84_get_sprite(sprite_list[j]);
if (arg0 != sprite) continue; sound_file = global.funnytext_sounds[i][0]; break; } if (sound_file != -4) break; } return sound_file; } function scr_funnytext_new_sound(arg0, arg1) { var sound_file = arg0; var sprite_list = []; for (var i = 0; i < array_length(arg1); i++) sprite_list[array_length(sprite_list)] = sprite_get_name(arg1[i]); var funnytext_sound = []; funnytext_sound[0] = sound_file; funnytext_sound[1] = sprite_list; return funnytext_sound; }
(1, 0, 0,
scr_84_get_sprite
scr_84_get_sprite

function
scr_84_get_sprite(arg0)
{ return ds_map_find_value(global.chemg_sprite_map, arg0); }
("spr_funnytext_alligator"), 0, 0);
315
    
c_delaycmd4
c_delaycmd4

function
c_delaycmd4(arg0, arg1, arg2, arg3, arg4, arg5)
{
c_cmd_x("delaycmd", arg0, arg1, arg2, arg3, arg4, arg5);
}
(20, "var", id, "laugh_track", true);
316
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("tenna");
317
    
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,
* 1Wait for inputClose Message
"* \\O1/%", "obj_ch3_GSB02_slash_Step_0_gml_267_0"
);
318
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
319
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(id, "laugh_track_finish", "=", true);
320
    
c_wait
c_wait

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

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(te);
322
    
c_tenna_preset
c_tenna_preset

function
c_tenna_preset(arg0)
{
c_cmd("tenna", "preset", arg0, 0, 0);
}
(0);
323
    
c_sprite
c_sprite

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_tenna_laugh);
324
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(1);
325
    
c_imagespeed
c_imagespeed

function
c_imagespeed(arg0)
{
c_cmd("imagespeed", arg0, 0, 0, 0);
}
(0.2);
326
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("tenna");
327
    
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,
* Dess,Delay 11 rocking her guitar and singing along with those nasty,Delay 11 nasty songs!Wait for input
"* Dess^1, rocking her guitar and singing along with those nasty^1, nasty songs!/", "obj_ch3_GSB02_slash_Step_0_gml_281_0"
);
328
    
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);
}
(
* Didn't you all think she was just so...Delay 11 COOL?Wait for input
"* Didn't you all think she was just so..^1. COOL?/", "obj_ch3_GSB02_slash_Step_0_gml_282_0"
);
329
    
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);
}
(
* HECK!Delay 11 Maybe you could get her to come back and watch again sometime!?Wait for inputClose Message
"* HECK^1! Maybe you could get her to come back and watch again sometime!?/%", "obj_ch3_GSB02_slash_Step_0_gml_283_0"
);
330
    
c_talk
c_talk

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

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
332
    
c_tenna_preset
c_tenna_preset

function
c_tenna_preset(arg0)
{
c_cmd("tenna", "preset", arg0, 0, 0);
}
(32);
333
    
c_tenna_sprite
c_tenna_sprite

function
c_tenna_sprite(arg0)
{
c_cmd("tenna", "sprite", arg0, 0, 0);
}
(spr_tenna_pose);
334
    
c_wait_box
c_wait_box

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
}
(2);
335
    
c_tenna_sprite
c_tenna_sprite

function
c_tenna_sprite(arg0)
{
c_cmd("tenna", "sprite", arg0, 0, 0);
}
(spr_tenna_hooray_armsup);
336
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
337
    
c_tenna_preset
c_tenna_preset

function
c_tenna_preset(arg0)
{
c_cmd("tenna", "preset", arg0, 0, 0);
}
(0);
338
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
339
    
c_tenna_preset
c_tenna_preset

function
c_tenna_preset(arg0)
{
c_cmd("tenna", "preset", arg0, 0, 0);
}
(1);
340
    
c_msc
c_msc

function
c_msc(arg0)
{
c_cmd("msc", arg0, 0, 0, 0);
}
(1310);
341
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
342
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
343
}
344
if (con == 20 && customcon == 1 && !d_ex())
345
{
346
    con = 21;
347
    customcon = 0;
348
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
349
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(audience_cheer, "audience_hide", true);
350
    c_var_lerp_to_instance(te_actor, "x", te_actor.x + 140, 15, 3, "out");
351
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(1);
352
    
c_pan
c_pan

function
c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
}
(camerax(), cameray() - 100, 15);
353
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
354
    
c_tenna_sprite
c_tenna_sprite

function
c_tenna_sprite(arg0)
{
c_cmd("tenna", "sprite", arg0, 0, 0);
}
(spr_tenna_point_up);
355
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "tutorial_advance", true);
356
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("tenna");
357
    
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,
* No worries!Delay 11 It's so SIMPLE,Delay 11 a FAX MACHINE could do it!Wait for inputClose Message
"* No worries^1! It's so SIMPLE^1, a FAX MACHINE could do it!/%", "obj_ch3_GSB02_slash_Step_0_gml_319_0"
);
358
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
359
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(id, "tutorial_loaded", "=", true);
360
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "tutorial_advance", true);
361
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("tenna");
362
    
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,
* When the MUSIC starts,Delay 11 notes will flow from the top like HONEY.Wait for inputClose Message
"* When the MUSIC starts^1, notes will flow from the top like HONEY./%", "obj_ch3_GSB02_slash_Step_0_gml_321_0"
);
363
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
364
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(id, "tutorial_loaded", "=", true);
365
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("tenna");
366
    
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,
* When the NOTES hit the MARK,Delay 11 press with good timing to PLAY them!Delay 11Wait for input
"* When the NOTES hit the MARK^1, press with good timing to PLAY them^1!/", "obj_ch3_GSB02_slash_Step_0_gml_555_0"
);
367
    
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);
}
("* ~1 (or ~2) will play notes on the LEFT!/", left_button,
scr_get_input_name
scr_get_input_name

function
scr_get_input_name(arg0)
{ var _control = "[?]"; if (global.is_console || obj_gamecontroller.gamepad_active) { _control = global.input_g[arg0]; if (_control == gp_padr) return "\\*D "; if (_control == gp_padl) return "\\*A "; if (_control == gp_padu) return "\\*W "; if (_control == gp_padd) return "\\*S "; if (_control == global.button0) return "\\*Z "; if (_control == global.button1) return "\\*X "; if (_control == global.button2) return "\\*C "; } var left_bracket = (global.lang == "en") ? "[" : "["; var right_bracket = (global.lang == "en") ? "]" : "]"; _control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket; if (!is_string(_control)) _control = "[?]"; else return _control; }
(3), "obj_ch3_GSB02_slash_Step_0_gml_556_0");
368
    
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);
}
("* ~1 (or ~2) will play notes on the RIGHT!/", right_button,
scr_get_input_name
scr_get_input_name

function
scr_get_input_name(arg0)
{ var _control = "[?]"; if (global.is_console || obj_gamecontroller.gamepad_active) { _control = global.input_g[arg0]; if (_control == gp_padr) return "\\*D "; if (_control == gp_padl) return "\\*A "; if (_control == gp_padu) return "\\*W "; if (_control == gp_padd) return "\\*S "; if (_control == global.button0) return "\\*Z "; if (_control == global.button1) return "\\*X "; if (_control == global.button2) return "\\*C "; } var left_bracket = (global.lang == "en") ? "[" : "["; var right_bracket = (global.lang == "en") ? "]" : "]"; _control = left_bracket + global.asc_def[global.input_k[arg0]] + right_bracket; if (!is_string(_control)) _control = "[?]"; else return _control; }
(1), "obj_ch3_GSB02_slash_Step_0_gml_557_0");
369
    
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);
}
(
* Make sure to HOLD the button for those LONG NOTES!Wait for input
"* Make sure to HOLD the button for those LONG NOTES!/", "obj_ch3_GSB02_slash_Step_0_gml_558_0"
);
370
    
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);
}
(
* Got it,Delay 11 Kris?!Delay 11 Good!Delay 11 That's all you gotta know!Wait for inputClose Message
"* Got it^1, Kris?^1! Good^1! That's all you gotta know!/%", "obj_ch3_GSB02_slash_Step_0_gml_559_0"
);
371
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
372
    
c_var_instance
c_var_instance

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

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(te);
374
    c_var_lerp_to_instance(te_actor, "x", camerax() + 720, 10, 2, "out");
375
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("tenna");
376
    
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,
* SUSIE and RALSEI will be doing their own things,Delay 11 so IGNORE THEIR PARTS.Wait for inputClose Message
"* SUSIE and RALSEI will be doing their own things^1, so IGNORE THEIR PARTS./%", "obj_ch3_GSB02_slash_Step_0_gml_326_0"
);
377
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
378
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(id, "tutorial_loaded", "=", true);
379
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "tutorial_advance", true);
380
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("tenna");
381
    
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,
* That being said,Delay 11 MUSIC is a TEAM SPORT!Delay 11 If ANY of you play bad...Wait for inputClose Message
"* That being said^1, MUSIC is a TEAM SPORT^1! If ANY of you play bad.../%", "obj_ch3_GSB02_slash_Step_0_gml_327_0"
);
382
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
383
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(id, "tutorial_loaded", "=", true);
384
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "tutorial_advance", true);
385
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("tenna");
386
    
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,
* The POPU & LARITY LIGHTS will darken^Delay 111! And if they go black...Wait for inputClose Message
"* The POPU `& LARITY LIGHTS will darken^1^1! And if they go black.../%", "obj_ch3_GSB02_slash_Step_0_gml_328_0"
);
387
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
388
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(id, "tutorial_loaded", "=", true);
389
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "tutorial_advance", true);
390
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("tenna");
391
    
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,
* It's LIGHTS OUT!!!Wait for inputClose Message
"* It's LIGHTS OUT!!!/%", "obj_ch3_GSB02_slash_Step_0_gml_329_0"
);
392
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
393
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(id, "tutorial_loaded", "=", true);
394
    
c_var_instance
c_var_instance

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

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(te);
396
    
c_tenna_preset
c_tenna_preset

function
c_tenna_preset(arg0)
{
c_cmd("tenna", "preset", arg0, 0, 0);
}
(2);
397
    c_var_lerp_to_instance(te_actor, "x", te_actor.x, 10, 2, "out");
398
    
c_pan
c_pan

function
c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
}
(camerax(), cameray(), 15);
399
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
400
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(id, "tutorial_loaded", "=", true);
401
    
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("tenna");
402
    
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,
* NOW,Delay 11 how about a SOUND CHECK!? This one's just for practice!Wait for inputClose Message
"* NOW^1, how about a SOUND CHECK!? This one's just for practice!/%", "obj_ch3_GSB02_slash_Step_0_gml_330_0"
);
403
    
c_talk_wait
c_talk_wait

function
c_talk_wait()
{
c_talk();
c_waittalk();
} function c_talkwait() {
c_talk_wait();
}
();
404
    
c_var_instance
c_var_instance

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

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(te);
406
    c_var_lerp_to_instance(te_actor, "x", camerax() + 720, 10, 2, "out");
407
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_susie_drum);
409
    
c_sel
c_sel

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_kris_rock_2);
411
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(gu);
412
    
c_visible
c_visible

function
c_visible(arg0)
{
c_cmd("visible", arg0, 0, 0, 0);
}
(0);
413
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(1);
414
    
c_pan
c_pan

function
c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
}
(camerax(), cameray() - 100, 15);
415
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(id, "tutorial_loaded", "=", true);
416
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
417
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(audience_cheer, "audience_active", false);
418
    
c_pan
c_pan

function
c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
}
(camerax(), 0, 1);
419
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "sound_check", true);
420
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "game_start", true);
421
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
422
}
423
if (con == 26 && customcon == 1 && !d_ex())
424
{
425
    con = 30;
426
    customcon = 0;
427
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
428
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "sound_check", false);
429
    
c_script_instance
c_script_instance

function
c_script_instance()
{ if (argument_count == 3)
c_cmd_x("script", argument[0], argument[1], argument[2], -3.14, -3.14, -3.14);
if (argument_count == 4)
c_cmd_x("script", argument[0], argument[1], argument[2], argument[3], -3.14, -3.14);
if (argument_count == 5)
c_cmd_x("script", argument[0], argument[1], argument[2], argument[3], argument[4], -3.14);
if (argument_count == 6)
c_cmd_x("script", argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
}
(id, snd_play, 60, snd_crowd_crickets);
430
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
431
    
c_script_instance_stop
c_script_instance_stop

function
c_script_instance_stop(arg0, arg1)
{
c_cmd_x("script", arg0, arg1, -10, 0, 0, 0);
}
(id, snd_play);
432
    
c_wait
c_wait

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_rock_surprise);
435
    if (sound_check_won)
436
    {
437
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
438
        
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 7* Hey,Delay 11 we make a pretty good band.Wait for input
"\\E7* Hey^1, we make a pretty good band./", "obj_ch3_GSB02_slash_Step_0_gml_369_0"
);
439
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "C");
440
        
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* ...Wait for input
"\\EC* .../", "obj_ch3_GSB02_slash_Step_0_gml_371_0"
);
441
        
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 N* (Kris,Delay 11 the two of us will need to play perfectly...)Wait for inputClose Message
"\\EN* (Kris^1, the two of us will need to play perfectly...)/%", "obj_ch3_GSB02_slash_Step_0_gml_372_0"
);
442
    }
443
    else
444
    {
445
        
c_speaker
c_speaker

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("susie");
446
        
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 K* Hey,Delay 11 Kris,Delay 11 way to make us fail the song.Wait for input
"\\EK* Hey^1, Kris^1, way to make us fail the song./", "obj_ch3_GSB02_slash_Step_0_gml_694_0"
);
447
        
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "K");
448
        
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 K* (I'll...Delay 11 just try to sing as loud as I can...)Wait for inputClose Message
"\\EK* (I'll..^1. just try to sing as loud as I can...)/%", "obj_ch3_GSB02_slash_Step_0_gml_696_0"
);
449
    }
450
    
c_talk
c_talk

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

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_rock_1);
454
    
c_wait_talk
c_wait_talk

function
c_wait_talk()
{
c_cmd("waitdialoguer", 0, 0, 0, 0);
}
();
455
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
456
}
457
if (con == 30 && customcon == 1 && !d_ex())
458
{
459
    con = 31;
460
    customcon = 0;
461
    
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
462
    
c_mus2
c_mus2

function
c_mus2(arg0, arg1, arg2)
{
c_cmd("mus", arg0, arg1, arg2, 0);
}
("volume", 0, 30);
463
    if (global.choice == 0)
464
    {
465
        c_snd_play(snd_wing);
466
        
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(te);
467
        c_var_lerp_to_instance(te_actor, "x", 334, 10, 2, "out");
468
    }
469
    else
470
    {
471
        
c_tenna_sprite
c_tenna_sprite

function
c_tenna_sprite(arg0)
{
c_cmd("tenna", "sprite", arg0, 0, 0);
}
(spr_tenna_point_up);
472
    }
473
    
c_wait
c_wait

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

function
c_speaker(arg0)
{
c_cmd("speaker", arg0, 0, 0, 0);
}
("tenna");
475
    
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,
* ALRIGHT!Delay 11 SOUND: Checked!Delay 11 DRUMS: Loud!Delay 11 BOYS: Fluffy!Wait for input
"* ALRIGHT^1! SOUND: Checked^1! DRUMS: Loud^1! BOYS: Fluffy!/", "obj_ch3_GSB02_slash_Step_0_gml_387_0"
);
476
    
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);
}
(
* RALSEI!Delay 11 Got those lyrics ready!?Wait for input
"* RALSEI^1! Got those lyrics ready!?/", "obj_ch3_GSB02_slash_Step_0_gml_388_0"
);
477
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("ralsei", "D");
478
    
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 D* Umm,Delay 11 they seem a little...Delay 11 inappropriate. Do I have to...?Wait for input
"\\ED* Umm^1, they seem a little..^1. inappropriate. Do I have to...?/", "obj_ch3_GSB02_slash_Step_0_gml_390_0"
);
479
    
c_facenext
c_facenext

function
c_facenext(arg0, arg1)
{
c_cmd("msgfacenext", arg0, arg1, 0, 0);
}
("tenna", 0);
480
    
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);
}
(
* TOO BAD!Delay 11 NOW,Delay 11 AUDIENCE!Delay 11 Give it up one last time...Wait for inputClose Message
"* TOO BAD^1! NOW^1, AUDIENCE^1! Give it up one last time.../%", "obj_ch3_GSB02_slash_Step_0_gml_392_0"
);
481
    
c_talk
c_talk

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

function
c_wait_box(arg0)
{
c_cmd("waitbox", arg0, 0, 0, 0);
}
(1);
483
    
c_tenna_sprite
c_tenna_sprite

function
c_tenna_sprite(arg0)
{
c_cmd("tenna", "sprite", arg0, 0, 0);
}
(spr_tenna_laugh_pose);
484
    
c_wait_box
c_wait_box

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_rock_blush);
487
    
c_wait_box
c_wait_box

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_rock_surprise);
490
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(te);
491
    
c_tenna_preset
c_tenna_preset

function
c_tenna_preset(arg0)
{
c_cmd("tenna", "preset", arg0, 0, 0);
}
(2);
492
    
c_wait_talk
c_wait_talk

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

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

function
c_sprite(arg0)
{
c_cmd("sprite", arg0, 0, 0, 0);
}
(spr_ralsei_rock_1);
495
    if (global.choice == 0)
496
    {
497
        
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(audience_cheer, "base_y_pos", cameray() + view_hport[0] + 150);
498
        
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(audience_cheer, "audience_active", true);
499
        
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(audience_cheer, "audience_show", true);
500
    }
501
    else
502
    {
503
        
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(audience_cheer, "audience_bounce", true);
504
    }
505
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "cheercon", 1);
506
    
c_tenna_preset
c_tenna_preset

function
c_tenna_preset(arg0)
{
c_cmd("tenna", "preset", arg0, 0, 0);
}
(0);
507
    
c_tenna_sprite
c_tenna_sprite

function
c_tenna_sprite(arg0)
{
c_cmd("tenna", "sprite", arg0, 0, 0);
}
(spr_tenna_point_at_screen);
508
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
509
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "tv_time_active", true);
510
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(10);
511
    
c_wait_if
c_wait_if

function
c_wait_if(arg0, arg1, arg2, arg3)
{
c_cmd("waitif", arg0, arg1, arg2, arg3);
}
(id, "tv_time_active", "=", false);
512
    
c_sel
c_sel

function
c_sel(arg0)
{
c_cmd("select", arg0, 0, 0, 0);
}
(te);
513
    c_var_lerp_to_instance(te_actor, "x", camerax() + 760, 10, 2, "out");
514
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(15);
515
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "cheercon", 0);
516
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(audience_cheer, "audience_hide", true);
517
    
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(1);
518
    
c_pan
c_pan

function
c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
}
(camerax(), cameray() - 100, 15);
519
    
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(60);
520
    
c_pan
c_pan

function
c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
}
(camerax(), 0, 1);
521
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "game_start", true);
522
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
523
}
524
if (tv_time_active)
525
{
526
    if (tv_time == -4)
527
    {
528
        scr_delay_var("tv_time_con", 1, 30);
529
        tv_time = instance_create(0, 0, obj_tenna_tv_time);
530
        with (tv_time)
531
            show_text = true;
532
    }
533
    if (tv_time_con == 1)
534
    {
535
        if (!tv_time.is_active)
536
        {
537
            tv_time_active = false;
538
            with (tv_time)
539
                instance_destroy();
540
            tv_time = -4;
541
        }
542
    }
543
}
544
if (game_retry)
545
{
546
    game_retry = false;
547
    with (obj_rhythmgame)
548
        palette_active = false;
549
    rhythmgame_con = 2;
550
    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; }
();
551
    
scr_maincharacters_actors
scr_maincharacters_actors

function
scr_maincharacters_actors()
{ actor_count = 0; kr = 0; kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index; kr_actor.depth = obj_mainchara.depth; with (obj_mainchara) visible = 0; for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++) { if (i_ex(global.cinstance[__jj])) { if (global.cinstance[__jj].name == "susie") { actor_count++; su = __jj + 1; su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index; su_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "ralsei") { actor_count++; ra = __jj + 1; ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index; ra_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } if (global.cinstance[__jj].name == "noelle") { actor_count++; no = __jj + 1; no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index; no_actor.depth = global.cinstance[__jj].depth; with (global.cinstance[__jj]) visible = 0; } } } }
();
552
    
c_var_instance
c_var_instance

function
c_var_instance(arg0, arg1, arg2)
{
c_cmd_x("var", arg0, arg1, arg2, 0, 0, 0);
}
(id, "game_start", true);
553
    
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
554
}
555
if (game_start && !d_ex())
556
{
557
    game_start = false;
558
    game_active = true;
559
    if (global.plot < 140)
560
        global.plot = 140;
561
    var song_id = sound_check ? 1 : 0;
562
    start_song(song_id);
563
}
564
if (game_active)
565
{
566
    var is_song_done = false;
567
    var is_game_won = false;
568
    var is_replay = global.plot >= 150;
569
    with (obj_rhythmgame)
570
    {
571
        is_song_done = song_done;
572
        is_game_won = game_won;
573
    }
574
    if (is_song_done && !i_ex(obj_minigame_quit_ui))
575
    {
576
        end_song(is_game_won || sound_check);
577
        if (sound_check && is_game_won)
578
            sound_check_won = true;
579
        game_active = false;
580
        customcon = 0;
581
        var pan_back = sound_check || is_game_won;
582
        if (pan_back)
583
        {
584
            
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
585
            
c_pannable
c_pannable

function
c_pannable(arg0)
{
c_cmd("pannable", arg0, 0, 0, 0);
}
(1);
586
            
c_pan
c_pan

function
c_pan(arg0, arg1, arg2)
{
c_cmd("pan", arg0, arg1, arg2, 0);
}
(camerax(), cameray() + 100, 15);
587
            
c_wait
c_wait

function
c_wait(arg0)
{
c_cmd("wait", arg0, 0, 0, 0);
}
(45);
588
        }
589
        if (sound_check)
590
        {
591
            con = 26;
592
            with (obj_actor)
593
            {
594
                y += 100;
595
                visible = true;
596
            }
597
            
c_waitcustom
c_waitcustom

function
c_waitcustom()
{
c_cmd("waitcustom", 0, 0, 0, 0);
}
();
598
        }
599
        else
600
        {
601
            con = -1;
602
            with (audience_cheer)
603
                instance_destroy();
604
            
c_terminatekillactors
c_terminatekillactors

function
c_terminatekillactors()
{
c_cmd("terminatekillactors", 0, 0, 0, 0);
}
();
605
            with (obj_actor_tenna)
606
                instance_destroy();
607
            if (is_game_won && obj_rhythmgame.replayversion == false)
608
            {
609
                var _victory = instance_create(0, 0, obj_victory_minigame);
610
            }
611
            else
612
            {
613
                if (!is_game_won)
614
                    
scr_flag_set
scr_flag_set

function
scr_flag_set(arg0, arg1)
{ global.flag[arg0] = arg1; }
(1096,
scr_flag_get
scr_flag_get

function
scr_flag_get(arg0)
{ var flag_value = global.flag[arg0]; return flag_value; }
(1096) + 1);
615
                var _gameover = instance_create(0, 0, obj_gameover_minigame);
616
                _gameover.replayversion = obj_rhythmgame.replayversion;
617
                _gameover.quitversion = obj_rhythmgame.replayquit;
618
                if (is_game_won)
619
                {
620
                    _gameover.replaywin = true;
621
                    kris_marker = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(280, 316, spr_kris_rock_2);
622
                    with (kris_marker)
623
                        
scr_depth
scr_depth

function
scr_depth()
{ if (argument_count > 0) { with (argument0) depth = 100000 - ((y * 10) + (sprite_height * 10)); } else { depth = 100000 - ((y * 10) + (sprite_height * 10)); } }
();
624
                    susie_marker = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(56, 281, spr_susie_drum);
625
                    with (susie_marker)
626
                        
scr_depth
scr_depth

function
scr_depth()
{ if (argument_count > 0) { with (argument0) depth = 100000 - ((y * 10) + (sprite_height * 10)); } else { depth = 100000 - ((y * 10) + (sprite_height * 10)); } }
();
627
                    ralsei_marker = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(486, 304, spr_ralsei_rock_1);
628
                    with (ralsei_marker)
629
                        
scr_depth
scr_depth

function
scr_depth()
{ if (argument_count > 0) { with (argument0) depth = 100000 - ((y * 10) + (sprite_height * 10)); } else { depth = 100000 - ((y * 10) + (sprite_height * 10)); } }
();
630
                    audience_cheer = instance_create(0, 0, obj_ch3_audience);
631
                    audience_cheer.depth = depth - 100;
632
                    audience_cheer.audience_active = true;
633
                    audience_cheer.blend_mode = 13788985;
634
                    audience_cheer.base_y_pos = cameray() + view_hport[0] + 500;
635
                    audience_cheer.target_y_pos = cameray() + 540;
636
                    audience_cheer.audience_show = true;
637
                }
638
            }
639
        }
640
    }
641
    if (is_song_done)
642
    {
643
        with (obj_minigame_quit_ui)
644
            instance_destroy();
645
    }
646
}
647
if (camcon == 1)
648
{
649
    with (obj_rhythmgame)
650
    {
651
        if (camera_lerp == 0)
652
        {
653
            crowd_sound = snd_loop(snd_crowd);
654
            snd_volume(crowd_sound, 0.25, 0);
655
            snd_volume(crowd_sound, 1, 90);
656
            with (performer)
657
                silhouette = true;
658
            with (obj_rhythmgame_chart)
659
            {
660
                with (performer)
661
                    silhouette = true;
662
            }
663
        }
664
        camera_lerp++;
665
        y = lerp(960, -100, 
scr_ease_inout
scr_ease_inout

function
scr_ease_inout(arg0, arg1)
{ if (arg1 < -3 || arg1 > 7) return arg0; if (arg1 == -3) return ease_inout_bounce(arg0, 0, 1, 1); else if (arg1 == -2) return ease_inout_elastic(arg0, 0, 1, 1); else if (arg1 == -1) return ease_inout_back(arg0, 0, 1, 1); else if (arg1 == 1) return -0.5 * cos((pi * arg0) - 1); else if (arg1 == 0) return arg0; arg0 *= 2; if (arg0 < 1) { return 0.5 *
scr_ease_in(arg0, arg1);
} else { arg0--; return 0.5 * (
scr_ease_out(arg0, arg1) + 1);
} }
(clamp01(camera_lerp / 150), 3));
666
        with (performer)
667
            y = ystart + other.y + 110;
668
        with (obj_rhythmgame_chart)
669
            performer.y = performer.ystart + other.y + 110;
670
        if (camera_lerp == 180)
671
        {
672
            camera_lerp = -1;
673
            other.camcon = 2;
674
        }
675
    }
676
}
677
else if (camcon == 2)
678
{
679
    with (obj_rhythmgame)
680
    {
681
        camera_lerp++;
682
        var _speed = 1;
683
        var _dur = 207;
684
        if (up_h())
685
            _speed += 0.5;
686
        if (button2_h())
687
            _speed += 0.5;
688
        if (button3_h())
689
            _speed += 0.5;
690
        if (down_h())
691
            _speed -= 0.5;
692
        if (button1_h())
693
            _speed -= 0.5;
694
        _speed = clamp(_speed, 0.5, 2);
695
        if (camera_lerp > 0)
696
        {
697
            if (_speed < 1)
698
                camera_lerp -= 0.5;
699
            else if ((camera_lerp % 1) != 0)
700
                camera_lerp = ceil(camera_lerp);
701
        }
702
        other.raiser = 
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); } }
(other.raiser, _dur + 1, _speed);
703
        var _raiser = other.raiser;
704
        if (camera_lerp < (_dur + 1) && other.pistonsound != 0)
705
        {
706
            if (_raiser >= (_dur + 1))
707
            {
708
                camera_lerp = _dur + 1;
709
                snd_pitch(other.pistonsound, 1);
710
            }
711
            else
712
            {
713
                snd_pitch(other.pistonsound, _speed);
714
            }
715
        }
716
        if (camera_lerp >= 0 && camera_lerp <= _dur)
717
        {
718
            if (camera_lerp == 0)
719
            {
720
                other.spotlight_con = 1;
721
                other.pistonsound = snd_play(snd_wet_tapdancing_elevator);
722
                snd_play(snd_locker);
723
                other.cheercon = 1;
724
                with (obj_ch3_audience)
725
                    audience_show = true;
726
            }
727
            if (camera_lerp == 15)
728
                snd_volume(crowd_sound, 0, 90);
729
            if (camera_lerp == 35)
730
            {
731
            }
732
            if (camera_lerp == 45)
733
                snd_stop(crowd_sound);
734
            if (other.cheercon != -2 && (camera_lerp == 120 || _raiser > (_dur - 60)))
735
                other.cheercon = 0;
736
            with (performer)
737
                y = ystart + lerp(100, 0, _raiser / _dur) + other.y;
738
            with (obj_rhythmgame_chart)
739
                performer.y = performer.ystart + lerp(120, 0, _raiser / _dur) + other.y;
740
            if (_raiser >= (_dur + 1) && camera_lerp < (_dur + 1))
741
                camera_lerp = _dur + 1;
742
        }
743
        else if (camera_lerp == (_dur + 1))
744
        {
745
            
scr_shakeobj_ext
scr_shakeobj_ext

function
scr_shakeobj_ext()
{ var _shakeobj = instance_create(x, y, obj_shakeobj_ext); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakexamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakeyamt = argument2; } if (argument_count >= 4) { if (argument3 != -1) _shakeobj.shakereduct = argument3; } if (argument_count >= 5) { if (argument4 != -1) _shakeobj.shakespeed = argument4; } with (_shakeobj) event_user(0); }
(performer, 0, 4, 1, 0.1, 2);
746
            with (obj_rhythmgame_chart)
747
                
scr_shakeobj_ext
scr_shakeobj_ext

function
scr_shakeobj_ext()
{ var _shakeobj = instance_create(x, y, obj_shakeobj_ext); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakexamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakeyamt = argument2; } if (argument_count >= 4) { if (argument3 != -1) _shakeobj.shakereduct = argument3; } if (argument_count >= 5) { if (argument4 != -1) _shakeobj.shakespeed = argument4; } with (_shakeobj) event_user(0); }
(performer, 0, 4, 1, 0.1, 1);
748
        }
749
        else if (camera_lerp == (_dur + 60))
750
        {
751
            effects.con = 1;
752
            floor_color = #24396D;
753
        }
754
        if (camera_lerp >= (_dur + 90))
755
        {
756
            other.camcon = 0;
757
            
c_waitcustom_end
c_waitcustom_end

function
c_waitcustom_end()
{ with (obj_cutscene_master) { cs_wait_custom = 0; waiting = 0; } }
();
758
        }
759
    }
760
}
761
if (tutorial_advance)
762
{
763
    if (tutorial_con == 0)
764
    {
765
        tutorial_con = 1;
766
        tutorial_loaded = false;
767
        with (obj_rhythmgame)
768
            event_user(4);
769
    }
770
    if (tutorial_con == 1)
771
    {
772
        tutorial_loaded = obj_rhythmgame.tutorial_ready;
773
        if (tutorial_loaded)
774
        {
775
            tutorial_con = 0;
776
            tutorial_advance = false;
777
        }
778
    }
779
}
780
if (camcon == 3)
781
{
782
}
783
if (camcon == 4)
784
{
785
}
786
if (cheercon == 1)
787
{
788
    var _audience = snd_init("berdly_audience.ogg");
789
    cheerloop = mus_loop(_audience);
790
    cheercon = -1;
791
}
792
if (cheercon == 2)
793
{
794
    mus_volume(cheerloop, 0.5, 15);
795
    cheercon = -1;
796
}
797
if (cheercon == 0)
798
{
799
    mus_fade(cheerloop, 60);
800
    cheercon = -2;
801
}
802
if (kris_flash)
803
{
804
    kris_flash = false;
805
    var _flash = instance_create(kr_actor.x, kr_actor.y, obj_oflash);
806
    _flash.image_xscale = 2;
807
    _flash.image_yscale = 2;
808
    _flash.target = kr_actor;
809
}
810
if (rhythmgame_con > 0)
811
{
812
    if (rhythmgame_con == 2)
813
    {
814
        with (obj_rhythmgame)
815
        {
816
            freeplay = 0;
817
            bg_con = 1;
818
            effects.con = 2;
819
            with (obj_rhythmgame_spotlight_solo)
820
                con = 2;
821
            event_user(0);
822
        }
823
    }
824
    rhythmgame_con = 0;
825
}
826
if (border_switch)
827
{
828
    border_switch = false;
829
    with (obj_border_controller)
830
        show_border();
831
}
832
if (laugh_track)
833
{
834
    laugh_track_timer++;
835
    if (laugh_track_timer == 1)
836
        snd_play(snd_crowd_laughter_single);
837
    if (laugh_track_timer >= 90 && !d_ex())
838
    {
839
        laugh_track = false;
840
        laugh_track_timer = 0;
841
        laugh_track_finish = true;
842
    }
843
}