Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_determine_sell_price_shop

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

function scr_determine_sell_price_shop(argument0) //gml_Script_scr_determine_sell_price_shop { switch argument0 { case "Lemonade": case "Candy Corn": case "Corn Dog": case "Sponge Cake": case "Hndw Coffee": case "Hndw Pancake": case "G.B. Bear": case "Hot Pop": case "Lukewarm Pop": case "Cold Pop": case "Packing Peanuts": case "Moss Salad": case "Grassy Fries": case "Flower Stew": case "Gravity Granola": case "Dihydrogen Monoxide": case "Popato Chisps": case "Beef Jerky": case "Cake": case "Monster Candy": case "Monster Candy+": case "C-B Strudel": case "Floral Cupcake": case "Hot Dog": case "Corn Chowder": return 15; case "G. Coffee": case "G. Pear": case "G. Cactus": return 50; case "Adult Soda": return 25; case "Patch": case "Feather": case "Pebble Ammo": case "Silver Ammo": case "Rubber Ammo": case "Cff Bean Ammo": case "Honeydew Pin": case "Band Merch Pin": case "Safety Goggles": case "Nails": case "Friendliness Pellets": return 15; case "Golden Scarf": case "Super Ammo": case "Delta Rune Patch": return 100; case "Necklace": return 100; case "Icewater": case "Feisty Slider": return 15; case "Root Beer": return 25; case "H. Acid": return 0; default: return 15; } }
(argument0) //gml_Script_scr_determine_sell_price_shop
2
{
3
    switch argument0
4
    {
5
        case "Lemonade":
6
        case "Candy Corn":
7
        case "Corn Dog":
8
        case "Sponge Cake":
9
        case "Hndw Coffee":
10
        case "Hndw Pancake":
11
        case "G.B. Bear":
12
        case "Hot Pop":
13
        case "Lukewarm Pop":
14
        case "Cold Pop":
15
        case "Packing Peanuts":
16
        case "Moss Salad":
17
        case "Grassy Fries":
18
        case "Flower Stew":
19
        case "Gravity Granola":
20
        case "Dihydrogen Monoxide":
21
        case "Popato Chisps":
22
        case "Beef Jerky":
23
        case "Cake":
24
        case "Monster Candy":
25
        case "Monster Candy+":
26
        case "C-B Strudel":
27
        case "Floral Cupcake":
28
        case "Hot Dog":
29
        case "Corn Chowder":
30
            return 15;
31
        case "G. Coffee":
32
        case "G. Pear":
33
        case "G. Cactus":
34
            return 50;
35
        case "Adult Soda":
36
            return 25;
37
        case "Patch":
38
        case "Feather":
39
        case "Pebble Ammo":
40
        case "Silver Ammo":
41
        case "Rubber Ammo":
42
        case "Cff Bean Ammo":
43
        case "Honeydew Pin":
44
        case "Band Merch Pin":
45
        case "Safety Goggles":
46
        case "Nails":
47
        case "Friendliness Pellets":
48
            return 15;
49
        case "Golden Scarf":
50
        case "Super Ammo":
51
        case "Delta Rune Patch":
52
            return 100;
53
        case "Necklace":
54
            return 100;
55
        case "Icewater":
56
        case "Feisty Slider":
57
            return 15;
58
        case "Root Beer":
59
            return 25;
60
        case "H. Acid":
61
            return 0;
62
        default:
63
            return 15;
64
    }
65
66
}