| 2405 | } |
| 2406 | |
| 2407 | void S_ConfirmEnter() |
| 2408 | { |
| 2409 | if (stextsel == 18) { |
| 2410 | switch (stextshold) { |
| 2411 | case STORE_SBUY: |
| 2412 | SmithBuyItem(); |
| 2413 | break; |
| 2414 | case STORE_SSELL: |
| 2415 | case STORE_WSELL: |
| 2416 | StoreSellItem(); |
| 2417 | break; |
| 2418 | case STORE_SREPAIR: |
| 2419 | SmithRepairItem(); |
| 2420 | break; |
| 2421 | case STORE_WBUY: |
| 2422 | WitchBuyItem(); |
| 2423 | break; |
| 2424 | case STORE_WRECHARGE: |
| 2425 | WitchRechargeItem(); |
| 2426 | break; |
| 2427 | case STORE_BBOY: |
| 2428 | BoyBuyItem(); |
| 2429 | break; |
| 2430 | case STORE_HBUY: |
| 2431 | HealerBuyItem(); |
| 2432 | break; |
| 2433 | case STORE_SIDENTIFY: |
| 2434 | StoryIdItem(); |
| 2435 | StartStore(STORE_IDSHOW); |
| 2436 | return; |
| 2437 | case STORE_SPBUY: |
| 2438 | SmithBuyPItem(); |
| 2439 | break; |
| 2440 | } |
| 2441 | StartStore(stextshold); |
| 2442 | } else { |
| 2443 | StartStore(stextshold); |
| 2444 | stextsel = stextlhold; |
| 2445 | stextsval = stextvhold; |
| 2446 | } |
| 2447 | } |
| 2448 | |
| 2449 | void S_HealerEnter() |
| 2450 | { |
no test coverage detected