Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_phase_2_special_attack_spawner_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (obj_ceroba_body_pacifist_phase_2.sprite_index != spr_ceroba_p2_special_attack && obj_ceroba_body_pacifist_phase_2.sprite_index != spr_ceroba_p2_special_attack_1 && obj_ceroba_body_pacifist_phase_2.sprite_index != spr_ceroba_p2_special_attack_2)
4
{
5
    if (!alarm[1])
6
        alarm[1] = 30
alarm[1]

if live_call() return global.live_result; instance_destroy()
7
}