Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_quote_battle_ceroba_Create_0

(view raw script w/o annotations or w/e)
1
text_effect = "twitchy"
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
switch turns_passed
9
{
10
    case 4:
11
        message[0] = "Why..."
12
        message_end = 0
13
        break
14
    case 5:
15
        message[0] = "Why won't you#die!?"
16
        message_end = 0
17
        break
18
    case 6:
19
        message[0] = "Why!?"
20
        message_end = 0
21
        break
22
    case 7:
23
        message[0] = "If I don't#succeed, it's#over!"
24
        message_end = 0
25
        break
26
    case 8:
27
        message[0] = "Die!!"
28
        message_end = 0
29
        break
30
    case 9:
31
        message[0] = "Just die!!!"
32
        message_end = 0
33
        break
34
    case 10:
35
        audio_play_sound(snd_ceroba_yell, 1, 0)
36
        scr_screenshake_battle
scr_screenshake_battle

function scr_screenshake_battle() //gml_Script_scr_screenshake_battle { instance_destroy(obj_screenshake_battle) var screenshake = instance_create(0, 0, obj_screenshake_battle) battle_screenshake_duration = argument[0] battle_screenshake_intensity = argument[1] battle_screenshake_dec = battle_screenshake_intensity / battle_screenshake_duration }
(8, 2)
37
        message[0] = "DIE!!!!!"
38
        message_end = 0
39
        break
40
}
41
42
message_current = 0
43
message_draw = ""
44
draw_enabled = true
45
increase = global.text_speed
46
characters = 0
47
hold = 0
48
message_length = string_length(message[message_current])
49
script_execute(gml_Script_scr_generate_text_counters)
50
circle_text_angle = global.circle_text_angle_default
51
circle_text_angle_direction = 1