| 1110 | } |
| 1111 | |
| 1112 | void S_StartBBoy() |
| 1113 | { |
| 1114 | int iclr; |
| 1115 | |
| 1116 | stextsize = 1; |
| 1117 | stextscrl = FALSE; |
| 1118 | sprintf(tempstr, "I have this item for sale : Your gold : %i", plr[myplr]._pGold); |
| 1119 | AddSText(0, 1, 1, tempstr, COL_GOLD, 0); |
| 1120 | AddSLine(3); |
| 1121 | AddSLine(21); |
| 1122 | iclr = COL_WHITE; |
| 1123 | |
| 1124 | if (boyitem._iMagical != ITEM_QUALITY_NORMAL) |
| 1125 | iclr = COL_BLUE; |
| 1126 | if (!boyitem._iStatFlag) |
| 1127 | iclr = COL_RED; |
| 1128 | if (boyitem._iMagical != ITEM_QUALITY_NORMAL) |
| 1129 | AddSText(20, 10, 0, boyitem._iIName, iclr, 1); |
| 1130 | else |
| 1131 | AddSText(20, 10, 0, boyitem._iName, iclr, 1); |
| 1132 | |
| 1133 | AddSTextVal(10, boyitem._iIvalue + (boyitem._iIvalue >> 1)); |
| 1134 | PrintStoreItem(&boyitem, 11, iclr); |
| 1135 | AddSText(0, 22, 1, "Leave", COL_WHITE, 1); |
| 1136 | OffsetSTextY(22, 6); |
| 1137 | } |
| 1138 | |
| 1139 | void S_StartHealer() |
| 1140 | { |
no test coverage detected