Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_macro_froggit_Create_0

(view raw script w/o annotations or w/e)
1
text_effect = "circle";
2
attack = false;
3
scene = 0;
4
cutscene_timer = 0;
5
skippable = true;
6
message_adv = false;
7
var turns_passed = global.turns_passed;
8
enemy_talker = 0;
9
voice_pitch = 0.5;
10
switch (turns_passed)
11
{
12
    case 0:
13
        draw_enabled = false;
14
        message[0] = "C R O A K .";
15
        message[1] = "M A C R O#R I B B I T .";
16
        message_end = 1;
17
        skippable = false;
18
        break;
19
    case 1:
20
        message[0] = "M A C R O#C R O A K .";
21
        message_end = 0;
22
        break;
23
    default:
24
        var new_message_number = irandom_range(1, 8);
25
        switch (new_message_number)
26
        {
27
            case 1:
28
                message[0] = "R I B B I T .";
29
                break;
30
            case 2:
31
                message[0] = "C R O A K .";
32
                break;
33
            case 3:
34
                message[0] = "*GIANT FROG#NOISES*";
35
                break;
36
            case 4:
37
                message[0] = "R I B B I T#R I B B I T";
38
                break;
39
            case 5:
40
                message[0] = "B I G#C R O A K :D";
41
                break;
42
            case 6:
43
                message[0] = "W O B B L E#W O B B L E";
44
                break;
45
            case 7:
46
                message[0] = "M A C R O#K E R O";
47
                break;
48
            case 8:
49
                message[0] = ". . .#(Macro ellipsis.)";
50
                break;
51
        }
52
        message_end = 0;
53
        break;
54
}
55
message_current = 0;
56
message_draw = "";
57
draw_enabled = true;
58
increase = global.text_speed;
59
characters = 0;
60
hold = 0;
61
message_length = string_length(message[message_current]);
62
script_execute(scr_generate_text_counters);
63
circle_text_angle = global.circle_text_angle_default;
64
circle_text_angle_direction = 1;