Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_macro_log_frog_creator_Destroy_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
with (obj_bigfrog_log)
4
    instance_destroy();
5
with (obj_bigfrog_log_frog)
6
{
7
    if (is_green == true)
8
        global.turns_passed -= 2;
9
    instance_destroy();
10
}
11
with (obj_dialogue_box_battle_transformation_any)
12
    event_user(0);