twinblade-infinity/objects/obj_enemy_drain/Draw_0.gml

9 lines
223 B
Plaintext

draw_sprite_ext(spr_enemy_drain,image_index,x,y,1,1,direction,c_white,1)
if firing = 1
{
draw_sprite_ext(spr_lightning,image_index,x,y,distance_to_object(obj_player_control)/128,.5,direction,c_white,1)
}