Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_b2_bino_v2_Draw_0

(view raw script w/o annotations or w/e)
1
if (active && 
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
())
2
{
3
    if (obj_board_camera.shift == "none")
4
        var count = 0;
5
}
6
if (sunk == 0)
7
{
8
    draw_self_board();
9
}
10
else
11
{
12
    var _amt = abs(sin(sunk / 25)) * 3;
13
    sunk++;
14
    draw_sprite_ext(sprite_index, image_index, 
scr_even
scr_even

function
scr_even(arg0)
{ return round(arg0 / 2) * 2; }
(x),
scr_even
scr_even

function
scr_even(arg0)
{ return round(arg0 / 2) * 2; }
(y + _amt), image_xscale, image_yscale, 0, image_blend, image_alpha);
15
}