In Screamtracker 2, patterns >=numpat and <64 are always valid and treated as blank patterns. MikMod was preserving the out of bounds pattern values but not allocating a blank pattern for them, resulting in these patterns being skipped. Several STM modules use these blank patterns at the end of their order list, presumably to act as a break so the user can switch modules, or to let samples finish.
In Screamtracker 2, patterns >=numpat and <64 are always valid and treated as blank patterns. MikMod was preserving the out of bounds pattern values but not allocating a blank pattern for them, resulting in these patterns being skipped. Several STM modules use these blank patterns at the end of their order list, presumably to act as a break so the user can switch modules, or to let samples finish.
Fixes #9.