Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_axis_lobbing_bombs_Alarm_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
bomb_side *= -1
4
instance_create_depth((battle_box.x + bomb_side * 100), irandom_range(battle_box.bbox_top, battle_box.bbox_bottom), -100, obj_battle_enemy_attack_axis_bomb_1)
5
alarm[0] = attack_interval
alarm[0]

if live_call() return global.live_result; bomb_side *= -1 instance_create_depth((battle_box.x + bomb_side * 100), irandom_range(battle_box.bbox_top, battle_box.bbox_bottom), -100, obj_battle_enemy_attack_axis_bomb_1) alarm[0] = attack_interval