Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_b1spring_Step_0

(view raw script w/o annotations or w/e)
1
if (init == 0)
2
    init = 1;
3
if (lmark == 0)
4
{
5
    with (obj_board_treasuremarker)
6
    {
7
        if (image_index == 0)
8
            other.lmark = id;
9
    }
10
}
11
if (i_ex(lmark))
12
    depth = lmark.depth - 1;
13
if (kr == 0)
14
{
15
    with (obj_mainchara_board)
16
    {
17
        if (name == "kris")
18
            other.kr = id;
19
    }
20
}
21
if (su == 0)
22
{
23
    with (obj_mainchara_board)
24
    {
25
        if (name == "susie")
26
            other.su = id;
27
    }
28
}
29
if (ra == 0)
30
{
31
    with (obj_mainchara_board)
32
    {
33
        if (name == "ralsei")
34
            other.ra = id;
35
    }
36
}
37
if (inventory == 0)
38
    inventory = 1730;
39
if (tenna == 0)
40
{
41
    with (obj_actor_tenna)
42
        other.tenna = id;
43
}
44
if (susiereal == 0)
45
{
46
    with (obj_caterpillarchara)
47
    {
48
        if (name == "susie")
49
            other.susiereal = id;
50
    }
51
}
52
if (ralseireal == 0)
53
{
54
    with (obj_caterpillarchara)
55
    {
56
        if (name == "ralsei")
57
            other.ralseireal = id;
58
    }
59
}
60
var mytrigger = "lancerdig";
61
if (active == 1 && obj_board_camera.con == 0)
62
{
63
    if (obj_board_inventory.lancer != 0)
64
        visit = 99;
65
    if (susiewalk == 0)
66
    {
67
        
scr_pathfind_to_point
scr_pathfind_to_point

function
scr_pathfind_to_point(arg0, arg1, arg2)
{ var __destx = arg1 + 16; var __desty = arg2 + 16; if (arg1 < 12 && arg2 < 8) { __destx = 128 + (32 * arg1) + 16; __desty = 64 + (32 * arg2) + 16; } with (obj_mainchara_board) { if (name == arg0) { path_end(); is_moving_timer = 0; is_moving = true; path_target_x = __destx; path_target_y = __desty; follow = false; if (argument_count == 4) { if (argument3 != -1) path_end_facing = argument3; } if (argument_count == 5) { if (argument4 != -1) allow_diagonals = argument4; } } } }
("susie", 5, 3);
68
        susiewalk = -1;
69
        
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, irandom(10) + 10, "susiewalk", 1);
70
    }
71
    if (susiewalk == 1)
72
    {
73
        if (su.is_moving == false)
74
        {
75
            sutimer++;
76
            if (sutimer >= sutimertarget)
77
            {
78
                var targx = 3;
79
                var targy = 2;
80
                var _rand = irandom(7);
81
                switch (_rand)
82
                {
83
                    case 0:
84
                        targx = 3;
85
                        targy = 2;
86
                        break;
87
                    case 1:
88
                        targx = 6;
89
                        targy = 2;
90
                        break;
91
                    case 2:
92
                        targx = 8;
93
                        targy = 1;
94
                        break;
95
                    case 3:
96
                        targx = 9;
97
                        targy = 3;
98
                        break;
99
                    case 4:
100
                        targx = 1;
101
                        targy = 4;
102
                        break;
103
                    case 5:
104
                        targx = 3;
105
                        targy = 6;
106
                        break;
107
                    case 6:
108
                        targx = 10;
109
                        targy = 5;
110
                        break;
111
                    case 7:
112
                        targx = 9;
113
                        targy = 6;
114
                        break;
115
                }
116
                if (su.x != board_tilex(targx) && su.y != board_tiley(targy))
117
                    
scr_pathfind_to_point
scr_pathfind_to_point

function
scr_pathfind_to_point(arg0, arg1, arg2)
{ var __destx = arg1 + 16; var __desty = arg2 + 16; if (arg1 < 12 && arg2 < 8) { __destx = 128 + (32 * arg1) + 16; __desty = 64 + (32 * arg2) + 16; } with (obj_mainchara_board) { if (name == arg0) { path_end(); is_moving_timer = 0; is_moving = true; path_target_x = __destx; path_target_y = __desty; follow = false; if (argument_count == 4) { if (argument3 != -1) path_end_facing = argument3; } if (argument_count == 5) { if (argument4 != -1) allow_diagonals = argument4; } } } }
("susie", targx, targy, -1, 0);
118
                sutimertarget = 45 + irandom(90);
119
                sutimer = 0;
120
            }
121
        }
122
    }
123
    if (con == 0 && obj_board_camera.con == 0 && obj_board_inventory.lancer != 0)
124
    {
125
        var triggered = 0;
126
        with (kr)
127
        {
128
            if (place_meeting(x, y, obj_board_trigger))
129
            {
130
                var inst = instance_place(x, y, obj_board_trigger);
131
                if (inst.extflag == mytrigger)
132
                    triggered = 1;
133
            }
134
        }
135
        if (triggered == 1)
136
        {
137
            inventory = 1730;
138
            lancer = instance_create(inventory.x + 8, inventory.y + 10 + 96, obj_board_marker);
139
            lancer.sprite_index = spr_board_lancer_down;
140
            lancer.depth = 5000;
141
            
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
(lancer);
142
            inventory.lancer = 0;
143
            with (obj_board_trigger)
144
            {
145
                if (extflag == mytrigger)
146
                    instance_destroy();
147
            }
148
            global.interact = 1;
149
            snd_play(snd_item);
150
            con = -999;
151
            
scr_script_delayed
scr_script_delayed

function
scr_script_delayed()
{ var __scriptdelay = instance_create(0, 0, obj_script_delayed); __scriptdelay.script = argument[0]; __scriptdelay.alarm[0] = argument[1]; __scriptdelay.target = id; for (var __i = 0; __i < (argument_count - 2); __i++) __scriptdelay.script_arg[__i] = argument[__i + 2]; __scriptdelay.arg_count = argument_count - 2; return __scriptdelay; }
(scr_var, 6, "con", 1);
152
        }
153
    }
154
    if (con == 1)
155
    {
156
        snd_play(snd_jump);
157
        with (lancer)
158
            
scr_jump_to_point_board
scr_jump_to_point_board

function
scr_jump_to_point_board(arg0, arg1, arg2, arg3, arg4 = 0)
{ var ___jump =
scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump) { trackalpha = arg4; trackblend = arg4; trackindex = arg4; tracksprite = arg4; board = true; } return ___jump; }
(board_tilex(3), board_tiley(4), 12, 15);
159
        timer = 0;
160
        con = 2;
161
    }
162
    if (con == 2)
163
    {
164
        var startframe = 25;
165
        var spinspeed = 2;
166
        timer++;
167
        if (timer == 1)
168
        {
169
        }
170
        if (timer == 15)
171
        {
172
            with (lancer)
173
                
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();
}
();
174
        }
175
        if (timer == (startframe + (spinspeed * 0)))
176
            lancer.sprite_index = spr_board_lancer_left;
177
        if (timer == (startframe + (spinspeed * 1)))
178
            lancer.sprite_index = spr_board_lancer_up;
179
        if (timer == (startframe + (spinspeed * 2)))
180
            lancer.sprite_index = spr_board_lancer_right;
181
        if (timer == (startframe + (spinspeed * 3)))
182
            lancer.sprite_index = spr_board_lancer_down;
183
        if (timer == (startframe + (spinspeed * 4)))
184
            lancer.sprite_index = spr_board_lancer_left;
185
        if (timer == (startframe + (spinspeed * 5)))
186
            lancer.sprite_index = spr_board_lancer_up;
187
        if (timer == (startframe + (spinspeed * 6)))
188
            lancer.sprite_index = spr_board_lancer_right;
189
        if (timer == (startframe + (spinspeed * 7)))
190
            lancer.sprite_index = spr_board_lancer_down;
191
        if (timer == (startframe + (spinspeed * 7) + 4))
192
        {
193
            
scr_boardlancer_voice
scr_boardlancer_voice

function
scr_boardlancer_voice()
{ if (argument_count == 0) { for (var i = 0; i < 3; i++) snd_play_delay(snd_txtlan, 8 + (3 * i), 1, 1 + (i / 14)); } else if (argument0 == 1) { for (var i = 0; i < 3; i++) snd_play_delay(snd_txtlan, 1 + (3 * i), 1, 1 - (i / 14)); } }
();
194
            
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");
195
            msgsetloc(0, 
HO HO HO!!Delay 11 L MARKS THE SPOT!Wait for input
"HO HO HO!^1! L MARKS THE SPOT!/", "obj_b1spring_slash_Step_0_gml_186_0"
);
196
            msgnextloc(
I'LL DIG UP A TREASURE FOR YOU!Wait for inputClose Message
"I'LL DIG UP A TREASURE FOR YOU!/%", "obj_b1spring_slash_Step_0_gml_187_0"
);
197
            bw_make();
198
            con = 3;
199
            timer = 0;
200
        }
201
    }
202
    if (con == 3 && !bw_ex())
203
    {
204
        var digspeed = 21;
205
        var jumplength = round(digspeed * 0.75);
206
        if (timer == 0)
207
        {
208
            snd_pause(global.currentsong[1]);
209
            var lancersong = snd_init("board_lancer_dig.ogg");
210
            snd_play(lancersong);
211
            lancer.sprite_index = spr_board_lancer_dig;
212
            lancer.image_speed = 0.05;
213
            bouldercount = 0;
214
        }
215
        timer++;
216
        if (timer == (digspeed * (1 + bouldercount)) && bouldercount < 8)
217
        {
218
            boulder[bouldercount] = instance_create(lancer.x + 16, lancer.y + 16, obj_board_marker);
219
            boulder[bouldercount].sprite_index = spr_board_boulder;
220
            boulder[bouldercount].depth = lancer.depth - 10 - bouldercount;
221
            snd_play(snd_board_throw);
222
            
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
(boulder[bouldercount]);
223
            var jumpamt = 10 + irandom(4);
224
            switch (bouldercount)
225
            {
226
                case 0:
227
                    with (boulder[bouldercount])
228
                        
scr_jump_to_point_board
scr_jump_to_point_board

function
scr_jump_to_point_board(arg0, arg1, arg2, arg3, arg4 = 0)
{ var ___jump =
scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump) { trackalpha = arg4; trackblend = arg4; trackindex = arg4; tracksprite = arg4; board = true; } return ___jump; }
(board_tilex(5) + 16, board_tiley(4) + 16, jumpamt, jumplength);
229
                    break;
230
                case 1:
231
                    with (boulder[bouldercount])
232
                        
scr_jump_to_point_board
scr_jump_to_point_board

function
scr_jump_to_point_board(arg0, arg1, arg2, arg3, arg4 = 0)
{ var ___jump =
scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump) { trackalpha = arg4; trackblend = arg4; trackindex = arg4; tracksprite = arg4; board = true; } return ___jump; }
(board_tilex(6) + 16, board_tiley(5) + 16, jumpamt, jumplength);
233
                    break;
234
                case 2:
235
                    with (boulder[bouldercount])
236
                        
scr_jump_to_point_board
scr_jump_to_point_board

function
scr_jump_to_point_board(arg0, arg1, arg2, arg3, arg4 = 0)
{ var ___jump =
scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump) { trackalpha = arg4; trackblend = arg4; trackindex = arg4; tracksprite = arg4; board = true; } return ___jump; }
(board_tilex(7) + 16, board_tiley(4) + 16, jumpamt, jumplength);
237
                    break;
238
                case 3:
239
                    with (boulder[bouldercount])
240
                        
scr_jump_to_point_board
scr_jump_to_point_board

function
scr_jump_to_point_board(arg0, arg1, arg2, arg3, arg4 = 0)
{ var ___jump =
scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump) { trackalpha = arg4; trackblend = arg4; trackindex = arg4; tracksprite = arg4; board = true; } return ___jump; }
(board_tilex(8) + 16, board_tiley(5) + 16, jumpamt, jumplength);
241
                    break;
242
                case 4:
243
                    with (boulder[bouldercount])
244
                        
scr_jump_to_point_board
scr_jump_to_point_board

function
scr_jump_to_point_board(arg0, arg1, arg2, arg3, arg4 = 0)
{ var ___jump =
scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump) { trackalpha = arg4; trackblend = arg4; trackindex = arg4; tracksprite = arg4; board = true; } return ___jump; }
(board_tilex(5) + 16, board_tiley(5) + 16, jumpamt, jumplength);
245
                    break;
246
                case 5:
247
                    with (boulder[bouldercount])
248
                        
scr_jump_to_point_board
scr_jump_to_point_board

function
scr_jump_to_point_board(arg0, arg1, arg2, arg3, arg4 = 0)
{ var ___jump =
scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump) { trackalpha = arg4; trackblend = arg4; trackindex = arg4; tracksprite = arg4; board = true; } return ___jump; }
(board_tilex(6) + 16, board_tiley(4) + 16, jumpamt, jumplength);
249
                    break;
250
                case 6:
251
                    with (boulder[bouldercount])
252
                        
scr_jump_to_point_board
scr_jump_to_point_board

function
scr_jump_to_point_board(arg0, arg1, arg2, arg3, arg4 = 0)
{ var ___jump =
scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump) { trackalpha = arg4; trackblend = arg4; trackindex = arg4; tracksprite = arg4; board = true; } return ___jump; }
(board_tilex(7) + 16, board_tiley(5) + 16, jumpamt, jumplength);
253
                    break;
254
                case 7:
255
                    with (boulder[bouldercount])
256
                        
scr_jump_to_point_board
scr_jump_to_point_board

function
scr_jump_to_point_board(arg0, arg1, arg2, arg3, arg4 = 0)
{ var ___jump =
scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump) { trackalpha = arg4; trackblend = arg4; trackindex = arg4; tracksprite = arg4; board = true; } return ___jump; }
(board_tilex(8) + 16, board_tiley(4) + 16, jumpamt, jumplength);
257
                    break;
258
            }
259
            if (bouldercount == 7)
260
            {
261
                with (obj_board_treasuremarker)
262
                {
263
                    if (image_index == 0)
264
                        instance_destroy();
265
                }
266
            }
267
            snd_play_delay(snd_board_splash, jumplength);
268
            bouldercount++;
269
        }
270
        if (timer == ((digspeed * 9) + jumplength))
271
        {
272
            obj_board_smallpond.wither = 1;
273
            obj_board_smallpond.lancered = 1;
274
        }
275
        if (timer == ((digspeed * 8) + jumplength + 5))
276
        {
277
            lancer.sprite_index = spr_board_lancer_down;
278
            key = instance_create(lancer.x, lancer.y + 32, obj_board_pickup);
279
            key.type = "key";
280
            key.con = 2;
281
            key.image_index = 6;
282
            key.image_speed = 0;
283
            key.depth = lancer.depth;
284
            with (key)
285
                
scr_jump_to_point_board
scr_jump_to_point_board

function
scr_jump_to_point_board(arg0, arg1, arg2, arg3, arg4 = 0)
{ var ___jump =
scr_jump_to_point_sprite(arg0, arg1, arg2, arg3, 0, 0);
with (___jump) { trackalpha = arg4; trackblend = arg4; trackindex = arg4; tracksprite = arg4; board = true; } return ___jump; }
(board_tilex(6.5), board_tiley(4), 20, round(digspeed * 0.75) + 1);
286
            snd_play(snd_board_throw);
287
            snd_play_delay(snd_item, round(digspeed * 0.75) + 1);
288
        }
289
        if (timer == ((digspeed * 8) + jumplength))
290
        {
291
            obj_board_smallpond.wither = 1;
292
            obj_board_smallpond.lancered = 1;
293
            obj_board_oasis.wither = 2;
294
        }
295
        if (timer == ((digspeed * 8) + jumplength + 5))
296
        {
297
            with (obj_board_marker)
298
            {
299
                if (sprite_index == other.boulder[0].sprite_index)
300
                    depth = obj_board_smallpond.depth - 1;
301
            }
302
        }
303
        if (timer == 206)
304
        {
305
            with (obj_board_event_ninfight)
306
                plugged = 1;
307
            lancer.sprite_index = spr_board_lancer_down;
308
            with (key)
309
                
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();
}
();
310
            
scr_boardlancer_voice
scr_boardlancer_voice

function
scr_boardlancer_voice()
{ if (argument_count == 0) { for (var i = 0; i < 3; i++) snd_play_delay(snd_txtlan, 8 + (3 * i), 1, 1 + (i / 14)); } else if (argument0 == 1) { for (var i = 0; i < 3; i++) snd_play_delay(snd_txtlan, 1 + (3 * i), 1, 1 - (i / 14)); } }
();
311
            msgsetloc(0, 
HOW'S THAT!? A KEY FOR YOU!!Wait for input
"HOW'S THAT!? A KEY FOR YOU!!/", "obj_b1spring_slash_Step_0_gml_292_0"
);
312
            msgnextloc(
AS A BONUS,Delay 11 I BLOCKED THE WATER FROM FLOWING.Wait for input
"AS A BONUS^1, I BLOCKED THE WATER FROM FLOWING./", "obj_b1spring_slash_Step_0_gml_293_0"
);
313
            if (global.flag[1079 drank_oasis] == 1)
314
            {
315
                msgsetloc(0, 
LOOK!Delay 11 A KEY WAS SQUEEZED FROM THE FRAGRANT MUD.Wait for input
"LOOK^1! A KEY WAS SQUEEZED FROM THE FRAGRANT MUD./", "obj_b1spring_slash_Step_0_gml_297_0"
);
316
                msgnextloc(
THE PIONEERS USED THIS TO MAKE KEY LIME PIE.Wait for input
"THE PIONEERS USED THIS TO MAKE KEY LIME PIE./", "obj_b1spring_slash_Step_0_gml_298_0"
);
317
            }
318
            msgnextloc(
BYE NOW!Wait for inputClose Message
"BYE NOW!/%", "obj_b1spring_slash_Step_0_gml_300_0"
);
319
            bw_make();
320
            LancerInTheGame = 1;
321
            con++;
322
        }
323
    }
324
    if (con == 4 && !bw_ex())
325
    {
326
        with (lancer)
327
            gravity = -0.5;
328
        snd_play(snd_slidewhistle);
329
        snd_volume(global.currentsong[1], 0, 0);
330
        snd_resume(global.currentsong[1]);
331
        snd_volume(global.currentsong[1], 1, 15);
332
        con = 5;
333
    }
334
    if (con == 5)
335
    {
336
        lancer.depth = 100000;
337
        if (lancer.y < 32)
338
        {
339
            safe_delete(lancer);
340
            global.interact = 0;
341
            with (key)
342
                
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)); } }
();
343
            con++;
344
        }
345
    }
346
}
347
else
348
{
349
    if (timer2 > 35)
350
        timer2 = 999;
351
    if (visit == 1)
352
        visit = 2;
353
    susiewalk = 0;
354
}
355
if (LancerInTheGame == 1)
356
{
357
    var trig = false;
358
    with (obj_b1enemy)
359
    {
360
        if (active)
361
            trig = true;
362
    }
363
    if (trig == true)
364
    {
365
        LancerInTheGame = 2;
366
        var sutalk = howislancerinthegame;
367
        
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; }
(sutalk, "susie", 0, 120);
368
    }
369
}
370
if (LancerInTheGame == 2)
371
{
372
    if (global.interact == 0)
373
        LancerInTheGameTimer++;
374
    if (LancerInTheGameTimer >= 90)
375
    {
376
        with (obj_actor_tenna)
377
            bounce = 1;
378
        var tetalk = tennaexpl;
379
        
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", 0, 120);
380
        LancerInTheGameTimer = 0;
381
        LancerInTheGame = 3;
382
    }
383
}