Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_starlo_bell_guns_checker_Create_0

(view raw script w/o annotations or w/e)
1
var box = obj_dialogue_box_battle_transformation_any
2
var bell_x = 320
3
var bell_y = box.bbox_top - 15 - sprite_get_height(spr_battle_enemy_attack_starlo_bell)
4
instance_create(bell_x, bell_y, obj_battle_enemy_attack_starlo_bell)
5
alarm[1] = 30
alarm[1]

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[2] = 30 return; } alarm[1] = 30
6
attack_counter = 6
7
boss_draw_alpha = 1
8
boss_fade_in = false