Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ice_cube_Step_0

(view raw script w/o annotations or w/e)
1
if (path_position == 1 && image_speed == 0)
2
{
3
    instance_create(x, y, obj_water_splash)
4
    sprite_index = spr_waterice
5
    image_speed = 0.2
6
    move = true
7
}
8
if (move == true)
9
{
10
    if (vspeed > -3)
11
        vspeed -= 0.1
12
}