Undertale script viewer

← back to main script listing

gml_Object_obj_spiderb_body_Alarm_5

(view raw script w/o annotations or w/e)
1
if (mode == 1)
2
{
3
    instance_create(x - 50, y + 130 + (cos(sinert / 5) * 2), obj_spiderpour);
4
    g = instance_create(x + 140, y + 130 + (cos(sinert / 5) * 2), obj_spiderpour);
5
    g.hspeed = -g.hspeed;
6
    g.gravity_direction = 220;
7
    alarm[5] = 4;
gml_Object_obj_spiderb_body_Alarm_5.gml

if (mode == 1) { instance_create(x - 50, y + 130 + (cos(sinert / 5) * 2), obj_spiderpour); g = instance_create(x + 140, y + 130 + (cos(sinert / 5) * 2), obj_spiderpour); g.hspeed = -g.hspeed; g.gravity_direction = 220; alarm[5] = 4; }
8
}