Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_phase_2_controller_clay_Step_0

(view raw script w/o annotations or w/e)
1
if instance_exists(obj_flowey_battle_phase_2_weakpoint)
2
    hp_weakpoint = obj_flowey_battle_phase_2_weakpoint.hp_self
3
if (hp_weakpoint <= 0)
4
{
5
    if (!alarm[0])
6
        alarm[0] = 30
alarm[0]

obj_flowey_battle_final.stage_switch = 0 instance_create_depth(0, 0, -100, obj_flowey_battle_phase_2_stage_destroy_effect) instance_destroy(obj_flowey_battle_phase_2_clay_droop_generator) instance_destroy(obj_flowey_battle_phase_2_clay_eyedrop_spawner) instance_destroy(obj_flowey_battle_phase_2_clay_droop) instance_destroy(obj_flowey_battle_phase_2_clay_growing) instance_destroy(obj_flowey_battle_phase_2_clay_cone) with (obj_flowey_battle_phase_2_clay_bullet) instance_destroy() with (obj_flowey_battle_phase_2_clay_bullet_generator) instance_destroy() alarm[0] = 999
7
}