0以下にならない方法は if 0>A then a=0 ポイントで買うのは d=buttion () if C(所持金)<B(値段) and d and16 then C=C-B でAボタンで購入