| 2058 | } |
| 2059 | |
| 2060 | void S_SSellEnter() |
| 2061 | { |
| 2062 | int idx; |
| 2063 | |
| 2064 | if (stextsel == 22) { |
| 2065 | StartStore(STORE_SMITH); |
| 2066 | stextsel = 16; |
| 2067 | } else { |
| 2068 | stextlhold = stextsel; |
| 2069 | idx = stextsval + ((stextsel - stextup) >> 2); |
| 2070 | stextshold = STORE_SSELL; |
| 2071 | stextvhold = stextsval; |
| 2072 | plr[myplr].HoldItem = storehold[idx]; |
| 2073 | |
| 2074 | if (StoreGoldFit(idx)) |
| 2075 | StartStore(STORE_CONFIRM); |
| 2076 | else |
| 2077 | StartStore(STORE_NOROOM); |
| 2078 | } |
| 2079 | } |
| 2080 | |
| 2081 | void SmithRepairItem() |
| 2082 | { |
no test coverage detected