Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_shootout_big_tenna_fire_Draw_0

(view raw script w/o annotations or w/e)
1
if (!i_ex(obj_shootout_controller))
2
{
3
    instance_destroy();
4
    exit;
5
}
6
var chosen_window = obj_shootout_controller.windows[0][0];
7
if (pattern == 0)
8
{
9
    timer++;
10
    if (timer == 10)
11
        instance_create(chosen_window.x, chosen_window.y, obj_shootout_tenna_reticle);
12
}
13
siner++;
14
y = ystart + (sin(siner / 6) * 3);
15
draw_self();