Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_flowergirls_falling_flowers_creator_Create_0

(view raw script w/o annotations or w/e)
1
alarm[0] = 1
alarm[0]

var box = obj_dialogue_box_battle_transformation_any if (!green_flower_spawned) { if ((flower_spawned_count > 1 && irandom(10) == 1) || flower_spawned_count == (flower_spawned_max - 3)) { instance_create(choose((box.bbox_left - 40), (box.bbox_right + 40)), irandom_range((box.bbox_top - 15), box.bbox_bottom), obj_battle_enemy_attack_flowergirls_falling_flowers_flower_green) green_flower_spawned = true alarm[0] = 30 return; } } instance_create(choose((box.bbox_left - 40), (box.bbox_right + 40)), irandom_range((box.bbox_top - 60), box.bbox_bottom), obj_battle_enemy_attack_flowergirls_falling_flowers_flower) flower_spawned_count += 1 if (flower_spawned_count >= flower_spawned_max) alarm[1] = 30 else alarm[0] = 22
2
flower_spawned_count = 0
3
flower_spawned_max = 8
4
green_flower_spawned = false