Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_shootout_kris_Draw_0

(view raw script w/o annotations or w/e)
1
if (shootcon == 2)
2
{
3
    if (sprite_index == spr_kris_ride_shoot)
4
    {
5
        if (timer == 0)
6
            image_index = 0;
7
        if (timer == 1)
8
            image_index = 2;
9
        timer++;
10
        if (timer >= 6)
11
        {
12
            sprite_index = spr_kris_ride_1;
13
            image_index = 0;
14
            shootcon = 0;
15
        }
16
    }
17
}
18
if (obj_shootout_controller.shootout_type != 3)
19
    draw_self();