Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_end_enemy_attacking_macro

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

function scr_end_enemy_attacking_macro() //gml_Script_scr_end_enemy_attacking_macro { var turns_passed = global.turns_passed if (turns_passed >= 10 && obj_macro_frog_counter.frog_count <= 0) { instance_create(402, 68, obj_quote_bubble_battle_yellow_3) instance_create(0, 0, obj_quote_battle_macro_froggit_attack_end) return true; } else return false; }
() //gml_Script_scr_end_enemy_attacking_macro
2
{
3
    var turns_passed = global.turns_passed
4
    if (turns_passed >= 10 && obj_macro_frog_counter.frog_count <= 0)
5
    {
6
        instance_create(402, 68, obj_quote_bubble_battle_yellow_3)
7
        instance_create(0, 0, obj_quote_battle_macro_froggit_attack_end)
8
        return true;
9
    }
10
    else
11
        return false;
12
}