Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_traintrack_parent_Draw_0

(view raw script w/o annotations or w/e)
1
draw_self();
2
if (
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
() && train_occupied)
3
{
4
    d3d_set_fog(true, c_yellow, 0, 0);
5
    draw_set_alpha(0.2);
6
    draw_sprite(sprite_index, image_index, x, y);
7
    d3d_set_fog(false, c_white, 0, 0);
8
    draw_set_alpha(1);
9
}