Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_knight_bullethell2_Create_0

(view raw script w/o annotations or w/e)
1
timer = 0;
2
con = 0;
3
a = 0;
4
b = 0;
5
c = 0;
6
dir = 90;
7
spd = 20;
8
frc = -0.04;
9
var target_obj = 1185;
10
if (i_ex(obj_heart))
11
    target_obj = 1463;
12
if (i_ex(obj_knight_split_growtangle) && obj_knight_split_growtangle.heart_y == -1)
13
    dir = point_direction(x, y, target_obj.x, target_obj.y) - 24;
14
else
15
    dir = point_direction(x, y, target_obj.x, target_obj.y) - 50;