Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_shutta_rotation_attack_Draw_0

(view raw script w/o annotations or w/e)
1
if (con == 1)
2
{
3
    if (take_photo)
4
        event_user(0);
5
    if (surface_alpha > 0 && surface_exists(snapshot))
6
    {
7
        draw_surface_ext(snapshot, framex - (shotsize / 2), framey - (shotsize / 2), 1, 1, 0, c_white, surface_alpha);
8
        surface_alpha -= (1/15);
9
    }
10
}
11
if (con >= 1 && max_rotate_speed > 0)
12
    draw_sprite_ext(spr_shutta_reticle, 0, pivotx - 1, pivoty - 1, 2, 2, 0, #959595, border.image_alpha);