Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_axis_lobbing_bombs_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
battle_box = 3154
4
bomb_side = choose(1, -1)
5
attack_interval = 20
6
alarm[0] = 15
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
7
alarm[1] = 240
alarm[1]

if live_call() return global.live_result; instance_destroy()
8
obj_heart_battle_fighting_parent.movement_mode = 1