Added NUM TSC command

Now missile upgrades work
This commit is contained in:
Clownacy 2019-02-07 15:14:40 +00:00
parent aa08331c36
commit b6ed1dd9b1

View file

@ -1198,6 +1198,12 @@ int TextScriptProc()
gTS.item_y = WINDOW_HEIGHT - 112;
gTS.p_read += 8;
}
else if (IS_COMMAND('N','U','M'))
{
z = GetTextScriptNo(gTS.p_read + 4);
SetNumberTextScript(z);
gTS.p_read += 8;
}
else if (IS_COMMAND('E','S','C'))
{
return 2;