Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_item_stats_protection

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

function scr_item_stats_protection(arg0) { switch (arg0) { case "G. Pear": return 2; break; default: return 0; } }
(arg0)
2
{
3
    switch (arg0)
4
    {
5
        case "G. Pear":
6
            return 2;
7
            break;
8
        default:
9
            return 0;
10
    }
11
}