Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_phase_2_clay_bullet_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
not_randy = room_height + 50
5
if (generation_speed == 0)
6
{
7
    instance_create_depth(randx, not_randy, (obj_flowey_battle_final.depth + 2), obj_flowey_battle_phase_2_clay_bullet)
8
    generation_speed = default_generation_speed
9
}
10
generation_speed--