Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_throwtarget_Create_0

(view raw script w/o annotations or w/e)
1
image_xscale = 2;
2
image_yscale = 2;
3
image_speed = 0.2;
4
good = 1;
5
offing = 0;
6
if (instance_number(object_index) == 1)
7
{
8
    tt = instance_create(x, y, obj_throwtarget);
9
    tt.depth = depth + 1;
10
    with (tt)
11
    {
12
        offing = 0;
13
        good = 0;
14
        sprite_index = spr_checkers_idle_crownless;
15
    }
16
}
17
con = 0;