Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_text_info_item_selection_pause_screen_overworld_Create_0

(view raw script w/o annotations or w/e)
1
depth = (-room_height) - global.depth_overworld_text_normal
2
global.item_info_hold = id
3
item_slot = global.item_slot[global.item_pause_screen_number]
4
var game_mode = global.game_mode
5
story_item = false
6
if (game_mode == "customs")
7
{
8
    if (item_slot == "Monster Candy")
9
        item_info_message[0] = "Heals 10 HP#* Has a distinct,#  non-licorice flavor."
10
    else if (item_slot == "Croquet Roll")
11
        item_info_message[0] = "Heals 15 HP#* Fried dough traditionally served with a mallet."
12
    else if (item_slot == "Stick")
13
        item_info_message[0] = "Weapon AT 0#* Its bark is worse than#  its bite."
14
    else if (item_slot == "Bandage")
15
        item_info_message[0] = "Heals 10 HP#* It has already been used several times."
16
    else if (item_slot == "Rock Candy")
17
        item_info_message[0] = "Heals 1 HP#* Here is a recipe to make this at home: 1. Find a rock"
18
    else if (item_slot == "Pumpkin Rings")
19
        item_info_message[0] = "Heals 8 HP#* A small pumpkin cooked like onion rings."
20
    else if (item_slot == "Spider Donut")
21
        item_info_message[0] = "Heals 12 HP#* A donut made with Spider Cider in the batter."
22
    else if (item_slot == "Stoic Onion")
23
        item_info_message[0] = "Heals 5 HP#* Even eating it raw, the tears just won't come."
24
    else if (item_slot == "Ghost Fruit")
25
        item_info_message[0] = "Heals 16 HP#* If eaten, it will never pass to the other side."
26
    else if (item_slot == "Spider Cider")
27
        item_info_message[0] = "Heals 24 HP#* Made with whole spiders, not just the juice."
28
    else if (item_slot == "Butterscotch Pie")
29
        item_info_message[0] = "All HP#* Butterscotch-cinnamon pie, one slice."
30
    else if (item_slot == "Faded Ribbon")
31
        item_info_message[0] = "Armor DF 3#* If you're cuter, monsters won't hit you as hard."
32
    else if (item_slot == "Toy Knife")
33
        item_info_message[0] = "Weapon AT 3#* Made of plastic. A rarity nowadays."
34
    else if (item_slot == "Tough Glove")
35
        item_info_message[0] = "Weapon AT 5#* A worn pink leather glove. For five-fingered folk."
36
    else if (item_slot == "Manly Bandanna")
37
        item_info_message[0] = "Armor DF 7#* It has seen some wear. It has abs drawn on it."
38
    else if (item_slot == "Snowman Piece")
39
        item_info_message[0] = "Heals 45 HP#* Please take this to the ends of the earth."
40
    else if (item_slot == "Nice Cream")
41
        item_info_message[0] = "Heals 15 HP#* Instead of a joke, the wrapper says something nice."
42
    else if (item_slot == "Puppydough Icecream")
43
        item_info_message[0] = "Heals 28 HP#* Made by young pups."
44
    else if (item_slot == "Bisicle")
45
        item_info_message[0] = "Heals 11 HP#* It's a two-pronged popsicle, so you can eat it twice."
46
    else if (item_slot == "Unisicle")
47
        item_info_message[0] = "Heals 11 HP#* It's a SINGLE-pronged popsicle. Wait, that's just normal..."
48
    else if (item_slot == "Cinnamon Bun")
49
        item_info_message[0] = "Heals 22 HP#* A cinnamon roll in the shape of a bunny."
50
    else if (item_slot == "Temmie Flakes")
51
        item_info_message[0] = "Heals 2 HP#* It's just torn up pieces of colored construction paper."
52
    else if (item_slot == "Abandoned Quiche")
53
        item_info_message[0] = "Heals 34 HP#* A psychologically damaged spinach egg pie."
54
    else if (item_slot == "Old Tutu")
55
        item_info_message[0] = "Armor DF 10#* Finally, a protective piece of armor."
56
    else if (item_slot == "Ballet Shoes")
57
        item_info_message[0] = "Wpn AT 7#* These used shoes make you feel incredibly dangerous."
58
    else if (item_slot == "Punch Card")
59
        item_info_message[0] = "Battle Item#* Use to make punching attacks stronger in one battle. Use outside of battle to look at the card."
60
    else if (item_slot == "Annoying Dog")
61
        item_info_message[0] = "Dog A little white dog. It's fast"
62
    else if (item_slot == "Dog Salad")
63
        item_info_message[0] = "Heals ?? HP#* Recovers HP. (Hit Poodles.)"
64
    else if (item_slot == "Dog Residue")
65
        item_info_message[0] = "Dog Item Shiny trail left behind by a dog."
66
    else if (item_slot == "Dog Residue")
67
        item_info_message[0] = "Dog Item Dog-shaped husk shed from a dog's carapace."
68
    else if (item_slot == "Dog Residue")
69
        item_info_message[0] = "Dog Item Dirty dishes left unwashed by a dog."
70
    else if (item_slot == "Dog Residue")
71
        item_info_message[0] = "Dog Item Glowing crystals secreted by a dog."
72
    else if (item_slot == "Dog Residue")
73
        item_info_message[0] = "Dog Item Jigsaw puzzle left unfinished by a dog."
74
    else if (item_slot == "Dog Residue")
75
        item_info_message[0] = "Dog Item Web spun by a dog to ensnare prey."
76
    else if (item_slot == "Astronaut Food")
77
        item_info_message[0] = "Heals 21 HP#* For feeding a pet astronaut."
78
    else if (item_slot == "Instant Noodles")
79
        item_info_message[0] = "Heals HP#* Comes with everything you need for a quick meal!"
80
    else if (item_slot == "Crab Apple")
81
        item_info_message[0] = "Heals 18 HP#* An aquatic fruit that resembles a crustacean."
82
    else if (item_slot == "Hot Dog...?")
83
        item_info_message[0] = "Heals 20 HP#* The \"meat\" is made of something#  called a \"water sausage.\""
84
    else if (item_slot == "Hot Cat")
85
        item_info_message[0] = "Heals 21 HP#* Like a hot dog, but with little cat ears on the end."
86
    else if (item_slot == "Glamburger")
87
        item_info_message[0] = "Heals 27 HP#* A hamburger made of edible glitter and sequins."
88
    else if (item_slot == "Sea Tea")
89
        item_info_message[0] = "Heals 10 HP#* Made from glowing marshwater. Increases SPEED for one battle."
90
    else if (item_slot == "Starfait")
91
        item_info_message[0] = "Heals 14 HP#* A sweet treat made of sparkling stars."
92
    else if (item_slot == "Legendary Hero")
93
        item_info_message[0] = "Heals 40 HP#* Sandwich shaped like a sword. Increases ATTACK when eaten."
94
    else if (item_slot == "Butty Glasses")
95
        item_info_message[0] = "Armor DF 6#* Glasses marred with wear. Increases INV by 9. (After you get hurt by an attack, you stay invulnerable for longer.)"
96
    else if (item_slot == "Torn Notebook")
97
        item_info_message[0] = "Weapon AT 2#* Contains illegible scrawls. Increases INV by 6. (After you get hurt by an attack, you stay invulnerable for longer.)"
98
    else if (item_slot == "Stained Apron")
99
        item_info_message[0] = "Armor DF 11#* Heals 1 HP every other turn."
100
    else if (item_slot == "Burnt Pan")
101
        item_info_message[0] = "Weapon AT 10#* Damage is rather consistent. Consumable items heal 4 more HP."
102
    else if (item_slot == "Cowboy Hat")
103
        item_info_message[0] = "Armor DF 12#* This battle-worn hat makes you want to grow a beard. It also raises ATTACK by 5."
104
    else if (item_slot == "Empty Gun")
105
        item_info_message[0] = "Weapon AT 12#* An antique revolver. It has no ammo. Must be used precisely, or damage will be low."
106
    else if (item_slot == "Heart Locket")
107
        item_info_message[0] = "Armor DF 15#* It says \"Best Friends Forever.\""
108
    else if (item_slot == "Worn Dagger")
109
        item_info_message[0] = "Weapon AT 15#* Perfect for cutting plants and vines."
110
    else if (item_slot == "Real Knife")
111
        item_info_message[0] = "Weapon AT 99#* Here we are!"
112
    else if (item_slot == "The Locket")
113
        item_info_message[0] = "Armor DF 99#* You can feel it beating."
114
    else if (item_slot == "Bad Memory")
115
        item_info_message[0] = "Hurts 1 HP#* ?????"
116
    else if (item_slot == "Dream")
117
        item_info_message[0] = "Heals 12 HP#* The goal of \"Determination.\""
118
    else if (item_slot == "Undyne's Letter")
119
        item_info_message[0] = "Unique Letter written for Dr. Alphys."
120
    else if (item_slot == "Undyne Letter EX")
121
        item_info_message[0] = "Unique It has DON'T DROP IT written on it."
122
    else if (item_slot == "Popato Chisps")
123
        item_info_message[0] = "Heals 13 HP#* Regular old popato chisps."
124
    else if (item_slot == "Junk Food")
125
        item_info_message[0] = "Heals 17 HP#* Food that was probably once thrown away."
126
    else if (item_slot == "Mystery Key")
127
        item_info_message[0] = "Unique It is too bent to fit on your keychain."
128
    else if (item_slot == "Face Steak")
129
        item_info_message[0] = "Heals 60 HP#* Huge steak in the shape of Mettaton's face. (You don't feel like it's made of real meat...)"
130
    else if (item_slot == "Hush Puppy")
131
        item_info_message[0] = "Heals 65 HP#* This wonderful spell will stop a dog from casting magic."
132
    else if (item_slot == "Snail Pie")
133
        item_info_message[0] = "Heals Some HP#* An acquired taste."
134
    else if (item_slot == "temy armor")
135
        item_info_message[0] = "Armor DF 20#* The things you can do with a college education! Raises ATTACK when worn. Recovers HP every other turn. INV up slightly."
136
}
137
else if (game_mode == "yellow")
138
    script_execute(gml_Script_scr_item_info_text_yellow)
139
for (i = 0; i < array_length_1d(item_info_message); i++)
140
{
141
    if (story_item == false && i == 0)
142
        message[0] = "* \"" + string(item_slot) + "\"" + " - " + string(item_info_message[0])
143
    else
144
        message[i] = string(item_info_message[i])
145
}
146
message_end = array_length_1d(item_info_message) - 1
147
message_current = 0
148
message_draw = ""
149
increase = global.text_speed
150
characters = 0
151
hold = 0
152
message_length = string_length(message[message_current])
153
script_execute(gml_Script_scr_generate_text_counters)