Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_sadfriendo_Step_0

(view raw script w/o annotations or w/e)
1
scr_board_populatevars
scr_board_populatevars

function
scr_board_populatevars()
{ if (!variable_instance_exists(id, "kris")) kris = 0; if (!variable_instance_exists(id, "susie")) susie = 0; if (!variable_instance_exists(id, "ralsei")) ralsei = 0; if (kris == 0) { with (obj_mainchara_board) { if (name == "kris") other.kris = id; } } if (ralsei == 0) { with (obj_mainchara_board) { if (name == "ralsei") other.ralsei = id; } } if (susie == 0) { with (obj_mainchara_board) { if (name == "susie") other.susie = id; } } }
();
2
scr_gameshow_populatevars
scr_gameshow_populatevars

function
scr_gameshow_populatevars()
{ if (!variable_instance_exists(id, "kr_real")) kr_real = 0; if (!variable_instance_exists(id, "su_real")) su_real = 0; if (!variable_instance_exists(id, "ra_real")) ra_real = 0; if (!variable_instance_exists(id, "tenna")) tenna = 0; if (kr_real == 0) { with (obj_mainchara) other.kr_real = id; } if (su_real == 0) { with (obj_caterpillarchara) { if (name == "susie") other.su_real = id; } } if (ra_real == 0) { with (obj_caterpillarchara) { if (name == "ralsei") other.ra_real = id; } } if (tenna == 0) { with (obj_actor_tenna) other.tenna = id; } }
();
3
if (myinteract < 3.2)
4
    
scr_depth_board
scr_depth_board

function
scr_depth_board()
{ depth = 1000000 - ((y * 10) + ((sprite_height - sprite_yoffset) * 10)); } function scr_board_depth() {
scr_depth_board();
}
();
5
if (init == 0)
6
{
7
    sprite_index = idle;
8
    init = 1;
9
}
10
if (myinteract == 3)
11
{
12
    myinteract = 4;
13
    if (global.flag[1017 fave_weather] == 1)
14
    {
15
        
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; ...
("no_name");
16
        msgsetloc(0, 
WITHOUT THE SHINE OF LOVE TO GUIDE ME...Wait for input
"WITHOUT THE SHINE OF LOVE TO GUIDE ME.../", "obj_board_sadfriendo_slash_Step_0_gml_14_0"
);
17
        msgnextloc(
MY LIFE IS LOST AT SEA,Delay 11 WITH THE RAIN,Delay 11 LIKE TEARS,Delay 11Wait for input
"MY LIFE IS LOST AT SEA^1, WITH THE RAIN^1, LIKE TEARS^1,/", "obj_board_sadfriendo_slash_Step_0_gml_15_0"
);
18
        msgnextloc(
AS SALTY AS THE OCEAN...Wait for input
"AS SALTY AS THE OCEAN.../", "obj_board_sadfriendo_slash_Step_0_gml_16_0"
);
19
        msgnextloc(
WHAT? YOU HAVE SOMEONE TO SHOW ME...?Wait for inputClose Message
"WHAT? YOU HAVE SOMEONE TO SHOW ME...?/%", "obj_board_sadfriendo_slash_Step_0_gml_25_0"
);
20
    }
21
    else
22
    {
23
        
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; ...
("no_name");
24
        msgsetloc(0, 
WITHOUT THE RAIN OF LOVE TO NOURISH ME...Wait for input
"WITHOUT THE RAIN OF LOVE TO NOURISH ME.../", "obj_board_sadfriendo_slash_Step_0_gml_21_0"
);
25
        msgnextloc(
MY LIFE IS LOST AT SEA,Delay 11 BURNING IN THE HOT SUN.Wait for input
"MY LIFE IS LOST AT SEA^1, BURNING IN THE HOT SUN./", "obj_board_sadfriendo_slash_Step_0_gml_22_0"
);
26
        msgnextloc(
OH,Delay 11 WOE...Delay 11 NO SPF CAN SAVE ME FROM MYSELF...Wait for input
"OH^1, WOE..^1. NO SPF CAN SAVE ME FROM MYSELF.../", "obj_board_sadfriendo_slash_Step_0_gml_23_0"
);
27
        msgnextloc(
WHAT? YOU HAVE SOMEONE TO SHOW ME...?Wait for inputClose Message
"WHAT? YOU HAVE SOMEONE TO SHOW ME...?/%", "obj_board_sadfriendo_slash_Step_0_gml_28_0"
);
28
    }
29
    var d = bw_make();
30
    d.side = 1;
31
    myinteract = 3.1;
32
    d.stay = 85;
33
}
34
if (myinteract == 3.1 && !bw_ex())
35
{
36
    tenna.bounce = 1;
37
    var tetalk = stringsetloc(
Yes! Close your eyes!
"Yes! Close your eyes!", "obj_board_sadfriendo_slash_Step_0_gml_35_0"
);
38
    
scr_couchtalk
scr_couchtalk

function scr_couchclear(arg0) { with (obj_couchwriter) { if (speaker == arg0) instance_destroy(); } } function
scr_couchtalk(arg0, arg1)
{ var ix = -1; var iy = -1; if (argument_count >= 6) { ix = argument4; iy = argument5; } var couchtext = instance_create_depth(ix, iy, 5000, obj_couchwriter); couchtext.mystring = arg0; couchtext.speaker = arg1; if (argument_count >= 3) couchtext.cleartext = argument2; if (argument_count >= 4) couchtext.drawtime = argument3; if (argument_count >= 7) couchtext.customsnd = argument6; if (argument_count >= 8) couchtext.customcolor = argument7; if (argument_count >= 9) couchtext.talkrate = argument8; if (argument_count >= 10) couchtext.talklength = argument9; return couchtext; }
(tetalk, "tenna", 2, 70);
39
    myinteract = 3.2;
40
    buff = 0;
41
}
42
if (myinteract == 3.2)
43
{
44
    buff++;
45
    if (button3_h())
46
        c_held++;
47
    if (c_held > 5 || (button1_p() && buff > 2))
48
    {
49
        safe_delete(obj_couchwriter);
50
        
scr_doom
scr_doom

function
scr_doom(arg0, arg1)
{ with (instance_create_depth(0, 0, 0, obj_doom)) { alarm[0] target = arg0; } }
(191, 15);
51
    }
52
}
53
if (myinteract == 3.2 && !i_ex(obj_couchwriter))
54
{
55
    if (global.flag[1017 fave_weather] == 0)
56
    {
57
        
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; ...
("lanino");
58
        msgsetloc(0, 
OKAY,Delay 11 I'LL TRY ANYTHING ONCE.Wait for inputClose Message
"OKAY^1, I'LL TRY ANYTHING ONCE./%", "obj_board_sadfriendo_slash_Step_0_gml_72_0"
);
59
    }
60
    else
61
    {
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; ...
("elnina");
63
        msgsetloc(0, 
OKAY,Delay 11 I'LL TRY ANYTHING ONCE.Wait for inputClose Message
"OKAY^1, I'LL TRY ANYTHING ONCE./%", "obj_board_sadfriendo_slash_Step_0_gml_59_0"
);
64
    }
65
    var d = bw_make();
66
    d.side = 1;
67
    d.skip = 1;
68
    myinteract = 4;
69
    if (global.flag[1017 fave_weather] == 1)
70
        idle = 4193;
71
    else
72
        idle = 1544;
73
}
74
var transitiontime = 12;
75
var spintime = 1;
76
var spindelay = 3;
77
var player = kris;
78
if (myinteract == 4 && !bw_ex())
79
{
80
    timer++;
81
    if (timer == 5)
82
    {
83
        myinteract = 5;
84
        con = 3;
85
        timer = 0;
86
    }
87
}
88
if (con == 3)
89
{
90
    
scr_depth_board
scr_depth_board

function
scr_depth_board()
{ depth = 1000000 - ((y * 10) + ((sprite_height - sprite_yoffset) * 10)); } function scr_board_depth() {
scr_depth_board();
}
();
91
    global.interact = 1;
92
    if (i_ex(player))
93
    {
94
        with (player)
95
        {
96
            fun = 1;
97
            sprite_index = dsprite;
98
            if (other.playerspin)
99
            {
100
                scr_delay_var("sprite_index", lsprite, spintime * 3);
101
                scr_delay_var("facing", 3, spintime * 3);
102
                scr_delay_var("sprite_index", usprite, spintime * 4);
103
                scr_delay_var("facing", 2, spintime * 4);
104
                scr_delay_var("sprite_index", rsprite, spintime * 5);
105
                scr_delay_var("facing", 1, spintime * 5);
106
                scr_delay_var("sprite_index", dsprite, spintime * 6);
107
                scr_delay_var("facing", 0, spintime * 6);
108
                scr_delay_var("sprite_index", lsprite, spintime * 7);
109
                scr_delay_var("facing", 3, spintime * 7);
110
                scr_delay_var("sprite_index", usprite, spintime * 8);
111
                scr_delay_var("facing", 2, spintime * 8);
112
                scr_delay_var("sprite_index", rsprite, spintime * 9);
113
                scr_delay_var("facing", 1, spintime * 9);
114
            }
115
            scr_delay_var("sprite_index", dsprite_item, spintime * 10);
116
            scr_delay_var("facing", 0, spintime * 10);
117
        }
118
        
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; }
("x", x, player.x, transitiontime, 2, "in");
119
        
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; }
("y", y, player.y - 32, transitiontime, 2, "out");
120
    }
121
    timer = 0;
122
    con = 4;
123
}
124
if (con == 4)
125
{
126
    
scr_depth_board
scr_depth_board

function
scr_depth_board()
{ depth = 1000000 - ((y * 10) + ((sprite_height - sprite_yoffset) * 10)); } function scr_board_depth() {
scr_depth_board();
}
();
127
    timer++;
128
    if (timer == 12)
129
    {
130
        snd_play(snd_link_sfx_itemget);
131
        substring = stringsetloc(
LANINO
"LANINO", "obj_board_sadfriendo_slash_Step_0_gml_138_0"
);
132
        if (global.flag[1017 fave_weather] == 1)
133
            substring = stringsetloc(
ELNINA
"ELNINA", "obj_board_sadfriendo_slash_Step_0_gml_139_0"
);
134
        var yougot = stringsetsubloc("YOU GOT \\cY~1\\cW/%", substring, "obj_board_sadfriendo_slash_Step_0_gml_141_0");
135
        msgset(0, yougot);
136
        bw_make();
137
        con = 4.5;
138
        makestars = true;
139
    }
140
}
141
if (con == 4.5 && !bw_ex())
142
{
143
    makestars = false;
144
    depth = 5000;
145
    var slot = 3;
146
    desigx = obj_board_inventory.x + 8;
147
    desigy = ((obj_board_inventory.y + 10 + (48 * slot)) - 10 - 4) + 32;
148
    
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; }
("x", x, desigx, 20, 2, "in");
149
    
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; }
("y", y, desigy, 20, 2, "out");
150
    con = 5;
151
}
152
if (con == 5)
153
{
154
    if (x == desigx && y == desigy)
155
    {
156
        obj_board_inventory.ninfriendo = 1;
157
        visible = false;
158
        player.fun = 0;
159
        snd_play(snd_item);
160
        global.interact = 0;
161
        timer = 0;
162
        con = 6;
163
    }
164
}
165
if (con == 6)
166
{
167
    timer++;
168
    instance_destroy();
169
}
170
if (con > 2 && con < 5)
171
    depth = player.depth;
172
if (makestars == true)
173
{
174
    var stardepth = player.depth + 1;
175
    makestarstimer++;
176
    if ((makestarstimer % 2) == 0)
177
    {
178
        var star = 
scr_board_marker
scr_board_marker

function
scr_board_marker()
{ var _thismarker = instance_create(argument0, argument1, obj_board_marker); _thismarker.sprite_index = argument2; _thismarker.image_xscale = 2; _thismarker.image_yscale = 2; if (argument_count >= 4) _thismarker.image_speed = argument3; if (argument_count >= 5) { if (argument4 != -1) _thismarker.depth = argument4; } if (argument_count >= 6) _thismarker.image_xscale = argument5; if (argument_count >= 6) _thismarker.image_yscale = argument5; if (argument_count >= 7) _thismarker.animateonce = argument6; return _thismarker; }
(x, y, spr_board_star_8px, 0, stardepth);
179
        with (star)
180
        {
181
            direction = other.makestarstimer * 20;
182
            speed = 5;
183
            friction = 0.25;
184
            image_index = irandom(3);
185
            
scr_doom
scr_doom

function
scr_doom(arg0, arg1)
{ with (instance_create_depth(0, 0, 0, obj_doom)) { alarm[0] target = arg0; } }
(id, random_range(13, 16));
186
        }
187
        star = 
scr_board_marker
scr_board_marker

function
scr_board_marker()
{ var _thismarker = instance_create(argument0, argument1, obj_board_marker); _thismarker.sprite_index = argument2; _thismarker.image_xscale = 2; _thismarker.image_yscale = 2; if (argument_count >= 4) _thismarker.image_speed = argument3; if (argument_count >= 5) { if (argument4 != -1) _thismarker.depth = argument4; } if (argument_count >= 6) _thismarker.image_xscale = argument5; if (argument_count >= 6) _thismarker.image_yscale = argument5; if (argument_count >= 7) _thismarker.animateonce = argument6; return _thismarker; }
(x, y, spr_board_star_8px, 0, stardepth);
188
        with (star)
189
        {
190
            direction = (other.makestarstimer * 20) + 180;
191
            speed = 5;
192
            friction = 0.25;
193
            image_index = irandom(3);
194
            
scr_doom
scr_doom

function
scr_doom(arg0, arg1)
{ with (instance_create_depth(0, 0, 0, obj_doom)) { alarm[0] target = arg0; } }
(id, random_range(13, 16));
195
        }
196
    }
197
    if (makestarstimer >= 16)
198
        makestars = false;
199
}
200
if (dopose > 0)
201
{
202
    sprite_index = pose;
203
    dopose--;
204
}
205
else
206
{
207
    sprite_index = idle;
208
}