Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_spawner_asgore_warning_Alarm_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
var battle_box = obj_dialogue_box_battle_transformation_any
4
var xx = battle_box.bbox_left + 10
5
if (obj_heart_battle_fighting_parent.x > 320)
6
    xx = battle_box.x - 6
7
instance_create_depth(xx, (battle_box.bbox_top + 10), -100, obj_battle_enemy_attack_asgore_warning)
8
alarm[0] = attack_offset
alarm[0]

if live_call() return global.live_result; var battle_box = obj_dialogue_box_battle_transformation_any var xx = battle_box.bbox_left + 10 if (obj_heart_battle_fighting_parent.x > 320) xx = battle_box.x - 6 instance_create_depth(xx, (battle_box.bbox_top + 10), -100, obj_battle_enemy_attack_asgore_warning) alarm[0] = attack_offset turn_count-- if (turn_count <= 0) { obj_battle_enemy_attack_asgore_checker.alarm[0] = 15 instance_destroy() }
9
turn_count--
10
if (turn_count <= 0)
11
{
12
    obj_battle_enemy_attack_asgore_checker.alarm[0] = 15
13
    instance_destroy()
14
}