Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_battle_phase_2_weakpoint_parent_Collision_obj_heart_yellow_shot

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (hp_self > 0)
4
{
5
    if (other == collider_id)
6
        return;
7
    audio_play_sound(snd_arc_hit, 1, 0)
8
    hit_flash = true
9
    if (other.object_index == obj_heart_yellow_shot_big)
10
    {
11
        collider_id = other
12
        hp_self -= 1
13
       alarm[1]
14
    }
15
    else
16
    {
17
        instance_create_depth(other.x, other.bbox_top, -999, obj_heart_yellow_shot_destroy)
18
        instance_destroy(other)
19
        hp_self -= 1
20
    }
21
   alarm[0]
22
    shake_strength = 4
23
}