shithub: pokered

Download patch

ref: ba231fa07a3a638b54062814f8d24bfac15659c4
parent: 7c57cbda591f4bc749a516d02b4d3f8fd4a91cb3
author: IIMarckus <iimarckus@gmail.com>
date: Sat Dec 17 17:33:47 EST 2011

More text, and some new characters. Make $50 equal to "@".

hg-commit-id: 5a8e07fda917


--- a/pokered.asm
+++ b/pokered.asm
@@ -11082,9 +11082,19 @@
 INCBIN "baserom.gbc",$88000,$BE
 
 _AIBattleWithdrawText:
-	INCBIN "baserom.gbc",$880BE,$17
+	db 1
+	dw $D04A
+	db 0," with-",$4F,"drew @",1
+	dw $CFDA
+	db 0,"!",$58
 _AIBattleUseItemText:
-	INCBIN "baserom.gbc",$880D5,$1A
+	db 1
+	dw $D04A
+	db 0,$4F,"used @",1
+	dw $CD6D
+	db 0,$55,"on @",1
+	dw $CFDA
+	db 0,"!",$58
 
 INCBIN "baserom.gbc",$880EF,$2C0A
 
--- a/textpre.awk
+++ b/textpre.awk
@@ -1,6 +1,7 @@
 BEGIN {
 FS = "\""
 
+char["@"] = "$50"
 char[" "] = "$7F"
 char["A"] = "$80"
 char["B"] = "$81"
@@ -61,6 +62,7 @@
 char["y"] = "$B8"
 char["z"] = "$B9"
 char["'"] = "$E0"
+char["-"] = "$E3"
 char["?"] = "$E6"
 char["!"] = "$E7"
 char["."] = "$E8"