Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_phase_2_controller_organic_Step_0

(view raw script w/o annotations or w/e)
1
if (obj_flowey_battle_phase_2_organic_head.hp_self <= 0 && (!destroy_noloop))
2
{
3
    destroy_noloop = true
4
    instance_create_depth(0, 0, -100, obj_flowey_battle_phase_2_stage_destroy_effect)
5
    if (!alarm[0])
6
        alarm[0] = 30
alarm[0]

obj_flowey_battle_final.stage_switch = 0 instance_destroy(obj_flowey_battle_organic_bloodcell_spawner) instance_destroy(obj_flowey_battle_organic_virus_spawner) instance_destroy(obj_flowey_battle_phase_2_organic_virus)
7
}