Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_heart_initiate_battle_quick_Create_0

(view raw script w/o annotations or w/e)
1
scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() //gml_Script_scr_cutscene_start { global.cutscene = true obj_pl.state = gml_Script_scr_frozen_state obj_pl.image_index = 0 obj_pl.image_speed = 0 }
()
2
obj_pl.image_alpha = 0
3
if (global.party_member != noone && instance_exists(global.party_member))
4
    global.party_member.image_alpha = 0
5
instance_create(camera_get_view_x(view_camera[0]), camera_get_view_y(view_camera[0]), obj_blackout_overworld_2)
6
flash_count = 0
7
flash_delay = 1
8
no_loop = false
9
no_loop_2 = false
10
image_alpha = 0
11
if (global.sound_carry_overworld == true)
12
    return;
13
with (obj_radio)
14
{
15
    music_position = audio_sound_get_track_position(current_song)
16
    audio_stop_sound(bgm)
17
}