Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_rouxls_biplane_Create_0

(view raw script w/o annotations or w/e)
1
len = 38;
2
timer = 0;
3
fade = 0;
4
damage = 50;
5
target = 0;
6
speed = 1;
7
image_xscale = 0;
8
image_yscale = 0;
9
if (i_ex(obj_heart))
10
    depth = obj_heart.depth - 1;
11
if (i_ex(obj_heart))
12
    move_towards_point(obj_heart.x + 10, obj_heart.y + 10, 1);
13
else
14
    direction = 180;
15
flag = instance_create(x, y, obj_rouxls_biplane_flag);
16
flag.parentid = id;
17
flag.target = obj_dbulletcontroller.target;
18
flag.damage = 50;
19
hitbox = instance_create(x, y, obj_rouxls_helicopter_hitbox);
20
hitbox.parentid = id;
21
hitbox.target = obj_dbulletcontroller.target;
22
hitbox.damage = 50;