Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_dunebud_chase_enemy_Other_10

(view raw script w/o annotations or w/e)
1
if (id_dunebud.sprite_index == spr_dunebud_critical)
2
{
3
    sprite_index = spr_dunebud_rise_c
4
    image_speed = image_speed_rise_c
5
    image_index = 0
6
}
7
else
8
{
9
    sprite_index = spr_dunebud_rise
10
    image_speed = image_speed_rise
11
    image_index = 0
12
}