Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_enemy_yellowflower_Draw_0

(view raw script w/o annotations or w/e)
1
draw_sprite_ext(sprite_index, image_index, round(x / 2) * 2, round(y / 2) * 2, image_xscale, image_yscale, image_angle, image_blend, image_alpha);
2
if (hurttimer > 0 && (hurttimer % 2) == 0 && hp != maxhp)
3
    draw_sprite_ext(hurt_sprite, image_index, round(x / 2) * 2, round(y / 2) * 2, image_xscale, image_yscale, image_angle, image_blend, image_alpha);