Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_axis_neutral_ending_cutscene_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
        draw_alpha += 0.05
7
        if (draw_alpha >= 1)
8
            scene++
9
        break
10
    case 1:
11
        cutscene_wait(0.5)
12
        break
13
    case 2:
14
        obj_axis_body.sprite_index = spr_axis_body_nocharge
15
        obj_axis_body.base_sprite = 1391
16
        instance_destroy(obj_quote_battle_axis_attack_end)
17
        instance_destroy(obj_background_boss_battle_axis_yellow)
18
        instance_create_depth(obj_axis_body.x, obj_axis_body.y, (obj_axis_body.depth - 1), obj_axis_heart)
19
        scene++
20
        break
21
    case 3:
22
        draw_alpha -= 0.05
23
        if (draw_alpha <= 0)
24
            scene++
25
        break
26
    case 4:
27
        cutscene_wait(1)
28
        break
29
    case 5:
30
        instance_create(402, 68, obj_quote_bubble_battle_yellow_2)
31
        instance_create(0, 0, obj_quote_battle_axis_special_robot)
32
        scene++
33
        break
34
    case 6:
35
        if (!instance_exists(obj_quote_battle_axis_special_robot))
36
            cutscene_wait(1)
37
        break
38
    case 7:
39
        instance_create(402, 68, obj_quote_bubble_battle_yellow_2)
40
        instance_create(0, 0, obj_quote_battle_axis_neutral_post_attacks)
41
        scene++
42
        break
43
    case 8:
44
        if (!instance_exists(obj_quote_battle_axis_neutral_post_attacks))
45
        {
46
            global.action_1_important = true
47
            global.action_1_color = 65535
48
            global.action_amount = 1
49
            instance_destroy()
50
        }
51
        break
52
}