Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_tornado_checker_Destroy_0

(view raw script w/o annotations or w/e)
1
if audio_is_playing(snd_mart_wind)
2
    audio_stop_sound(snd_mart_wind)
3
with (obj_battle_enemy_attack_martlet_tornado_feather)
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
}