Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_gh_fireball_square_Draw_0

(view raw script w/o annotations or w/e)
1
scaler = 0;
2
draw_sprite_ext(sprite_index, image_index, round(x), round(y), image_xscale - scaler, image_yscale + scaler, image_angle, c_white, image_alpha);
3
if (iris)
4
    draw_sprite_ext(spr_ghosthouse_iris, sprite_width > 12, round(x + lengthdir_x(3 + ((sprite_width > 12) * (iris_dir <= 90 || iris_dir >= 270)), iris_dir)), round(y + lengthdir_y(4, iris_dir)), 1, 1, iris_dir, c_white, 1);