Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ceroba_quote_controller_flashback_01_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
switch scene
4
{
5
    case 0:
6
        cutscene_wait(2)
7
        break
8
    case 1:
9
        instance_create(402, 90, obj_quote_bubble_battle_yellow_2)
10
        instance_create_depth(0, 0, (obj_quote_bubble_battle_yellow_2.depth - 1), obj_quote_battle_ceroba_flashback_01)
11
        cutscene_advance()
12
        break
13
    case 2:
14
        if (!instance_exists(obj_quote_battle_ceroba_flashback_01))
15
            cutscene_advance()
16
        break
17
    case 3:
18
        obj_ceroba_body_pacifist_phase_2.image_speed = 1
19
        instance_destroy()
20
        global.battle_music = audio_play_sound(mus_mothers_love_phase_2, 20, true)
21
        audio_sound_gain(mus_mothers_love_phase_2, 1, 0)
22
        audio_sound_pitch(mus_mothers_love_phase_2, 1)
23
        obj_petal_generator_phase_2.fade_out = false
24
        obj_petal_generator_phase_2.petals_enabled = true
25
        break
26
}