From b6ed1dd9b1a511a1cd1e182a0b47d1c092080c26 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Thu, 7 Feb 2019 15:14:40 +0000 Subject: [PATCH] Added NUM TSC command Now missile upgrades work --- src/TextScr.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/TextScr.cpp b/src/TextScr.cpp index 09eba4ba..434f276f 100644 --- a/src/TextScr.cpp +++ b/src/TextScr.cpp @@ -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;