Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_phase_2_clay_droop_generator_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
randx = irandom_range(0, room_width)
4
randy = -10
5
if (generation_speed <= 0)
6
{
7
    instance_create_depth(randx, randy, (obj_flowey_battle_final.depth - 1), obj_flowey_battle_phase_2_clay_droop)
8
    generation_speed = default_generation_speed
9
}
10
generation_speed--