Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_shadowman_sharpshoot_heart_Create_0

(view raw script w/o annotations or w/e)
1
con = 0;
2
savey = 0;
3
bouncecount = 0;
4
depth = -999999;
5
image_xscale = 0.5;
6
image_yscale = 0.5;
7
previousXPrevious = x;
8
previousYPrevious = y;
9
var impactfx = instance_create(x, y, obj_animation);
10
impactfx.sprite_index = spr_attack_slap2;
11
impactfx.image_xscale = 0.5;
12
impactfx.image_yscale = 0.5;
13
impactfx.image_blend = c_red;
14
if (i_ex(obj_lightemup_controller))
15
    move_towards_point(obj_lightemup_controller.cursor_x, obj_lightemup_controller.cursor_y, 50);
16
else
17
    move_towards_point(obj_shadowman_sharpshoot_cursor.x, obj_shadowman_sharpshoot_cursor.y, 50);