Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_end_enemy_attacking_ceroba

(view raw script w/o annotations or w/e)
1
function scr_end_enemy_attacking_ceroba
scr_end_enemy_attacking_ceroba

function scr_end_enemy_attacking_ceroba() { if (live_call()) return global.live_result; if (global.attack_cycle == 9) { global.attack_cycle = 10; instance_create(0, 0, obj_battle_ceroba_phase_1_transformation); return true; } else { return false; } }
()
2
{
3
    if (live_call())
4
        return global.live_result;
5
    if (global.attack_cycle == 9)
6
    {
7
        global.attack_cycle = 10;
8
        instance_create(0, 0, obj_battle_ceroba_phase_1_transformation);
9
        return true;
10
    }
11
    else
12
    {
13
        return false;
14
    }
15
}