Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_guardener_vines_controller_Step_2

(view raw script w/o annotations or w/e)
1
if (instance_exists(obj_heart_battle_menu) && obj_heart_battle_menu.image_alpha == 1 && (!instance_exists(obj_heart_battle_menu_guardener_fake)))
2
{
3
    var xx = obj_heart_battle_menu.x
4
    var yy = obj_heart_battle_menu.y
5
    var dep = obj_heart_battle_menu.depth
6
    instance_destroy(obj_heart_battle_menu)
7
    instance_create_depth(xx, yy, dep, obj_heart_battle_menu_guardener_fake)
8
}