Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_asgore_checker_Alarm_1

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (!unavoidable_attack)
4
{
5
    soul_can_hurt = true
6
    ds_list_empty(spawner_list)
7
    ds_list_add(spawner_list, 1339)
8
    unavoidable_attack = true
9
    alarm[1] = 600
alarm[1]

if live_call() return global.live_result; if (!unavoidable_attack) { soul_can_hurt = true ds_list_empty(spawner_list) ds_list_add(spawner_list, 1339) unavoidable_attack = true alarm[1] = 600 } else { unavoidable_attack = false alarm[1] = 1 }
10
}
11
else
12
{
13
    unavoidable_attack = false
14
    alarm[1] = 1
alarm[1]

if live_call() return global.live_result; if (!unavoidable_attack) { soul_can_hurt = true ds_list_empty(spawner_list) ds_list_add(spawner_list, 1339) unavoidable_attack = true alarm[1] = 600 } else { unavoidable_attack = false alarm[1] = 1 }
15
}