Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_attack_ed_grab_warning_Step_0

(view raw script w/o annotations or w/e)
1
counter += image_speed;
2
switch (counter)
3
{
4
    case 3.2:
5
    case 5.6:
6
    case 8:
7
        audio_play_sound(snd_bullet_warning, 20, 0);
8
        break;
9
}
10
if (instance_exists(obj_attack_ed_grab_moray_sword_controller))
11
{
12
    x = obj_heart_battle_fighting_parent.x;
13
    y = obj_heart_battle_fighting_parent.y;
14
}