Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_bowll_bull_cape_Step_0

(view raw script w/o annotations or w/e)
1
if (image_speed > 0 && image_index >= (image_number - 1))
2
{
3
    with (id_bull)
4
       alarm[1]
5
    image_speed = 0
6
    image_index = image_number - 1
7
}
8
if (image_speed < 0)
9
{
10
    if (image_index != (image_number - 1))
11
        can_disappear = true
12
    if ((image_index <= 0 || image_index == (image_number - 1)) && can_disappear == true)
13
    {
14
        image_speed = 0
15
        image_index = 0
16
    }
17
}