Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_bullet_foxtrot_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
direction = 
scr_at_player
scr_at_player

function
scr_at_player(arg0 = x, arg1 = y)
{ return point_direction(arg0, arg1, obj_heart.x + 10, obj_heart.y + 10); }
();
3
timer = 30;
4
side = choose(1, -1);
5
sameattacker = 1;
6
sameattack = 1;
7
ratio = 1;
8
9
cycle = function()
10
{
11
    return 50 + (10 * (ratio > 2));
12
};