Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_minecart_ride_Create_0

(view raw script w/o annotations or w/e)
1
scroll_speed = -0.5;
2
if (global.last_room_overworld == "rm_dunes_22")
3
    scroll_speed = 0.5;
4
image_speed = 0.2;
5
scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() { global.cutscene = true; obj_pl.state = scr_frozen_state; obj_pl.image_index = 0; obj_pl.image_speed = 0; }
();
6
with (obj_pl)
7
    image_alpha = 0;
8
scene = 0;
9
timer = 30;
10
wall_x = 0;
11
if (global.route != 3)
12
{
13
    audio_play_sound(mus_shimmer, 1, 1);
14
    audio_sound_gain(obj_radio.current_song, 0, 200);
15
}