//list items in a varialble ["ItemType","ID","CustomPrice","CustomPriceValue"]
var goods = [
[ 0, 12, 1, 400 ],//potion
[ 2, 30, 1, 800 ]//superpotion
]
//then i use scenemanager to list the goods inside the shop
SceneManager.push(Scene_Shop);
SceneManager.prepareNextScene(goods, false);
boughtItem("ItemType","ID","CustomPrice","CustomPriceValue")
soldItem("ItemType","ID","CustomPrice","CustomPriceValue")