Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_lightemup_controller_Draw_0

(view raw script w/o annotations or w/e)
1
if (shooting_enabled == false)
2
    cursor_alpha -= 0.1;
3
cursor_siner++;
4
if (!i_ex(obj_tvturnoff_manager))
5
{
6
    draw_sprite_ext(spr_shadowman_sharpshoot_cursor, 0, cursor_x + (sin(cursor_siner / 4) * 2), cursor_y + (cos(cursor_siner / 4) * 2), cursor_xscale + 0.5, cursor_yscale + 0.5, cursor_angle, c_white, cursor_alpha / 4);
7
    draw_sprite_ext(spr_shadowman_sharpshoot_cursor, 0, cursor_x, cursor_y, cursor_xscale, cursor_yscale, cursor_angle, c_white, cursor_alpha / 3);
8
    draw_sprite_ext(spr_shadowman_sharpshoot_cursor, 0, cursor_x, cursor_y, cursor_xscale - 0.5, cursor_yscale - 0.5, cursor_angle, c_white, cursor_alpha / 1.5);
9
}