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(argument0) //gml_Script_scr_item_stats_protection { switch argument0 { case "G. Pear": return 2; default: return 0; } }
(argument0) //gml_Script_scr_item_stats_protection
2
{
3
    switch argument0
4
    {
5
        case "G. Pear":
6
            return 2;
7
        default:
8
            return 0;
9
    }
10
11
}