Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_macro_tongue_attack_creator_Alarm_1

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var xx = choose((battle_box.bbox_left - 20), (battle_box.bbox_right + 20))
4
var yy = irandom_range((battle_box.bbox_top + 30), (battle_box.bbox_bottom - 30))
5
instance_create_depth(xx, yy, -115, obj_battle_enemy_attack_bigfrog_frog_tongue_fly)
6
alarm[1] = spawn_interval
alarm[1]

if live_call() return global.live_result; var xx = choose((battle_box.bbox_left - 20), (battle_box.bbox_right + 20)) var yy = irandom_range((battle_box.bbox_top + 30), (battle_box.bbox_bottom - 30)) instance_create_depth(xx, yy, -115, obj_battle_enemy_attack_bigfrog_frog_tongue_fly) alarm[1] = spawn_interval