Undertale script viewer

← back to main script listing

gml_Object_obj_undynespear_anim1_Create_0

(view raw script w/o annotations or w/e)
1
image_xscale = 0.9;
2
image_alpha = 0.8;
3
direction = point_direction(x, y, 210, 130);
4
speed = point_distance(x, y, 210, 130) / 6;
5
image_angle = direction;
6
alarm[3] = 5;
gml_Object_obj_undynespear_anim1_Alarm_3.gml

snd_play(snd_impact); instance_create(0, 0, obj_flasher); scr_shake(4, 4, 2); if (instance_exists(obj_undynedate_inside)) { with (obj_undynedate_inside.table) image_index = 1; } speed = 0; sprite_index = spr_undynespear_stabbed; image_angle += 90;
7
snd_play(snd_arrow);
8
part = 0;