Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_steam_walls_spin_Alarm_2

(view raw script w/o annotations or w/e)
1
var xx = battle_box.bbox_left + 4 + 11
2
var x_offset = 48
3
var yy = battle_box.bbox_top - 40
4
ball_spawn_point = irandom_range(0, 2)
5
var ball = instance_create_depth((xx + x_offset * ball_spawn_point), yy, -100, obj_battle_enemy_attack_axis_energy_ball_boss)
6
ball.direction = 270
7
alarm[2] = attack_interval
alarm[2]

var xx = battle_box.bbox_left + 4 + 11 var x_offset = 48 var yy = battle_box.bbox_top - 40 ball_spawn_point = irandom_range(0, 2) var ball = instance_create_depth((xx + x_offset * ball_spawn_point), yy, -100, obj_battle_enemy_attack_axis_energy_ball_boss) ball.direction = 270 alarm[2] = attack_interval