Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_flower_pillars_checker_Create_0

(view raw script w/o annotations or w/e)
1
counter_current = 0
2
counter_max = 300
3
var bullet_number = 8
4
var xx = (obj_dialogue_box_battle_transformation_any.bbox_right - obj_dialogue_box_battle_transformation_any.bbox_left) / bullet_number
5
for (var i = 0.5; i < bullet_number; i++)
6
    instance_create((obj_dialogue_box_battle_transformation_any.bbox_left + i * xx), irandom_range((obj_dialogue_box_battle_transformation_any.bbox_top + 15), (obj_dialogue_box_battle_transformation_any.bbox_bottom - 15)), obj_battle_enemy_attack_ceroba_flower_pillars_bullet)
7
alarm[0] = 30
alarm[0]

instance_create(obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y, obj_battle_enemy_attack_ceroba_flower_pillars_warning) alarm[0] = 30