Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_player_cart_2_Create_0

(view raw script w/o annotations or w/e)
1
if (global.last_room_overworld == "rm_dunes_20")
2
    hspeed = 0.3
3
else if (global.last_room_overworld == "rm_dunes_22")
4
{
5
    hspeed = -0.3
6
    x = 280
7
    image_xscale = -1
8
}
9
image_speed = 0.2
10
if (global.route == 3)
11
    sprite_index = spr_player_cart_dark_geno