Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_sme_yellow_rhythm_generator_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if ((!audio_is_playing(audio_play)) && (!instance_exists(obj_sme_yellow_rhythm_note)) && (!instance_exists(obj_sme_yellow_rhythm_note_geno)) && (!instance_exists(obj_sme_yellow_rhythm_note_end)) && note_final == true && can_end_script == true)
4
    event_user(0)
5
if (global.route == 3 || global.battle_enemy_name == "flowey")
6
{
7
    with (obj_heart_battle_fighting_red)
8
        y = clamp(y, 0, (other.box.bbox_top + other.note_speed_numerator - 4))
9
}