Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_item_stats_heal

(view raw script w/o annotations or w/e)
1
function 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; } }
(argument0) //gml_Script_scr_item_stats_heal
2
{
3
    switch argument0
4
    {
5
        case "Lemonade":
6
            return 7;
7
        case "Candy Corn":
8
            return 9;
9
        case "Corn Dog":
10
            return 12;
11
        case "Sponge Cake":
12
            return 14;
13
        case "Homemade Cookie":
14
            return 20;
15
        case "Hot Pop":
16
            return 14;
17
        case "Lukewarm Pop":
18
            return 8;
19
        case "Cold Pop":
20
            return 12;
21
        case "Hndw Coffee":
22
            return 14;
23
        case "Hndw Pancake":
24
            return 16;
25
        case "G.B. Bear":
26
            return 20;
27
        case "Packing Peanuts":
28
            return 10;
29
        case "Trail Mix":
30
            return 13;
31
        case "Ice Tea":
32
            return 20;
33
        case "Green Tea":
34
            return 21;
35
        case "Sea Tea":
36
            return 10;
37
        case "Fruitcake":
38
            return 25;
39
        case "Spider Donut":
40
            return 12;
41
        case "Icewater":
42
            return 15;
43
        case "Root Beer":
44
            return 18;
45
        case "Feisty Slider":
46
            return 30;
47
        case "Gunpowder":
48
            return (global.max_hp_self - global.current_hp_self);
49
        case "Adult Soda":
50
            return 20;
51
        case "Moss Salad":
52
            return 17;
53
        case "Grassy Fries":
54
            return 14;
55
        case "Flower Stew":
56
            return 20;
57
        case "Gravity Granola":
58
            return 30;
59
        case "Dihydrogen Monoxide":
60
            return 20;
61
        case "Popato Chisps":
62
            return 13;
63
        case "Beef Jerky":
64
            return 16;
65
        case "Cake":
66
            return 30;
67
        case "Monster Candy":
68
            return 10;
69
        case "Monster Candy+":
70
            return 15;
71
        case "Corn Chowder":
72
            return 15;
73
        case "Hot Dog":
74
            return 20;
75
        case "C-B Strudel":
76
            return 30;
77
        case "Floral Cupcake":
78
            return 50;
79
        case "Cnm. Cookie":
80
            return 35;
81
        case "Oasis Latte":
82
            return 25;
83
        default:
84
            return 0;
85
    }
86
87
}