Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_energy_balls_0_creator_Alarm_0

(view raw script w/o annotations or w/e)
1
var battle_box = obj_dialogue_box_battle_transformation_any
2
var spr_width = sprite_get_width(spr_battle_enemy_attack_axis_ball)
3
var spawn_x = 320
4
var spawn_y = battle_box.bbox_top - 60
5
var ball = instance_create_depth(spawn_x, spawn_y, -100, obj_battle_enemy_attack_axis_energy_ball_boss)
6
ball.direction = 270
7
ball.speed = 7
8
attack_can_end = true