Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_35_in_battle_cutscene_3_Step_0

(view raw script w/o annotations or w/e)
1
switch scene
2
{
3
    case 0:
4
        cutscene_wait(0.5)
5
        break
6
    case 1:
7
        obj_dialogue_box_battle_transformation_any.battle_box_resize_midfight = true
8
        scene++
9
        break
10
    case 2:
11
        if (obj_dialogue_box_battle_transformation_any.battle_box_resize_midfight == false)
12
            cutscene_advance()
13
        break
14
    case 3:
15
        scr_text_battle
scr_text_battle

function scr_text_battle() //gml_Script_scr_text_battle { if (!instance_exists(obj_dialogue_battle)) msg = instance_create(x, y, obj_dialogue_battle) }
()
16
        with (msg)
17
        {
18
            sndfnt = 108
19
            message[0] = "* What now? His SOUL#  gauge is pulsing..."
20
            message[1] = "* You have any ideas?"
21
            prt[0] = 371
22
            prt[1] = 370
23
        }
24
        if (!global.dialogue_open)
25
            cutscene_advance()
26
        break
27
    case 4:
28
        with (obj_dialogue_box_battle_transformation_any)
29
            event_user(0)
30
        instance_destroy()
31
        break
32
}