Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_energy_balls_creator_Alarm_0

(view raw script w/o annotations or w/e)
1
var battle_box = 3154
2
var spawn_dir = irandom_range(0, 359)
3
var spawn_x = 320 + (lengthdir_x(250, spawn_dir))
4
var spawn_y = 320 + (lengthdir_y(250, spawn_dir))
5
instance_create_depth(spawn_x, spawn_y, -100, obj_battle_enemy_attack_axis_energy_ball)
6
alarm[0] = attack_interval
alarm[0]

var battle_box = 3154 var spawn_dir = irandom_range(0, 359) var spawn_x = 320 + (lengthdir_x(250, spawn_dir)) var spawn_y = 320 + (lengthdir_y(250, spawn_dir)) instance_create_depth(spawn_x, spawn_y, -100, obj_battle_enemy_attack_axis_energy_ball) alarm[0] = attack_interval