Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_dunebud_sandcastle_sandcastle_Destroy_0

(view raw script w/o annotations or w/e)
1
if (instance_exists(obj_battle_enemy_attack_dunebud_sandcastle_bucket))
2
{
3
    with (obj_battle_enemy_attack_dunebud_sandcastle_bucket)
4
        instance_destroy();
5
}
6
if (instance_exists(obj_battle_enemy_attack_dunebud_sandcastle_arrow))
7
{
8
    with (obj_battle_enemy_attack_dunebud_sandcastle_arrow)
9
        instance_destroy();
10
}
11
with (obj_dialogue_box_battle_transformation_any)
12
    event_user(0);