Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_starlo_take_aim_checker_Create_0

(view raw script w/o annotations or w/e)
1
starlo_take_aim_shots_current = 0
2
starlo_take_aim_shots_max = 6
3
starlo_take_aim_interval = 30
4
starlo_take_aim_rope_hit = false
5
alarm[0] = 20
alarm[0]

var soul = obj_heart_battle_fighting_red if (starlo_take_aim_shots_current < starlo_take_aim_shots_max) instance_create((soul.x + (irandom_range(-10, 10))), (soul.y + (irandom_range(-10, 10))), obj_battle_enemy_attack_starlo_take_aim_one_target) else instance_destroy() starlo_take_aim_shots_current += 1 alarm[0] = starlo_take_aim_interval