Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_feather_circle_checker_Destroy_0

(view raw script w/o annotations or w/e)
1
with (obj_battle_enemy_attack_martlet_feather_circle_feather)
2
    instance_destroy()
3
with (obj_battle_enemy_attack_martlet_feather_circle_target_1_axis)
4
    instance_destroy()
5
with (obj_dialogue_box_battle_transformation_any)
6
{
7
    if (instance_exists(obj_martlet_body) && global.enemy_mode == 5 && global.turns_passed == 4)
8
        script_execute(gml_Script_scr_start_during_attack_dialogue_martlet_pacifist)
9
    else
10
        event_user(0)
11
}