Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_macro_frog_choir_creator_Destroy_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
with (obj_battle_enemy_attack_macro_choir_frog)
4
    instance_destroy()
5
with (obj_battle_enemy_attack_macro_choir_frog_blue)
6
    instance_destroy()
7
with (obj_battle_enemy_attack_macro_choir_frog_orange)
8
    instance_destroy()
9
with (obj_battle_enemy_attack_macro_choir_note)
10
    instance_destroy()
11
with (obj_battle_enemy_attack_macro_choir_platform)
12
    instance_destroy()
13
with (obj_battle_enemy_attack_macro_frog_choir_conductor)
14
    instance_destroy()
15
if instance_exists(obj_battle_enemy_attack_macro_choir_frog_green)
16
{
17
    global.turns_passed -= 2
18
    instance_destroy(obj_battle_enemy_attack_macro_choir_frog_green)
19
}
20
with (obj_dialogue_box_battle_transformation_any)
21
    event_user(0)