Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_enemy_deer_ice_spell_Draw_0

(view raw script w/o annotations or w/e)
1
timer++;
2
if (timer > 90 || x < board_tilex(-2) || x > board_tilex(13) || y < board_tiley(-2) || y > board_tiley(8))
3
    instance_destroy();
4
place += 8;
5
animindex += 0.3;
6
var count = 5;
7
for (var i = 0; i < count; i++)
8
    draw_sprite_ext(spr_board_snowflake, animindex, 
scr_even
scr_even

function
scr_even(arg0)
{ return round(arg0 / 2) * 2; }
(x + lengthdir_x(len, place + ((360 / count) * i))),
scr_even
scr_even

function
scr_even(arg0)
{ return round(arg0 / 2) * 2; }
(y + lengthdir_y(len, place + ((360 / count) * i))), 2, 2, 0, c_white, image_alpha);