Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_b2drawbridge_Draw_0

(view raw script w/o annotations or w/e)
1
if (image_index < 1)
2
{
3
    draw_sprite_ext(sprite_index, 0, x, y, 2, 2, 0, c_white, 1);
4
    draw_sprite_ext(sprite_index, 0, x + 32, y, 2, 2, 0, c_white, 1);
5
}
6
else
7
{
8
    draw_sprite_ext(sprite_index, image_index, x, y, 2, 2, 0, c_white, 1);
9
    draw_sprite_ext(sprite_index, image_index, x + 64, y, -2, 2, 0, c_white, 1);
10
}