Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_item_info_text_yellow

(view raw script w/o annotations or w/e)
1
function scr_item_info_text_yellow
scr_item_info_text_yellow

function scr_item_info_text_yellow() //gml_Script_scr_item_info_text_yellow { var item_info_hold = global.item_info_hold var item_slot = item_info_hold.item_slot if (item_slot == "Missing Poster") { item_info_message[0] = "* (The grim reminder of your# mission. Justice is needed.)" story_item = true } else if (item_slot == "Snowdin Map") { item_info_message[0] = "* (It's a hand-drawn map.)" item_info_message[1] = "* (It seems more colorful than the# real Snowdin.)" story_item = true } else if (item_slot == "Matches") { item_info_message[0] = "* (Some of them are wet.)" item_info_message[1] = "* (Looks like there are just# enough dry ones to start a nice# fire.)" story_item = true } else if (item_slot == "Lukewarm Coffee") { item_info_message[0] = "* (A once sizzling Honeydew# Coffee.)" item_info_message[1] = "* (It's cooled down a lot.)" item_info_message[2] = "* (It was probably left sitting in# the snow a while.)" story_item = true } else if (item_slot == "Soggy Mitten") { item_info_message[0] = "* (An old, soggy mitten. It's too# wet to keep anything warm.)" story_item = true } else if (item_slot == "Pickaxe") { item_info_message[0] = "* (A sturdy pickaxe.)" story_item = true } else if (item_slot == "Steel Buckle") { item_info_message[0] = "* (A belt buckle made of steel.)" story_item = true } else if (item_slot == "Lemonade") { var item_value = scr_item_stats_heal(item_slot) item_info_message[0] = "Heals " + string(item_value) + " HP#* (Doesn't smell too appetizing.)" } else if (item_slot == "Candy Corn") { item_value = scr_item_stats_heal(item_slot) item_info_message[0] = "Heals " + string(item_value) + " HP#* (Your teeth hurt just looking# at it.)" } else if (item_slot == "Corn Dog") { item_value = scr_item_stats_heal(item_slot) item_info_message[0] = "Heals " + string(item_value) + " HP#* * (A genuine Corn Dog with# soft, fluffy ears.)" } else if (item_slot == "Sponge Cake") { item_value = scr_item_stats_heal(item_slot) item_info_message[0] = "Heals " + string(item_value) + " HP#* (A delicious sponge that doesn't# scratch.)" item_info_message[1] = "* (Has 2x the absorption!)" } else if (item_slot == "Homemade Cookie") { item_value = scr_item_stats_heal(item_slot) item_info_message[0] = "Heals " + string(item_value) + " HP#* (A little burnt on one side, but# looks yummy anyway.)" } else if (item_slot == "Hot Pop") { item_value = scr_item_stats_heal(item_slot) item_info_message[0] = "Heals " + string(item_value) + " HP#* (Piping hot chocolate, frozen,# then reheated.)" } else if (item_slot == "Lukewarm Pop") { item_value = scr_item_stats_heal(item_slot) item_info_message[0] = "Heals " + string(item_value) + " HP#* (Piping hot chocolate cooled to# lukewarm status.)" } else if (item_slot == "Cold Pop") { item_value = scr_item_stats_heal(item_slot) item_info_message[0] = "Heals " + string(item_value) + " HP#* (Piping hot chocolate, cooled# cold.)" } else if (item_slot == "Hndw Coffee") { item_value = scr_item_stats_heal(item_slot) item_info_message[0] = "Heals " + string(item_value) + " HP#* (It would take true bravery to# drink something this hot!)" } else if (item_slot == "Hndw Pancake") { item_value = scr_item_stats_heal(item_slot) item_info_message[0] = "Heals " + string(item_value) + " HP#* (An off-the-griddle pancake with# honey-syrup.)" } else if (item_slot == "G.B. Bear") { item_value = scr_item_stats_heal(item_slot) item_info_message[0] = "Heals " + string(item_value) + " HP#* (A cookie made to look like# someone's face.)" item_info_message[1] = "* (What a creative and original# idea!)" } else if (item_slot == "Packing Peanuts") ...
() //gml_Script_scr_item_info_text_yellow
2
{
3
    var item_info_hold = global.item_info_hold
4
    var item_slot = item_info_hold.item_slot
5
    if (item_slot == "Missing Poster")
6
    {
7
        item_info_message[0] = "* (The grim reminder of your#  mission. Justice is needed.)"
8
        story_item = true
9
    }
10
    else if (item_slot == "Snowdin Map")
11
    {
12
        item_info_message[0] = "* (It's a hand-drawn map.)"
13
        item_info_message[1] = "* (It seems more colorful than the#  real Snowdin.)"
14
        story_item = true
15
    }
16
    else if (item_slot == "Matches")
17
    {
18
        item_info_message[0] = "* (Some of them are wet.)"
19
        item_info_message[1] = "* (Looks like there are just#  enough dry ones to start a nice#  fire.)"
20
        story_item = true
21
    }
22
    else if (item_slot == "Lukewarm Coffee")
23
    {
24
        item_info_message[0] = "* (A once sizzling Honeydew#  Coffee.)"
25
        item_info_message[1] = "* (It's cooled down a lot.)"
26
        item_info_message[2] = "* (It was probably left sitting in#  the snow a while.)"
27
        story_item = true
28
    }
29
    else if (item_slot == "Soggy Mitten")
30
    {
31
        item_info_message[0] = "* (An old, soggy mitten. It's too#  wet to keep anything warm.)"
32
        story_item = true
33
    }
34
    else if (item_slot == "Pickaxe")
35
    {
36
        item_info_message[0] = "* (A sturdy pickaxe.)"
37
        story_item = true
38
    }
39
    else if (item_slot == "Steel Buckle")
40
    {
41
        item_info_message[0] = "* (A belt buckle made of steel.)"
42
        story_item = true
43
    }
44
    else if (item_slot == "Lemonade")
45
    {
46
        var item_value = scr_item_stats_heal
scr_item_stats_heal

function scr_item_stats_heal(argument0) //gml_Script_scr_item_stats_heal { switch argument0 { case "Lemonade": return 7; case "Candy Corn": return 9; case "Corn Dog": return 12; case "Sponge Cake": return 14; case "Homemade Cookie": return 20; case "Hot Pop": return 14; case "Lukewarm Pop": return 8; case "Cold Pop": return 12; case "Hndw Coffee": return 14; case "Hndw Pancake": return 16; case "G.B. Bear": return 20; case "Packing Peanuts": return 10; case "Trail Mix": return 13; case "Ice Tea": return 20; case "Green Tea": return 21; case "Sea Tea": return 10; case "Fruitcake": return 25; case "Spider Donut": return 12; case "Icewater": return 15; case "Root Beer": return 18; case "Feisty Slider": return 30; case "Gunpowder": return (global.max_hp_self - global.current_hp_self); case "Adult Soda": return 20; case "Moss Salad": return 17; case "Grassy Fries": return 14; case "Flower Stew": return 20; case "Gravity Granola": return 30; case "Dihydrogen Monoxide": return 20; case "Popato Chisps": return 13; case "Beef Jerky": return 16; case "Cake": return 30; case "Monster Candy": return 10; case "Monster Candy+": return 15; case "Corn Chowder": return 15; case "Hot Dog": return 20; case "C-B Strudel": return 30; case "Floral Cupcake": return 50; case "Cnm. Cookie": return 35; case "Oasis Latte": return 25; default: return 0; } }
(item_slot)
47
        item_info_message[0] = "Heals " + string(item_value) + " HP#* (Doesn't smell too appetizing.)"
48
    }
49
    else if (item_slot == "Candy Corn")
50
    {
51
        item_value = scr_item_stats_heal
scr_item_stats_heal

function scr_item_stats_heal(argument0) //gml_Script_scr_item_stats_heal { switch argument0 { case "Lemonade": return 7; case "Candy Corn": return 9; case "Corn Dog": return 12; case "Sponge Cake": return 14; case "Homemade Cookie": return 20; case "Hot Pop": return 14; case "Lukewarm Pop": return 8; case "Cold Pop": return 12; case "Hndw Coffee": return 14; case "Hndw Pancake": return 16; case "G.B. Bear": return 20; case "Packing Peanuts": return 10; case "Trail Mix": return 13; case "Ice Tea": return 20; case "Green Tea": return 21; case "Sea Tea": return 10; case "Fruitcake": return 25; case "Spider Donut": return 12; case "Icewater": return 15; case "Root Beer": return 18; case "Feisty Slider": return 30; case "Gunpowder": return (global.max_hp_self - global.current_hp_self); case "Adult Soda": return 20; case "Moss Salad": return 17; case "Grassy Fries": return 14; case "Flower Stew": return 20; case "Gravity Granola": return 30; case "Dihydrogen Monoxide": return 20; case "Popato Chisps": return 13; case "Beef Jerky": return 16; case "Cake": return 30; case "Monster Candy": return 10; case "Monster Candy+": return 15; case "Corn Chowder": return 15; case "Hot Dog": return 20; case "C-B Strudel": return 30; case "Floral Cupcake": return 50; case "Cnm. Cookie": return 35; case "Oasis Latte": return 25; default: return 0; } }
(item_slot)
52
        item_info_message[0] = "Heals " + string(item_value) + " HP#* (Your teeth hurt just looking#  at it.)"
53
    }
54
    else if (item_slot == "Corn Dog")
55
    {
56
        item_value = scr_item_stats_heal
scr_item_stats_heal

function scr_item_stats_heal(argument0) //gml_Script_scr_item_stats_heal { switch argument0 { case "Lemonade": return 7; case "Candy Corn": return 9; case "Corn Dog": return 12; case "Sponge Cake": return 14; case "Homemade Cookie": return 20; case "Hot Pop": return 14; case "Lukewarm Pop": return 8; case "Cold Pop": return 12; case "Hndw Coffee": return 14; case "Hndw Pancake": return 16; case "G.B. Bear": return 20; case "Packing Peanuts": return 10; case "Trail Mix": return 13; case "Ice Tea": return 20; case "Green Tea": return 21; case "Sea Tea": return 10; case "Fruitcake": return 25; case "Spider Donut": return 12; case "Icewater": return 15; case "Root Beer": return 18; case "Feisty Slider": return 30; case "Gunpowder": return (global.max_hp_self - global.current_hp_self); case "Adult Soda": return 20; case "Moss Salad": return 17; case "Grassy Fries": return 14; case "Flower Stew": return 20; case "Gravity Granola": return 30; case "Dihydrogen Monoxide": return 20; case "Popato Chisps": return 13; case "Beef Jerky": return 16; case "Cake": return 30; case "Monster Candy": return 10; case "Monster Candy+": return 15; case "Corn Chowder": return 15; case "Hot Dog": return 20; case "C-B Strudel": return 30; case "Floral Cupcake": return 50; case "Cnm. Cookie": return 35; case "Oasis Latte": return 25; default: return 0; } }
(item_slot)
57
        item_info_message[0] = "Heals " + string(item_value) + " HP#* * (A genuine Corn Dog with#  soft, fluffy ears.)"
58
    }
59
    else if (item_slot == "Sponge Cake")
60
    {
61
        item_value = scr_item_stats_heal
scr_item_stats_heal

function scr_item_stats_heal(argument0) //gml_Script_scr_item_stats_heal { switch argument0 { case "Lemonade": return 7; case "Candy Corn": return 9; case "Corn Dog": return 12; case "Sponge Cake": return 14; case "Homemade Cookie": return 20; case "Hot Pop": return 14; case "Lukewarm Pop": return 8; case "Cold Pop": return 12; case "Hndw Coffee": return 14; case "Hndw Pancake": return 16; case "G.B. Bear": return 20; case "Packing Peanuts": return 10; case "Trail Mix": return 13; case "Ice Tea": return 20; case "Green Tea": return 21; case "Sea Tea": return 10; case "Fruitcake": return 25; case "Spider Donut": return 12; case "Icewater": return 15; case "Root Beer": return 18; case "Feisty Slider": return 30; case "Gunpowder": return (global.max_hp_self - global.current_hp_self); case "Adult Soda": return 20; case "Moss Salad": return 17; case "Grassy Fries": return 14; case "Flower Stew": return 20; case "Gravity Granola": return 30; case "Dihydrogen Monoxide": return 20; case "Popato Chisps": return 13; case "Beef Jerky": return 16; case "Cake": return 30; case "Monster Candy": return 10; case "Monster Candy+": return 15; case "Corn Chowder": return 15; case "Hot Dog": return 20; case "C-B Strudel": return 30; case "Floral Cupcake": return 50; case "Cnm. Cookie": return 35; case "Oasis Latte": return 25; default: return 0; } }
(item_slot)
62
        item_info_message[0] = "Heals " + string(item_value) + " HP#* (A delicious sponge that doesn't#  scratch.)"
63
        item_info_message[1] = "* (Has 2x the absorption!)"
64
    }
65
    else if (item_slot == "Homemade Cookie")
66
    {
67
        item_value = scr_item_stats_heal
scr_item_stats_heal

function scr_item_stats_heal(argument0) //gml_Script_scr_item_stats_heal { switch argument0 { case "Lemonade": return 7; case "Candy Corn": return 9; case "Corn Dog": return 12; case "Sponge Cake": return 14; case "Homemade Cookie": return 20; case "Hot Pop": return 14; case "Lukewarm Pop": return 8; case "Cold Pop": return 12; case "Hndw Coffee": return 14; case "Hndw Pancake": return 16; case "G.B. Bear": return 20; case "Packing Peanuts": return 10; case "Trail Mix": return 13; case "Ice Tea": return 20; case "Green Tea": return 21; case "Sea Tea": return 10; case "Fruitcake": return 25; case "Spider Donut": return 12; case "Icewater": return 15; case "Root Beer": return 18; case "Feisty Slider": return 30; case "Gunpowder": return (global.max_hp_self - global.current_hp_self); case "Adult Soda": return 20; case "Moss Salad": return 17; case "Grassy Fries": return 14; case "Flower Stew": return 20; case "Gravity Granola": return 30; case "Dihydrogen Monoxide": return 20; case "Popato Chisps": return 13; case "Beef Jerky": return 16; case "Cake": return 30; case "Monster Candy": return 10; case "Monster Candy+": return 15; case "Corn Chowder": return 15; case "Hot Dog": return 20; case "C-B Strudel": return 30; case "Floral Cupcake": return 50; case "Cnm. Cookie": return 35; case "Oasis Latte": return 25; default: return 0; } }
(item_slot)
68
        item_info_message[0] = "Heals " + string(item_value) + " HP#* (A little burnt on one side, but#  looks yummy anyway.)"
69
    }
70
    else if (item_slot == "Hot Pop")
71
    {
72
        item_value = scr_item_stats_heal
scr_item_stats_heal

function scr_item_stats_heal(argument0) //gml_Script_scr_item_stats_heal { switch argument0 { case "Lemonade": return 7; case "Candy Corn": return 9; case "Corn Dog": return 12; case "Sponge Cake": return 14; case "Homemade Cookie": return 20; case "Hot Pop": return 14; case "Lukewarm Pop": return 8; case "Cold Pop": return 12; case "Hndw Coffee": return 14; case "Hndw Pancake": return 16; case "G.B. Bear": return 20; case "Packing Peanuts": return 10; case "Trail Mix": return 13; case "Ice Tea": return 20; case "Green Tea": return 21; case "Sea Tea": return 10; case "Fruitcake": return 25; case "Spider Donut": return 12; case "Icewater": return 15; case "Root Beer": return 18; case "Feisty Slider": return 30; case "Gunpowder": return (global.max_hp_self - global.current_hp_self); case "Adult Soda": return 20; case "Moss Salad": return 17; case "Grassy Fries": return 14; case "Flower Stew": return 20; case "Gravity Granola": return 30; case "Dihydrogen Monoxide": return 20; case "Popato Chisps": return 13; case "Beef Jerky": return 16; case "Cake": return 30; case "Monster Candy": return 10; case "Monster Candy+": return 15; case "Corn Chowder": return 15; case "Hot Dog": return 20; case "C-B Strudel": return 30; case "Floral Cupcake": return 50; case "Cnm. Cookie": return 35; case "Oasis Latte": return 25; default: return 0; } }
(item_slot)
73
        item_info_message[0] = "Heals " + string(item_value) + " HP#* (Piping hot chocolate, frozen,#  then reheated.)"
74
    }
75
    else if (item_slot == "Lukewarm Pop")
76
    {
77
        item_value = scr_item_stats_heal
scr_item_stats_heal

function scr_item_stats_heal(argument0) //gml_Script_scr_item_stats_heal { switch argument0 { case "Lemonade": return 7; case "Candy Corn": return 9; case "Corn Dog": return 12; case "Sponge Cake": return 14; case "Homemade Cookie": return 20; case "Hot Pop": return 14; case "Lukewarm Pop": return 8; case "Cold Pop": return 12; case "Hndw Coffee": return 14; case "Hndw Pancake": return 16; case "G.B. Bear": return 20; case "Packing Peanuts": return 10; case "Trail Mix": return 13; case "Ice Tea": return 20; case "Green Tea": return 21; case "Sea Tea": return 10; case "Fruitcake": return 25; case "Spider Donut": return 12; case "Icewater": return 15; case "Root Beer": return 18; case "Feisty Slider": return 30; case "Gunpowder": return (global.max_hp_self - global.current_hp_self); case "Adult Soda": return 20; case "Moss Salad": return 17; case "Grassy Fries": return 14; case "Flower Stew": return 20; case "Gravity Granola": return 30; case "Dihydrogen Monoxide": return 20; case "Popato Chisps": return 13; case "Beef Jerky": return 16; case "Cake": return 30; case "Monster Candy": return 10; case "Monster Candy+": return 15; case "Corn Chowder": return 15; case "Hot Dog": return 20; case "C-B Strudel": return 30; case "Floral Cupcake": return 50; case "Cnm. Cookie": return 35; case "Oasis Latte": return 25; default: return 0; } }
(item_slot)
78
        item_info_message[0] = "Heals " + string(item_value) + " HP#* (Piping hot chocolate cooled to#  lukewarm status.)"
79
    }
80
    else if (item_slot == "Cold Pop")
81
    {
82
        item_value = scr_item_stats_heal
scr_item_stats_heal

function scr_item_stats_heal(argument0) //gml_Script_scr_item_stats_heal { switch argument0 { case "Lemonade": return 7; case "Candy Corn": return 9; case "Corn Dog": return 12; case "Sponge Cake": return 14; case "Homemade Cookie": return 20; case "Hot Pop": return 14; case "Lukewarm Pop": return 8; case "Cold Pop": return 12; case "Hndw Coffee": return 14; case "Hndw Pancake": return 16; case "G.B. Bear": return 20; case "Packing Peanuts": return 10; case "Trail Mix": return 13; case "Ice Tea": return 20; case "Green Tea": return 21; case "Sea Tea": return 10; case "Fruitcake": return 25; case "Spider Donut": return 12; case "Icewater": return 15; case "Root Beer": return 18; case "Feisty Slider": return 30; case "Gunpowder": return (global.max_hp_self - global.current_hp_self); case "Adult Soda": return 20; case "Moss Salad": return 17; case "Grassy Fries": return 14; case "Flower Stew": return 20; case "Gravity Granola": return 30; case "Dihydrogen Monoxide": return 20; case "Popato Chisps": return 13; case "Beef Jerky": return 16; case "Cake": return 30; case "Monster Candy": return 10; case "Monster Candy+": return 15; case "Corn Chowder": return 15; case "Hot Dog": return 20; case "C-B Strudel": return 30; case "Floral Cupcake": return 50; case "Cnm. Cookie": return 35; case "Oasis Latte": return 25; default: return 0; } }
(item_slot)
83
        item_info_message[0] = "Heals " + string(item_value) + " HP#* (Piping hot chocolate, cooled#  cold.)"
84
    }
85
    else if (item_slot == "Hndw Coffee")
86
    {
87
        item_value = scr_item_stats_heal
scr_item_stats_heal

function scr_item_stats_heal(argument0) //gml_Script_scr_item_stats_heal { switch argument0 { case "Lemonade": return 7; case "Candy Corn": return 9; case "Corn Dog": return 12; case "Sponge Cake": return 14; case "Homemade Cookie": return 20; case "Hot Pop": return 14; case "Lukewarm Pop": return 8; case "Cold Pop": return 12; case "Hndw Coffee": return 14; case "Hndw Pancake": return 16; case "G.B. Bear": return 20; case "Packing Peanuts": return 10; case "Trail Mix": return 13; case "Ice Tea": return 20; case "Green Tea": return 21; case "Sea Tea": return 10; case "Fruitcake": return 25; case "Spider Donut": return 12; case "Icewater": return 15; case "Root Beer": return 18; case "Feisty Slider": return 30; case "Gunpowder": return (global.max_hp_self - global.current_hp_self); case "Adult Soda": return 20; case "Moss Salad": return 17; case "Grassy Fries": return 14; case "Flower Stew": return 20; case "Gravity Granola": return 30; case "Dihydrogen Monoxide": return 20; case "Popato Chisps": return 13; case "Beef Jerky": return 16; case "Cake": return 30; case "Monster Candy": return 10; case "Monster Candy+": return 15; case "Corn Chowder": return 15; case "Hot Dog": return 20; case "C-B Strudel": return 30; case "Floral Cupcake": return 50; case "Cnm. Cookie": return 35; case "Oasis Latte": return 25; default: return 0; } }
(item_slot)
88
        item_info_message[0] = "Heals " + string(item_value) + " HP#* (It would take true bravery to#  drink something this hot!)"
89
    }
90
    else if (item_slot == "Hndw Pancake")
91
    {
92
        item_value = scr_item_stats_heal
scr_item_stats_heal

function scr_item_stats_heal(argument0) //gml_Script_scr_item_stats_heal { switch argument0 { case "Lemonade": return 7; case "Candy Corn": return 9; case "Corn Dog": return 12; case "Sponge Cake": return 14; case "Homemade Cookie": return 20; case "Hot Pop": return 14; case "Lukewarm Pop": return 8; case "Cold Pop": return 12; case "Hndw Coffee": return 14; case "Hndw Pancake": return 16; case "G.B. Bear": return 20; case "Packing Peanuts": return 10; case "Trail Mix": return 13; case "Ice Tea": return 20; case "Green Tea": return 21; case "Sea Tea": return 10; case "Fruitcake": return 25; case "Spider Donut": return 12; case "Icewater": return 15; case "Root Beer": return 18; case "Feisty Slider": return 30; case "Gunpowder": return (global.max_hp_self - global.current_hp_self); case "Adult Soda": return 20; case "Moss Salad": return 17; case "Grassy Fries": return 14; case "Flower Stew": return 20; case "Gravity Granola": return 30; case "Dihydrogen Monoxide": return 20; case "Popato Chisps": return 13; case "Beef Jerky": return 16; case "Cake": return 30; case "Monster Candy": return 10; case "Monster Candy+": return 15; case "Corn Chowder": return 15; case "Hot Dog": return 20; case "C-B Strudel": return 30; case "Floral Cupcake": return 50; case "Cnm. Cookie": return 35; case "Oasis Latte": return 25; default: return 0; } }
(item_slot)
93
        item_info_message[0] = "Heals " + string(item_value) + " HP#* (An off-the-griddle pancake with#  honey-syrup.)"
94
    }
95
    else if (item_slot == "G.B. Bear")
96
    {
97
        item_value = scr_item_stats_heal
scr_item_stats_heal

function scr_item_stats_heal(argument0) //gml_Script_scr_item_stats_heal { switch argument0 { case "Lemonade": return 7; case "Candy Corn": return 9; case "Corn Dog": return 12; case "Sponge Cake": return 14; case "Homemade Cookie": return 20; case "Hot Pop": return 14; case "Lukewarm Pop": return 8; case "Cold Pop": return 12; case "Hndw Coffee": return 14; case "Hndw Pancake": return 16; case "G.B. Bear": return 20; case "Packing Peanuts": return 10; case "Trail Mix": return 13; case "Ice Tea": return 20; case "Green Tea": return 21; case "Sea Tea": return 10; case "Fruitcake": return 25; case "Spider Donut": return 12; case "Icewater": return 15; case "Root Beer": return 18; case "Feisty Slider": return 30; case "Gunpowder": return (global.max_hp_self - global.current_hp_self); case "Adult Soda": return 20; case "Moss Salad": return 17; case "Grassy Fries": return 14; case "Flower Stew": return 20; case "Gravity Granola": return 30; case "Dihydrogen Monoxide": return 20; case "Popato Chisps": return 13; case "Beef Jerky": return 16; case "Cake": return 30; case "Monster Candy": return 10; case "Monster Candy+": return 15; case "Corn Chowder": return 15; case "Hot Dog": return 20; case "C-B Strudel": return 30; case "Floral Cupcake": return 50; case "Cnm. Cookie": return 35; case "Oasis Latte": return 25; default: return 0; } }
(item_slot)
98
        item_info_message[0] = "Heals " + string(item_value) + " HP#* (A cookie made to look like#  someone's face.)"
99
        item_info_message[1] = "* (What a creative and original#  idea!)"
100
    }
101
    else if (item_slot == "Packing Peanuts")
102
    {
103
        item_value = scr_item_stats_heal
scr_item_stats_heal

function scr_item_stats_heal(argument0) //gml_Script_scr_item_stats_heal { switch argument0 { case "Lemonade": return 7; case "Candy Corn": return 9; case "Corn Dog": return 12; case "Sponge Cake": return 14; case "Homemade Cookie": return 20; case "Hot Pop": return 14; case "Lukewarm Pop": return 8; case "Cold Pop": return 12; case "Hndw Coffee": return 14; case "Hndw Pancake": return 16; case "G.B. Bear": return 20; case "Packing Peanuts": return 10; case "Trail Mix": return 13; case "Ice Tea": return 20; case "Green Tea": return 21; case "Sea Tea": return 10; case "Fruitcake": return 25; case "Spider Donut": return 12; case "Icewater": return 15; case "Root Beer": return 18; case "Feisty Slider": return 30; case "Gunpowder": return (global.max_hp_self - global.current_hp_self); case "Adult Soda": return 20; case "Moss Salad": return 17; case "Grassy Fries": return 14; case "Flower Stew": return 20; case "Gravity Granola": return 30; case "Dihydrogen Monoxide": return 20; case "Popato Chisps": return 13; case "Beef Jerky": return 16; case "Cake": return 30; case "Monster Candy": return 10; case "Monster Candy+": return 15; case "Corn Chowder": return 15; case "Hot Dog": return 20; case "C-B Strudel": return 30; case "Floral Cupcake": return 50; case "Cnm. Cookie": return 35; case "Oasis Latte": return 25; default: return 0; } }
(item_slot)
104
        item_info_message[0] = "Heals " + string(item_value) + " HP"
105
        item_info_message[1] = "* (Ideal for preventing damage or#  destruction of fragile stomach#  contents.)"
106
    }
107
    else if (item_slot == "Trail Mix")
108
    {
109
        item_info_message[0] = "* \"Trail Mix\" - Heals 13 HP\""
110
        item_info_message[1] = "* (Everything but the raisins#  has been picked out. Heals 13#  HP.)"
111
    }
112
    else if (item_slot == "Ice Tea")
113
    {
114
        item_info_message[0] = "* \"Ice Tea\" - Heals 20 HP\"#* (A glass of warm sweet tea.)"
115
        item_info_message[1] = "* (A label with a sketch of Mo#  grinning is glued to the side.)"
116
    }
117
    else if (item_slot == "Green Tea")
118
        item_info_message[0] = " \"Green Tea\" - Heals 21 HP\"#* (Ice tea but dyed green. +1 HP#  for style.)"
119
    else if (item_slot == "Sea Tea")
120
    {
121
        item_info_message[0] = " \"Sea Tea\" - Heals 10 HP\"#* (Glowing tea that'll jolt your system.)"
122
        item_info_message[1] = "* (A label reading \"The real#  deal!\" is stuck on the glass.)"
123
    }
124
    else if (item_slot == "Fruitcake")
125
        item_info_message[0] = " \"Fruitcake\" - Heals 25 HP\"#* (Somewhat dried fruitcake with#  a few gemstones inside.)"
126
    else if (item_slot == "Spider Donut")
127
        item_info_message[0] = " \"Spider Donut\" - Heals 12 HP\"#* (A donut made with Spider#  Cider in the batter.)"
128
    else if (item_slot == "Icewater")
129
        item_info_message[0] = " \"Icewater\" - Heals 15 HP#* (The prequel to ice tea.)"
130
    else if (item_slot == "Floral Cupcake")
131
        item_info_message[0] = " \"Floral Cupcake\" - Heals ?? HP"
132
    else if (item_slot == "Oasis Latte")
133
        item_info_message[0] = " \"Oasis Latte\" - Heals 25 HP#* (Coffee but fancier.)"
134
    else if (item_slot == "Cnm. Cookie")
135
        item_info_message[0] = " \"Cnm. Cookie\" - Heals 35 HP#* (One of the baked good#  greats..)"
136
    else if (item_slot == "Root Beer")
137
        item_info_message[0] = " \"Root Beer\" - Heals 25 HP\"#* (It's family friendly!)"
138
    else if (item_slot == "Gunpowder")
139
        item_info_message[0] = " \"Gunpowder\" - Heals ??? HP\"#* (The forbidden spice.)"
140
    else if (item_slot == "G. Pear")
141
    {
142
        item_value = scr_item_stats_protection
scr_item_stats_protection

function scr_item_stats_protection(argument0) //gml_Script_scr_item_stats_protection { switch argument0 { case "G. Pear": return 2; default: return 0; } }
(item_slot)
143
        item_info_message[0] = "Grants " + string(item_value) + " PP#* (Makes you invulnerable#  for a pear of hits.)"
144
    }
145
    else if (item_slot == "G. Coffee")
146
    {
147
        item_value = scr_item_stats_speed
scr_item_stats_speed

function scr_item_stats_speed(argument0) //gml_Script_scr_item_stats_speed { switch argument0 { case "G. Coffee": return 3; case "Sea Tea": return 1; default: return 0; } }
(item_slot)
148
        item_info_message[0] = "Grants " + string(item_value) + " SP"
149
        item_info_message[1] = "* (Halves the weight of your soul, giving you a speed boost for three enemy attacks.)"
150
        item_info_message[2] = "* (Half delicious beverage, half#  transition metal.)"
151
        item_info_message[3] = "* (Just smells like#  coffee, though.)"
152
    }
153
    else if (item_slot == "G. Cactus")
154
    {
155
        item_value = scr_item_stats_speed
scr_item_stats_speed

function scr_item_stats_speed(argument0) //gml_Script_scr_item_stats_speed { switch argument0 { case "G. Coffee": return 3; case "Sea Tea": return 1; default: return 0; } }
(item_slot)
156
        item_info_message[0] = "Heals 15 HP for 3 turns"
157
        item_info_message[1] = "The first bite hurts for 5 HP."
158
        item_info_message[2] = "* (The forbidden snack.)"
159
    }
160
    else if (item_slot == "Toy Gun")
161
    {
162
        item_value = scr_item_stats_weapon
scr_item_stats_weapon

function scr_item_stats_weapon(argument0) //gml_Script_scr_item_stats_weapon { switch argument0 { case "Toy Knife": return 3; case "Toy Gun": case "Wild Revolver": return 0; default: return 0; } }
(item_slot)
163
        item_info_message[0] = "Weapon AT " + string(item_value) + "#* (No description.)"
164
    }
165
    else if (item_slot == "Wild Revolver")
166
    {
167
        item_value = scr_item_stats_weapon
scr_item_stats_weapon

function scr_item_stats_weapon(argument0) //gml_Script_scr_item_stats_weapon { switch argument0 { case "Toy Knife": return 3; case "Toy Gun": case "Wild Revolver": return 0; default: return 0; } }
(item_slot)
168
        item_info_message[0] = "Weapon AT " + string(item_value) + "#* (No description.)"
169
    }
170
    else if (item_slot == "Worn Hat")
171
    {
172
        item_value = scr_item_stats_armor
scr_item_stats_armor

function scr_item_stats_armor(argument0) //gml_Script_scr_item_stats_armor { switch argument0 { case "Worn Hat": if (global.option_easymode == true) return 3; else return 0; case "Nice Hat": if (global.option_easymode == true) return 5; else return 0; default: return 0; } }
(item_slot)
173
        item_info_message[0] = "Armor DF " + string(item_value) + "#* (No description.)"
174
    }
175
    else if (item_slot == "Rubber Ammo")
176
    {
177
        item_value = scr_item_stats_weapon_mod
scr_item_stats_weapon_mod

function scr_item_stats_weapon_mod(argument0) //gml_Script_scr_item_stats_weapon_mod { switch argument0 { case "Rubber Ammo": return 0; case "Pebble Ammo": return 3; case "Ice Pellets": return 6; case "Cff Bean Ammo": return 4; case "Glass Ammo": return 5; case "Flint": return 9; case "Silver Ammo": return 3; case "Nails": return 10; case "Friendliness Pellets": return 11; default: return 0; } }
(item_slot)
178
        item_info_message[0] = "Ammo AT " + string(item_value) + "#* (Small, safe, non-toxic#  rubber pellets.)"
179
    }
180
    else if (item_slot == "Pebble Ammo")
181
    {
182
        item_value = scr_item_stats_weapon_mod
scr_item_stats_weapon_mod

function scr_item_stats_weapon_mod(argument0) //gml_Script_scr_item_stats_weapon_mod { switch argument0 { case "Rubber Ammo": return 0; case "Pebble Ammo": return 3; case "Ice Pellets": return 6; case "Cff Bean Ammo": return 4; case "Glass Ammo": return 5; case "Flint": return 9; case "Silver Ammo": return 3; case "Nails": return 10; case "Friendliness Pellets": return 11; default: return 0; } }
(item_slot)
183
        item_info_message[0] = "Ammo AT " + string(item_value) + "#* (Like rocks, but smaller.#* Good makeshift ammo.)"
184
    }
185
    else if (item_slot == "Ice Pellets")
186
    {
187
        item_value = scr_item_stats_weapon_mod
scr_item_stats_weapon_mod

function scr_item_stats_weapon_mod(argument0) //gml_Script_scr_item_stats_weapon_mod { switch argument0 { case "Rubber Ammo": return 0; case "Pebble Ammo": return 3; case "Ice Pellets": return 6; case "Cff Bean Ammo": return 4; case "Glass Ammo": return 5; case "Flint": return 9; case "Silver Ammo": return 3; case "Nails": return 10; case "Friendliness Pellets": return 11; default: return 0; } }
(item_slot)
188
        item_info_message[0] = "Ammo AT " + string(item_value) + "#* (Very conveniently shaped ice#  cubes.)"
189
        item_info_message[1] = "* (They don't seem to be melting#  either.)"
190
        item_info_message[2] = "* (How thoughtful of them!)"
191
    }
192
    else if (item_slot == "Cff Bean Ammo")
193
    {
194
        item_value = scr_item_stats_weapon_mod
scr_item_stats_weapon_mod

function scr_item_stats_weapon_mod(argument0) //gml_Script_scr_item_stats_weapon_mod { switch argument0 { case "Rubber Ammo": return 0; case "Pebble Ammo": return 3; case "Ice Pellets": return 6; case "Cff Bean Ammo": return 4; case "Glass Ammo": return 5; case "Flint": return 9; case "Silver Ammo": return 3; case "Nails": return 10; case "Friendliness Pellets": return 11; default: return 0; } }
(item_slot)
195
        item_info_message[0] = "Ammo AT " + string(item_value)
196
        item_info_message[1] = "* (There's no way you could eat#  them, but they might still be#  of use.)"
197
    }
198
    else if (item_slot == "Glass Ammo")
199
    {
200
        item_value = scr_item_stats_weapon_mod
scr_item_stats_weapon_mod

function scr_item_stats_weapon_mod(argument0) //gml_Script_scr_item_stats_weapon_mod { switch argument0 { case "Rubber Ammo": return 0; case "Pebble Ammo": return 3; case "Ice Pellets": return 6; case "Cff Bean Ammo": return 4; case "Glass Ammo": return 5; case "Flint": return 9; case "Silver Ammo": return 3; case "Nails": return 10; case "Friendliness Pellets": return 11; default: return 0; } }
(item_slot)
201
        item_info_message[0] = "Ammo AT " + string(item_value) + "#* (Literal shards of glass.#  Yep.)"
202
    }
203
    else if (item_slot == "Flint")
204
    {
205
        item_value = scr_item_stats_weapon_mod
scr_item_stats_weapon_mod

function scr_item_stats_weapon_mod(argument0) //gml_Script_scr_item_stats_weapon_mod { switch argument0 { case "Rubber Ammo": return 0; case "Pebble Ammo": return 3; case "Ice Pellets": return 6; case "Cff Bean Ammo": return 4; case "Glass Ammo": return 5; case "Flint": return 9; case "Silver Ammo": return 3; case "Nails": return 10; case "Friendliness Pellets": return 11; default: return 0; } }
(item_slot)
206
        item_info_message[0] = "Ammo AT " + string(item_value) + "#* (A dusty, black rock.#  Might be useful for combat.)"
207
    }
208
    else if (item_slot == "Silver Ammo")
209
    {
210
        item_value = scr_item_stats_weapon_mod
scr_item_stats_weapon_mod

function scr_item_stats_weapon_mod(argument0) //gml_Script_scr_item_stats_weapon_mod { switch argument0 { case "Rubber Ammo": return 0; case "Pebble Ammo": return 3; case "Ice Pellets": return 6; case "Cff Bean Ammo": return 4; case "Glass Ammo": return 5; case "Flint": return 9; case "Silver Ammo": return 3; case "Nails": return 10; case "Friendliness Pellets": return 11; default: return 0; } }
(item_slot)
211
        item_info_message[0] = "Ammo AT " + string(item_value) + "#* (A pack of reflective pellets.)"
212
        item_info_message[1] = "* (They'd fit nicely in#  a six-shooter.)"
213
        item_info_message[2] = "* (A perfect shot deals#  triple the damage.)"
214
    }
215
    else if (item_slot == "Super Ammo")
216
    {
217
        item_value = scr_item_stats_weapon_mod
scr_item_stats_weapon_mod

function scr_item_stats_weapon_mod(argument0) //gml_Script_scr_item_stats_weapon_mod { switch argument0 { case "Rubber Ammo": return 0; case "Pebble Ammo": return 3; case "Ice Pellets": return 6; case "Cff Bean Ammo": return 4; case "Glass Ammo": return 5; case "Flint": return 9; case "Silver Ammo": return 3; case "Nails": return 10; case "Friendliness Pellets": return 11; default: return 0; } }
(item_slot)
218
        item_info_message[0] = "* \"Super Ammo\" - Weapon AT 15#* (Regular toy gun ammo sold#  at your favorite convenience store.)"
219
        item_info_message[1] = "* (Boasts a \"Premium\" sticker on#  the top of the packaging.)"
220
    }
221
    else if (item_slot == "Patch")
222
    {
223
        item_value = scr_item_stats_armor_mod
scr_item_stats_armor_mod

function scr_item_stats_armor_mod(argument0) //gml_Script_scr_item_stats_armor_mod { switch argument0 { case "Patch": return 0; case "Feather": return 2; case "Honeydew Pin": return 4; case "Band Merch Pin": return 5; case "Safety Jacket": return 6; case "Steel Buckle": return 7; case "Fancy Holster": return 8; case "Safety Goggles": return 9; case "Silver Scarf": return 6; case "G. Bandana": return 12; case "Delta Rune Patch": return 10; case "Golden Scarf": return 25; default: return 0; } }
(item_slot)
224
        item_info_message[0] = "Accessory DF " + string(item_value) + "#* (A loosely sewn on patch.)"
225
        item_info_message[1] = "* (It's not strong but it's trustworthy.)"
226
    }
227
    else if (item_slot == "Feather")
228
    {
229
        item_value = scr_item_stats_armor_mod
scr_item_stats_armor_mod

function scr_item_stats_armor_mod(argument0) //gml_Script_scr_item_stats_armor_mod { switch argument0 { case "Patch": return 0; case "Feather": return 2; case "Honeydew Pin": return 4; case "Band Merch Pin": return 5; case "Safety Jacket": return 6; case "Steel Buckle": return 7; case "Fancy Holster": return 8; case "Safety Goggles": return 9; case "Silver Scarf": return 6; case "G. Bandana": return 12; case "Delta Rune Patch": return 10; case "Golden Scarf": return 25; default: return 0; } }
(item_slot)
230
        item_info_message[0] = "Accessory DF " + string(item_value) + "#* (An old, forgotten feather.)"
231
        item_info_message[1] = "* (It needs a good preening.)"
232
    }
233
    else if (item_slot == "Honeydew Pin")
234
    {
235
        item_value = scr_item_stats_armor_mod
scr_item_stats_armor_mod

function scr_item_stats_armor_mod(argument0) //gml_Script_scr_item_stats_armor_mod { switch argument0 { case "Patch": return 0; case "Feather": return 2; case "Honeydew Pin": return 4; case "Band Merch Pin": return 5; case "Safety Jacket": return 6; case "Steel Buckle": return 7; case "Fancy Holster": return 8; case "Safety Goggles": return 9; case "Silver Scarf": return 6; case "G. Bandana": return 12; case "Delta Rune Patch": return 10; case "Golden Scarf": return 25; default: return 0; } }
(item_slot)
236
        item_info_message[0] = "Accessory DF " + string(item_value) + "#* (A pin advertising the Honeydew#  Resort in Snowdin.)"
237
    }
238
    else if (item_slot == "Band Merch Pin")
239
    {
240
        item_value = scr_item_stats_armor_mod
scr_item_stats_armor_mod

function scr_item_stats_armor_mod(argument0) //gml_Script_scr_item_stats_armor_mod { switch argument0 { case "Patch": return 0; case "Feather": return 2; case "Honeydew Pin": return 4; case "Band Merch Pin": return 5; case "Safety Jacket": return 6; case "Steel Buckle": return 7; case "Fancy Holster": return 8; case "Safety Goggles": return 9; case "Silver Scarf": return 6; case "G. Bandana": return 12; case "Delta Rune Patch": return 10; case "Golden Scarf": return 25; default: return 0; } }
(item_slot)
241
        item_info_message[0] = "Accessory DF " + string(item_value) + "#* (A pin commemorating a concert#  you didn't go to.)"
242
    }
243
    else if (item_slot == "Golden Scarf")
244
    {
245
        item_value = scr_item_stats_armor_mod
scr_item_stats_armor_mod

function scr_item_stats_armor_mod(argument0) //gml_Script_scr_item_stats_armor_mod { switch argument0 { case "Patch": return 0; case "Feather": return 2; case "Honeydew Pin": return 4; case "Band Merch Pin": return 5; case "Safety Jacket": return 6; case "Steel Buckle": return 7; case "Fancy Holster": return 8; case "Safety Goggles": return 9; case "Silver Scarf": return 6; case "G. Bandana": return 12; case "Delta Rune Patch": return 10; case "Golden Scarf": return 25; default: return 0; } }
(item_slot)
246
        item_info_message[0] = "* \"Golden Scarf\" - Armor DF 25#* (It's emitting a violently#  golden shine.)"
247
    }
248
    else if (item_slot == "Fancy Holster")
249
    {
250
        item_value = scr_item_stats_armor_mod
scr_item_stats_armor_mod

function scr_item_stats_armor_mod(argument0) //gml_Script_scr_item_stats_armor_mod { switch argument0 { case "Patch": return 0; case "Feather": return 2; case "Honeydew Pin": return 4; case "Band Merch Pin": return 5; case "Safety Jacket": return 6; case "Steel Buckle": return 7; case "Fancy Holster": return 8; case "Safety Goggles": return 9; case "Silver Scarf": return 6; case "G. Bandana": return 12; case "Delta Rune Patch": return 10; case "Golden Scarf": return 25; default: return 0; } }
(item_slot)
251
        item_info_message[0] = "Accessory DF " + string(item_value) + "#* (A leather weapon-holder,#  perfect for duels at noon.)"
252
    }
253
    else if (item_slot == "H. Acid")
254
        item_info_message[0] = "* (An extremely dangerous#  compound. Handle with caution.)"
255
}