Undertale script viewer

← back to main script listing

gml_Object_obj_sunmoon_Create_0

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

instance_create(x + 14, y + 14, obj_sunbullet); alarm[2] = 1; sum = scr_monstersum(); if (sum > 1) alarm[2] = choose(3);
2
alarm[3] = 20;
gml_Object_obj_sunmoon_Alarm_3.gml

if (sum == 1) { aimbullet = instance_create(x + 14, y + 14, obj_sunbullet); with (aimbullet) direction = point_direction(x, y, obj_heart.x, obj_heart.y); alarm[3] = 30; }
3
image_speed = 0.1;
4
on = 0;
5
dmg = 5;