Undertale script viewer

← back to main script listing

gml_Object_obj_rotspeargen_gen_Create_0

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

if (type == 0) { g = instance_create(obj_heart.x + 8, obj_heart.y + 8, obj_rotspeargen); g.type = t; if (t == 0) t = 1; else t = 0; alarm[0] = 27; } if (type == 1) { t = choose(2, 3); g = instance_create(obj_heart.x + 8, obj_heart.y + 8, obj_rotspeargen); g.type = t; alarm[0] = 24; }
2
t = 0;
3
type = 0;