Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_fmartlet_wings_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 -= 3
13
    }
14
    else
15
    {
16
        instance_destroy(other)
17
        hp_self -= 1
18
    }
19
   alarm[0]
20
    shake_strength = 4
21
    vspeed -= 12
22
}