if (global.gold >= argument0) afford = 1; else afford = 0;