Deltarune script viewer

← back to main script listing

gml_Object_obj_queenscreen_dance_Draw_0

(view raw script w/o annotations or w/e)
1
if (dance_active)
2
    draw_sprite_ext(spr_queenscreen, 11, x, y, image_xscale, image_yscale, image_angle, image_blend, 1);
3
else
4
    draw_sprite_ext(spr_queenscreen, 26, x, y, image_xscale, image_yscale, image_angle, image_blend, 1);
5
if (scr_debug
scr_debug

function scr_debug() { if (global.debug == 1) return 1; }
())
6
    draw_text(10, 100, string(audio_sound_get_track_position(global.currentsong[1])));
7
draw_set_color(c_white);
8
draw_self();
9
siner++;
10
y += (sin(siner / 16) / 4);
11
if (global.flag[8 simplify_vfx] == 0)
12
{
13
    draw_set_blend_mode(bm_add);
14
    draw_sprite_ext_flash(sprite_index, image_index, x, y, image_xscale + 0.01, image_yscale + 0.01, image_angle, image_blend, 0.1 + (sin(siner / 5) * 0.1));
15
    draw_set_blend_mode(bm_normal);
16
}