ref: bd9ca785e060f9172e03f2767b8dbc639a580b52
parent: 63b7b8e783578afd8034e1bf56abe73f3e329ab4
author: IIMarckus <iimarckus@gmail.com>
date: Tue Dec 20 19:15:56 EST 2011
Add é and fix a typo when converting text. hg-commit-id: 2aaa737ef65a
--- a/pokered.asm
+++ b/pokered.asm
@@ -664,7 +664,7 @@
Char5EText:
db "ROCKET@"
Char54Text:
- db "POK",$BA,$50 ; POKé
+ db "POKé@"
Char56Text:
db $75,$75,$50 ; ……
Char5AText:
@@ -1243,12 +1243,12 @@
db "MASTER BALL@"
db "ULTRA BALL@"
db "GREAT BALL@"
- db "POK",$BA," BALL@"
+ db "POKé BALL@"
db "TOWN MAP@"
db "BICYCLE@"
db "?????@"
db "SAFARI BALL@"
- db "POK",$BA,"DEX@"
+ db "POKéDEX@"
db "MOON STONE@"
db "ANTIDOTE@"
db "BURN HEAL@"
@@ -1290,7 +1290,7 @@
db "CARD KEY@"
db "NUGGET@"
db "PP UP@"
- db "POK",$BA," DOLL@"
+ db "POKé DOLL@"
db "FULL HEAL@"
db "REVIVE@"
db "MAX REVIVE@"
@@ -1312,7 +1312,7 @@
db "OAK",$BD," PARCEL@"
db "ITEMFINDER@"
db "SILPH SCOPE@"
- db "POK",$BA," FLUTE@"
+ db "POKé FLUTE@"
db "LIFT KEY@"
db "EXP.ALL@"
db "OLD ROD@"
@@ -4808,7 +4808,7 @@
JrTrainerFName:
db "JR.TRAINER♀@"
PokemaniacName:
- db "POK",$BA,"MANIAC@"
+ db "POKéMANIAC@"
SuperNerdName:
db "SUPER NERD@"
BurglarName:
--- a/textpre.awk
+++ b/textpre.awk
@@ -62,6 +62,7 @@
char["x"] = "$B7"
char["y"] = "$B8"
char["z"] = "$B9"
+char["é"] = "$BA"
char["'"] = "$E0"
char["-"] = "$E3"
char["?"] = "$E6"
@@ -107,7 +108,7 @@
c = c substr(f,1,2)
f = substr(f,3,length(f) - 2)
} else if (c > "") { # U+0080
- c = c sustr(f,1,1)
+ c = c substr(f,1,1)
f = substr(f,2,length(f) - 1)
}
print char[c]