Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_determine_item_purchasable

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

function scr_determine_item_purchasable() //gml_Script_scr_determine_item_purchasable { switch argument[0] { case "Adult Soda": case "Wild Revolver": return false; default: return true; } }
() //gml_Script_scr_determine_item_purchasable
2
{
3
    switch argument[0]
4
    {
5
        case "Adult Soda":
6
        case "Wild Revolver":
7
            return false;
8
        default:
9
            return true;
10
    }
11
12
}