Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_tenna_smashcutter_Create_0

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

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
2
master = noone;
3
timer = 0;
4
con = 0;
5
with (obj_tenna_enemy)
6
{
7
    other.x = camerax() + 525 + shakex + hurtspriteoffx;
8
    other.y = cameray() + 255 + hurtspriteoffy;
9
    other.master = id;
10
    other.depth = 1402;
11
}
12
master.tenna_actor.x = -9999;
13
fronttenna = instance_create(x, y, obj_marker);
14
fronttenna.sprite_index = sprite_index;
15
fronttenna.image_speed = image_speed;
16
fronttenna.image_index = image_index;
17
fronttenna.image_xscale = image_xscale;
18
fronttenna.image_yscale = image_yscale;
19
fronttenna.x = x;
20
fronttenna.y = y;
21
fronttenna.image_alpha = 0;
22
fronttenna.depth = obj_darkener.depth - 10;
23
image_speed = 0;
24
vspeed = -16;
25
gravity = 1;