shithub: cstory

Download patch

ref: b6ed1dd9b1a511a1cd1e182a0b47d1c092080c26
parent: aa08331c36a4f40ebb81040abc5f1db8870c750d
author: Clownacy <Clownacy@users.noreply.github.com>
date: Thu Feb 7 10:14:40 EST 2019

Added NUM TSC command

Now missile upgrades work

--- a/src/TextScr.cpp
+++ b/src/TextScr.cpp
@@ -1198,6 +1198,12 @@
 						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;
--