Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_death_screen_generator_Create_0

(view raw script w/o annotations or w/e)
1
global.current_room = room_get_name(room)
2
if (global.battle_enemy_name == "flowey" || global.battle_enemy_name == "flowey2")
3
    instance_create(global.heart_battle_fighting_x, global.heart_battle_fighting_y, obj_heart_death_screen_flowey)
4
else
5
{
6
    instance_create(global.heart_battle_fighting_x, global.heart_battle_fighting_y, obj_heart_death_screen_split)
7
    instance_create(111, 33, obj_game_over)
8
}