| 1624 | } |
| 1625 | |
| 1626 | void STextUp() |
| 1627 | { |
| 1628 | PlaySFX(IS_TITLEMOV); |
| 1629 | if (stextsel == -1) { |
| 1630 | return; |
| 1631 | } |
| 1632 | |
| 1633 | if (stextscrl) { |
| 1634 | if (stextsel == stextup) { |
| 1635 | if (stextsval) |
| 1636 | stextsval--; |
| 1637 | return; |
| 1638 | } |
| 1639 | |
| 1640 | stextsel--; |
| 1641 | while (!stext[stextsel]._ssel) { |
| 1642 | if (!stextsel) |
| 1643 | stextsel = 23; |
| 1644 | else |
| 1645 | stextsel--; |
| 1646 | } |
| 1647 | return; |
| 1648 | } |
| 1649 | |
| 1650 | if (!stextsel) |
| 1651 | stextsel = 23; |
| 1652 | else |
| 1653 | stextsel--; |
| 1654 | |
| 1655 | while (!stext[stextsel]._ssel) { |
| 1656 | if (!stextsel) |
| 1657 | stextsel = 23; |
| 1658 | else |
| 1659 | stextsel--; |
| 1660 | } |
| 1661 | } |
| 1662 | |
| 1663 | void STextDown() |
| 1664 | { |
no test coverage detected