Undertale script viewer

← back to main script listing

gml_Object_blt_clawbullet_white_Draw_0

(view raw script w/o annotations or w/e)
1
image_angle = direction + (rotdir * 2);
2
draw_sprite_ext(sprite_index, image_index, x, y, 1, 1, image_angle, c_white, image_alpha);
3
direction += rotdir;
4
scr_bordercross
scr_bordercross

if (hspeed < 0 && x < (global.idealborder[0] - argument0)) instance_destroy(); if (hspeed > 0 && x > (global.idealborder[1] + argument0)) instance_destroy(); if (vspeed < 0 && y < (global.idealborder[2] - argument0)) instance_destroy(); if (vspeed > 0 && y > (global.idealborder[3] + argument0)) instance_destroy();
(12);
5
image_alpha += 0.1;