Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_raft_snowdin_22_Step_0

(view raw script w/o annotations or w/e)
1
if (move == true)
2
{
3
    if (aviator_xspd == 0)
4
        image_index = 0
5
    sprite_index = spr_snowdin_22_raft_untie_overworld_yellow
6
    image_speed = 0.2
7
    if (sprite_index == spr_snowdin_22_raft_untie_overworld_yellow && floor(image_index) >= (image_number - 1))
8
        sprite_index = spr_snowdin_22_raft_move_overworld_yellow
9
    if (aviator_xspd < 4)
10
        aviator_xspd += 0.025
11
    obj_npc_clover_snowdin_22.x += aviator_xspd
12
    x += aviator_xspd
13
    if (global.snowdin_flag[13] >= 2 && x > (room_height + 200))
14
        instance_create(0, 0, obj_snowdin_end_transition)
15
}