Deltarune script viewer

← back to main script listing

gml_Object_obj_ralseibullet_ch1_Create_0

(view raw script w/o annotations or w/e)
1
image_xscale = 0;
2
image_yscale = 0;
3
active = 0;
4
grazed = 0;
5
grazepoints = 5;
6
timepoints = 5;
7
target = 0;
8
dont = 1;
9
inv = 120;
10
damage = 1;
11
active = 0;
12
image_alpha = 0;
13
if (y < 50)
14
    y = 50;
15
g = instance_create_ch1(x, y, obj_afterimage_grow_ch1);
16
g.sprite_index = spr_smallbullet_outline_ch1;
17
g.image_alpha = 1.4;
18
g.xrate = 0.25;
19
g.yrate = 0.25;
20
g.image_xscale = 0;
21
g.image_yscale = 0;
22
special = 0;
23
alarm[0] = 20;
gml_Object_obj_ralseibullet_ch1_Alarm_0.gml

if (instance_exists(obj_heart_ch1)) { move_towards_point(obj_heart_ch1.x + 8, obj_heart_ch1.y + 8, 6); if (special == 1) speed = -speed; }