Lines Matching refs:BANKACCOUNT
565 if (c[BANKACCOUNT] < 0)
566 c[BANKACCOUNT] = 0;
567 else if ((c[BANKACCOUNT] > 0) && (c[BANKACCOUNT] < 500000)) {
569 while ((i-- > 0) && (c[BANKACCOUNT] < 500000))
570 c[BANKACCOUNT] += c[BANKACCOUNT] / 250;
571 if (c[BANKACCOUNT] > 500000)
572 c[BANKACCOUNT] = 500000; /* interest limit */
609 lprintf("You have %8ld gold pieces in the bank.", (long) c[BANKACCOUNT]);
612 if (c[BANKACCOUNT] + c[GOLD] >= 500000)
642 c[BANKACCOUNT] += amt;
648 amt = readnum((long) c[BANKACCOUNT]);
653 } else if (amt > c[BANKACCOUNT]) {
658 c[BANKACCOUNT] -= amt;
697 lprintf("%8ld", (long) c[BANKACCOUNT]);