alarm[0] = 1;gml_Object_obj_objshake_Alarm_0.gmlthisx = obj.x;
alarm[1] = 2;gml_Object_obj_objshake_Alarm_1.gmlif (oo == 0) oo = 1; else oo = 0; if (oo == 0) obj.x = thisx - shx; if (oo == 1) obj.x = thisx + shx; shx -= 1; if (shx > 0) { alarm[1] = shaketime; } else { obj.x = thisx; instance_destroy(); }
obj = object_index;
shx = 14;
shaketime = 2;
oo = 0;