Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_thrash_zap_Draw_0

(view raw script w/o annotations or w/e)
1
x = obj_thrash_zap_controller.x;
2
y = obj_thrash_zap_controller.y;
3
texture_set_interpolation(true);
4
draw_sprite_ext(spr_aura_zap, image_index, x, y, dis / 300, image_yscale, dir, image_blend, random(1));
5
draw_set_blend_mode(bm_add);
6
draw_sprite_ext(spr_aura_zap, image_index * 2, x, y, dis / 300, image_yscale * 2, dir, tint, random(1));
7
texture_set_interpolation(false);
8
draw_set_blend_mode(bm_normal);