Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_miner_giftshopper_Alarm_0

(view raw script w/o annotations or w/e)
1
if (global.party_member != -4)
2
    clover_cup_cutscene = 3
3
else
4
    global.cutscene = false
5
scr_text
scr_text

function scr_text() //gml_Script_scr_text { if (!instance_exists(obj_dialogue)) msg = instance_create(x, y, obj_dialogue) }
()
6
with (msg)
7
{
8
    message[0] = "* ..."
9
    message[1] = "* ENJOY YOUR SHARDS OF GLASS!!"
10
    message[2] = "* NO CHARGE ANYMORE BUDDY!"
11
    message[3] = "* YOU BREAK IT, YOU DO NOT BUY#  IT!!"
12
}
13
is_talking = 1
14
npc_flag += 1
15
music_reset = true
16
instance_destroy(clover_npc)
17
obj_pl.image_alpha = 1
18
obj_pl.direction = 90
19
obj_pl.y += 2
20
obj_giftshop_mug.sprite_index = spr_mug_broken
21
obj_giftshop_mug.depth = 0