Undertale script viewer

← back to main script listing

gml_Object_obj_blockbullet_Create_0

(view raw script w/o annotations or w/e)
1
alarm[0] = 1;
gml_Object_obj_blockbullet_Alarm_0.gml

if (site == 0) { x = object0.x - 300; y = object0.y; } if (site == 1) { x = object0.x + 300; y = object0.y; } if (site == 2) { x = object0.x; y = object0.y + 300; } if (site == 3) { x = object0.x; y = object0.y - 300; } move_towards_point(object0.x, object0.y, 8 * speedmod);
2
site = choose(0, 1, 2, 3);
3
down = 0;
4
image_speed = 0;
5
countdown = instance_number(object_index);
6
if (countdown <= 1)
7
    image_index = 1;
8
speedmod = 1;
9
alphoid = 0;
10
image_alpha = 0;
11
object0 = 264;
12
dmg = 7;