Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_spray_bottle_spray_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
speed = lerp(speed, 0, 0.05)
4
if (speed < 2 && sprite_index != spr_attack_spray_bottle_spray_disappear)
5
{
6
    sprite_index = spr_attack_spray_bottle_spray_disappear
7
    image_speed = 1
8
    image_index = 0
9
}