Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_mechanical_spawner_hsaws_Alarm_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var saw1 = instance_create_depth(xx[0], yy[0], -100, obj_flowey_battle_phase_2_mechanical_saw)
4
var saw2 = instance_create_depth(xx[1], yy[1], -100, obj_flowey_battle_phase_2_mechanical_saw)
5
var saw3 = instance_create_depth(xx[0], yy[2], -100, obj_flowey_battle_phase_2_mechanical_saw)
6
saw1.hspeed = spd[0]
7
saw2.hspeed = spd[1]
8
saw3.hspeed = spd[0]
9
instance_destroy()