Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_asgore_warning_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
alarm[0] = 1
alarm[0]

if live_call() return global.live_result; audio_play_sound(snd_bullet_warning, 1, 0) alarm[0] = 3
4
alarm[1] = 20
alarm[1]

if live_call() return global.live_result; var battle_box = obj_dialogue_box_battle_transformation_any for (var i = 0; i < 20; i++) { var bullet = instance_create_depth(irandom_range(bbox_left, bbox_right), irandom_range((battle_box.bbox_top - 10), (battle_box.bbox_top - 100)), -100, obj_battle_enemy_attack_asgore_warning_flame) bullet.vspeed = 12 } for (i = 0; i < 20; i++) { bullet = instance_create_depth(irandom_range(bbox_left, bbox_right), irandom_range((battle_box.bbox_bottom + 10), (battle_box.bbox_bottom + 100)), -100, obj_battle_enemy_attack_asgore_warning_flame) bullet.vspeed = -12 } audio_play_sound(snd_soul_gameover_hit_break, 1, 0) instance_destroy()