Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_macro_tongue_attack_creator_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (attack_delay <= 0)
4
{
5
    attack_delay = attack_delay_max
6
    with (frog_top[current_frog_top])
7
        tongue_attack = true
8
    with (frog_bot[current_frog_bot])
9
        tongue_attack = true
10
    current_frog_top = choose(2, 3)
11
    current_frog_bot = choose(2, 3)
12
}