Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_gameover_band_Step_0

(view raw script w/o annotations or w/e)
1
if (is_replay_gameover)
2
{
3
    if (con == -1)
4
        con = 0;
5
    if (con == 0 && !d_ex())
6
    {
7
        con = 1;
8
        alarm[0]
 = 60;
gml_Object_obj_gameover_band_Alarm_0.gml

con++;
9
        with (gameover_parent)
10
            
scr_lerpvar
scr_lerpvar

function
scr_lerpvar()
{ if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar; } function scr_lerpvar_respect() { if (argument_count < 6) ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else ___lerpvar =
scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true; return ___lerpvar; }
("blackalpha", 0, 1, 30);
11
    }
12
    if (con == 2 && !d_ex())
13
    {
14
        con = -1;
15
        snd_free_all();
16
        inst = instance_create(0, 0, obj_persistentfadein);
17
        global.interact = 3;
18
        global.facing = 0;
19
        global.entrance = 4;
20
        room_goto(room_dw_ranking_a);
21
    }
22
}
23
if (is_replay_gameover)
24
    exit;
25
if (tenna == -4)
26
{
27
    if (i_ex(obj_actor_tenna))
28
    {
29
        tenna = instance_find(obj_actor_tenna, 0);
30
        tenna.sprite_index = spr_tenna_pose_podium;
31
        tenna.image_index = 1;
32
        if (gameover_sequence == 2)
33
            tenna.sprite_index = spr_tenna_grasp;
34
        gameover_parent.tenna_arrive = true;
35
        init = true;
36
        alarm[0]
 = 30;
gml_Object_obj_gameover_band_Alarm_0.gml

con++;
37
    }
38
}
39
if (!init)
40
    exit;
41
if (gameover_sequence == 1)
42
{
43
    if (con == 0)
44
    {
45
        con = 1;
46
        alarm[0]
 = 30;
gml_Object_obj_gameover_band_Alarm_0.gml

con++;
47
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("tenna");
48
        msgsetloc(0, 
* Ralsei!Delay 11 You sang brilliantly!Wait for inputClose Message
"* Ralsei^1! You sang brilliantly!/%", "obj_gameover_band_slash_Step_0_gml_35_0"
);
49
        var d = d_make();
50
        d.stay = 5;
51
        d.side = 0;
52
    }
53
    if (con == 2 && !d_ex())
54
    {
55
        con = 3;
56
        alarm[0]
 = 30;
gml_Object_obj_gameover_band_Alarm_0.gml

con++;
57
        tenna.preset = 0;
58
        tenna.sprite_index = spr_tenna_grasp;
59
        tenna.image_index = 0;
60
        with (tenna)
61
            
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
62
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("tenna");
63
        msgsetloc(0, 
* Unfortunately,Delay 11 everyone else was...Delay 11 terrible!!Wait for inputClose Message
"* Unfortunately^1, everyone else was..^1. terrible!!/%", "obj_gameover_band_slash_Step_0_gml_54_0"
);
64
        var d = d_make();
65
        d.stay = 5;
66
        d.side = 0;
67
    }
68
    if (con == 4 && !d_ex())
69
    {
70
        con = 5;
71
        alarm[0]
 = 30;
gml_Object_obj_gameover_band_Alarm_0.gml

con++;
72
        tenna.preset = 0;
73
        tenna.bounce = 1;
74
        tenna.sprite_index = spr_tenna_whisper;
75
        tenna.image_index = 0;
76
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("tenna");
77
        msgsetloc(0, 
* (Or maybe it was just some cutting-edge progressive rock.)Wait for inputClose Message
"* (Or maybe it was just some cutting-edge progressive rock.)/%", "obj_gameover_band_slash_Step_0_gml_73_0"
);
78
        var d = d_make();
79
        d.stay = 5;
80
        d.side = 0;
81
    }
82
    if (con == 6 && !d_ex())
83
    {
84
        con = 7;
85
        alarm[0]
 = 30;
gml_Object_obj_gameover_band_Alarm_0.gml

con++;
86
        tenna.bounce = 1;
87
        tenna.sprite_index = spr_tenna_point_up;
88
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("tenna");
89
        msgsetloc(0, 
* But don't worry. I,Delay 11 your loving agent,Delay 11 have booked you ANOTHER show!!Wait for input
"* But don't worry. I^1, your loving agent^1, have booked you ANOTHER show!!/", "obj_gameover_band_slash_Step_0_gml_88_0"
);
90
        msgnextloc(
* It starts in...Wait for inputClose Message
"* It starts in.../%", "obj_gameover_band_slash_Step_0_gml_89_0"
);
91
        var d = d_make();
92
        d.stay = 5;
93
        d.side = 0;
94
    }
95
    if (con == 8 && !d_ex())
96
    {
97
        con = 9;
98
        alarm[0]
 = 30;
gml_Object_obj_gameover_band_Alarm_0.gml

con++;
99
        tenna.preset = 0;
100
        tenna.sprite_index = spr_tenna_grasp;
101
        with (tenna)
102
            
scr_shakeobj
scr_shakeobj

function
scr_shakeobj()
{ var _shakeobj = instance_create(x, y, obj_shakeobj); _shakeobj.target = id; if (argument_count >= 1) { if (i_ex(argument0)) _shakeobj.target = argument0; } if (argument_count >= 2) { if (argument1 != -1) _shakeobj.shakeamt = argument1; } if (argument_count >= 3) { if (argument2 != -1) _shakeobj.shakereduct = argument2; } with (_shakeobj) event_user(0); }
();
103
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("tenna");
104
        msgsetloc(0, 
* What!? 3 seconds!?Wait for inputClose Message
"* What!? 3 seconds!?/%", "obj_gameover_band_slash_Step_0_gml_106_0"
);
105
        var d = d_make();
106
        d.stay = 5;
107
        d.side = 0;
108
    }
109
    if (con == 10 && !d_ex())
110
    {
111
        con = 11;
112
        alarm[0]
 = 30;
gml_Object_obj_gameover_band_Alarm_0.gml

con++;
113
        tenna.preset = 0;
114
        tenna.bounce = 1;
115
        tenna.sprite_index = spr_tenna_point_left;
116
        tenna.image_index = 0;
117
        
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, 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_challenge"), 0, 0);
118
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("tenna");
119
        msgsetloc(0, 
* Well,Delay 11 what are you doing!? Go and 0 again!Wait for inputClose Message
"* Well^1, what are you doing!? Go and \\O0 again!/%", "obj_gameover_band_slash_Step_0_gml_125_0"
);
120
        var d = d_make();
121
        d.stay = 5;
122
        d.side = 0;
123
    }
124
    if (con == 12 && !d_ex())
125
    {
126
        con = 13;
127
        alarm[0]
 = 30;
gml_Object_obj_gameover_band_Alarm_0.gml

con++;
128
        gameover_parent.con = 1;
129
        gameover_parent.timer = 0;
130
    }
131
    if (con == 14 && !d_ex())
132
    {
133
        con = 99;
134
        instance_destroy();
135
    }
136
}
137
if (gameover_sequence == 2)
138
{
139
    var _times_lost = 
scr_flag_get
scr_flag_get

function
scr_flag_get(arg0)
{ var flag_value = global.flag[arg0]; return flag_value; }
(1096);
140
    if (con == 0)
141
    {
142
        con = 1;
143
        alarm[0]
 = 30;
gml_Object_obj_gameover_band_Alarm_0.gml

con++;
144
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("tenna");
145
        msgsetloc(0, 
* Oh no!Delay 11 Another GAME OVER!?Wait for input
"* Oh no^1! Another GAME OVER!?/", "obj_gameover_band_slash_Step_0_gml_158_0"
);
146
        switch (_times_lost)
147
        {
148
            case 2:
149
                msgnextloc(
* The audience would be throwing tomatoes...Wait for input
"* The audience would be throwing tomatoes.../", "obj_gameover_band_slash_Step_0_gml_163_0"
);
150
                msgnextloc(
* ...Delay 11 if we didn't use them all on the cooking show!Wait for inputClose Message
"* ..^1. if we didn't use them all on the cooking show!/%", "obj_gameover_band_slash_Step_0_gml_164_0"
);
151
                break;
152
            case 3:
153
                msgnextloc(
* Hey,Delay 11 this isn't time to practice your free-form jazz!Wait for inputClose Message
"* Hey^1, this isn't time to practice your free-form jazz!/%", "obj_gameover_band_slash_Step_0_gml_167_0"
);
154
                break;
155
            case 4:
156
                msgnextloc(
* C'mon...Delay 11 Just imagine you're at that big hippie concert!Wait for input
"* C'mon..^1. Just imagine you're at that big hippie concert!/", "obj_gameover_band_slash_Step_0_gml_170_0"
);
157
                msgnextloc(
* ...Delay 11 You don't know what I'm talking about? Nevermind!Wait for inputClose Message
"* ..^1. You don't know what I'm talking about? Nevermind!/%", "obj_gameover_band_slash_Step_0_gml_171_0"
);
158
                break;
159
            default:
160
                msgnextloc(
* That's it!!!Delay 11 That's it!!!Delay 11 I'm paying off the audience and reviewers!!!Wait for input
"* That's it!!^1! That's it!!^1! I'm paying off the audience and reviewers!!!/", "obj_gameover_band_slash_Step_0_gml_187_0"
);
161
                msgnextloc(
* Your POPULARITY will never drop!!!Delay 11 Go wild!!!Wait for inputClose Message
"* Your POPULARITY will never drop!!^1! Go wild!!!/%", "obj_gameover_band_slash_Step_0_gml_188_0"
);
162
                break;
163
        }
164
        var d = d_make();
165
        d.stay = 5;
166
        d.side = 0;
167
    }
168
    if (con == 2 && !d_ex())
169
    {
170
        con = 7;
171
        alarm[0]
 = 30;
gml_Object_obj_gameover_band_Alarm_0.gml

con++;
172
        tenna.bounce = 1;
173
        tenna.sprite_index = spr_tenna_point_at_screen;
174
        
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, 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_challenge"), 0, 0);
175
        
scr_speaker
scr_speaker

function
scr_speaker(arg0)
{ _speaker = arg0; global.typer = 5; if (global.darkzone == 1) global.typer = 6; if (global.fighting == 1) global.typer = 4; global.fc = 0; global.fe = 0; if (_speaker == "silent" && global.darkzone == 0) global.typer = 2; if (_speaker == "silent" && global.darkzone == 1) global.typer = 36; if (_speaker == "balloon" || _speaker == "enemy") global.typer = 50; if (_speaker == "sans") { global.typer = 14; global.fc = 6; } if (_speaker == "undyne" || _speaker == "und") { global.typer = 17; global.fc = 9; } if (_speaker == "temmie" || _speaker == "tem") global.typer = 21; if (_speaker == "jevil") global.typer = 35; if (_speaker == "catti") global.fc = 13; if (_speaker == "jockington" || _speaker == "joc") global.fc = 14; if (_speaker == "catty" || _speaker == "caddy") global.fc = 16; if (_speaker == "bratty" || _speaker == "bra") global.fc = 17; if (_speaker == "rouxls" || _speaker == "rou") global.fc = 18; if (_speaker == "burgerpants" || _speaker == "bur") global.fc = 19; if (_speaker == "spamton") { if (global.fighting == 0) global.typer = 66; else global.typer = 68; } if (_speaker == "sneo") global.typer = 67; if (_speaker == "tenna") { global.typer = 80; if (global.fighting == 1) global.typer = 81; } if (_speaker == "susie" || _speaker == "sus") { global.fc = 1; global.typer = 10; if (global.darkzone == 1) { global.typer = 30; if (global.fighting == 1) global.typer = 47; } } if (_speaker == "ralsei" || _speaker == "ral") { global.fc = 2; global.typer = 31; if (global.fighting == 1) global.typer = 45; if (global.flag[30 ralsei_hat_state] == 1) global.typer = 6; } if (_speaker == "noelle" || _speaker == "noe") { global.fc = 3; if (global.darkzone == 0) global.typer = 12; else global.typer = 56; if (global.fighting == 1) global.typer = 59; } if (_speaker == "toriel" || _speaker == "tor") { global.fc = 4; global.typer = 7; } if (_speaker == "asgore" || _speaker == "asg") { global.fc = 10; global.typer = 18; } if (_speaker == "king" || _speaker == "kin") { global.fc = 20; global.typer = 33; ...
("tenna");
176
        msgsetloc(0, 
* Alright,Delay 11 one more try!Delay 11 Let's
0 again!!Delay 11Wait for inputClose Message
"* Alright^1, one more try^1! Let's&\\O0 again!^1!/%", "obj_gameover_band_slash_Step_0_gml_209_0"
);
177
        var d = d_make();
178
        d.side = 0;
179
    }
180
    if (con == 8 && !d_ex())
181
    {
182
        con = 9;
183
        alarm[0]
 = 30;
gml_Object_obj_gameover_band_Alarm_0.gml

con++;
184
        scr_lerp_instance_var(tenna, "x", tenna.x, camerax() + view_wport[0] + 200, 40, 4, "in");
185
        gameover_parent.con = 1;
186
        gameover_parent.timer = 0;
187
    }
188
    if (con == 10 && !d_ex())
189
    {
190
        con = 99;
191
        with (obj_rhythmgame)
192
            event_user(1);
193
        instance_destroy();
194
    }
195
}