shithub: pokered

Download patch

ref: 51cb5bca9791606385b1e1254fc180a342f91819
parent: 331611812501d78d05113646bbb302b3dbd00f55
author: Bryan Bishop <kanzure@gmail.com>
date: Tue Feb 14 07:01:49 EST 2012

fix syntax errors in main.asm

hg-commit-id: 8bd80db848b4


--- a/main.asm
+++ b/main.asm
@@ -73492,7 +73492,7 @@
 	db $0, "The 2nd electric", $4f
 	db "lock opened!", $51
 	db "The motorized door", $4f
-	db "opened!@@
+	db "opened!@@"
 ; 0x89451 + 59 bytes = 0x8948c
 
 UnnamedText_8948c: ; 0x8948c
@@ -73827,7 +73827,7 @@
 
 UnnamedText_89a56: ; 0x89a56
 	db $0, "instead,", $55
-	db "@@
+	db "@@"
 ; 0x89a56 + 12 bytes = 0x89a62
 
 UnnamedText_89a62: ; 0x89a62
--- a/textpre.awk
+++ b/textpre.awk
@@ -163,6 +163,9 @@
 char["└"] = "$7D"
 char["┘"] = "$7E"
 
+char["{"] = ""
+char["}"] = ""
+
 char["№"] = "$74"
 
 char[" "] = "$7F"
@@ -297,7 +300,7 @@
 
 		print char[c]
 		if (length(f))
-			print ","
+			print ", "
 	}
 }