Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_phase_2_clay_eyedrop_spawner_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, 3)
4
randy = irandom_range(0, 20)
5
if (generation_speed <= 0)
6
{
7
    instance_create_depth(preset_positions[randx], randy, (obj_flowey_battle_final.depth - 1), obj_flowey_battle_phase_2_clay_eyedrop)
8
    generation_speed = default_generation_speed
9
}
10
generation_speed--