Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_item_stats_weapon

(view raw script w/o annotations or w/e)
1
function 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; } }
(argument0) //gml_Script_scr_item_stats_weapon
2
{
3
    switch argument0
4
    {
5
        case "Toy Knife":
6
            return 3;
7
        case "Toy Gun":
8
        case "Wild Revolver":
9
            return 0;
10
        default:
11
            return 0;
12
    }
13
14
}