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
{
3
    hspeed = 0.3;
4
}
5
else if (global.last_room_overworld == "rm_dunes_22")
6
{
7
    hspeed = -0.3;
8
    x = 280;
9
    image_xscale = -1;
10
}
11
image_speed = 0.2;
12
if (global.route == 3)
13
    sprite_index = spr_player_cart_dark_geno;