| 2248 | } |
| 2249 | |
| 2250 | void S_WRechargeEnter() |
| 2251 | { |
| 2252 | int idx; |
| 2253 | |
| 2254 | if (stextsel == 22) { |
| 2255 | StartStore(STORE_WITCH); |
| 2256 | stextsel = 18; |
| 2257 | } else { |
| 2258 | stextshold = STORE_WRECHARGE; |
| 2259 | stextlhold = stextsel; |
| 2260 | stextvhold = stextsval; |
| 2261 | idx = stextsval + ((stextsel - stextup) >> 2); |
| 2262 | plr[myplr].HoldItem = storehold[idx]; |
| 2263 | if (plr[myplr]._pGold < storehold[idx]._iIvalue) |
| 2264 | StartStore(STORE_NOMONEY); |
| 2265 | else |
| 2266 | StartStore(STORE_CONFIRM); |
| 2267 | } |
| 2268 | } |
| 2269 | |
| 2270 | void S_BoyEnter() |
| 2271 | { |
no test coverage detected