Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_heart_initiate_battle_flowey_rooftop_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
flash_count = 0
4
flash_delay = 4
5
start_delay = 5
6
no_loop = false
7
no_loop_2 = false
8
draw_player_sprite = true
9
image_alpha = 0
10
image_speed = 0
11
alarm[0] = 1
alarm[0]

if (image_alpha == 0) { audio_play_sound(snd_soul_battle_flash, 20, false) image_alpha = 1 flash_count += 1 } else image_alpha = 0 no_loop = false
12
no_loop = true
13
if (global.sound_carry_overworld == true)
14
    return;
15
with (obj_radio)
16
{
17
    music_position = audio_sound_get_track_position(current_song)
18
    audio_stop_sound(bgm)
19
}