Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_starlo_bullet_rain_checker_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 (irandom(1) == 0) var new_gun = instance_create(choose((box.bbox_left - 25), (box.bbox_right + 25)), irandom_range((box.bbox_top + 25), (box.bbox_bottom - 25)), obj_battle_enemy_attack_starlo_bullet_rain_gun) else new_gun = instance_create(irandom_range((box.bbox_left + 25), (box.bbox_right - 25)), choose((box.bbox_top - 25), (box.bbox_bottom + 25)), obj_battle_enemy_attack_starlo_bullet_rain_gun) attack_counter -= 1 if (attack_counter <= 0) { alarm[1] = 30 return; } alarm[0] = 30
2
attack_counter = 6