mirror of https://github.com/pret/pokecrystal.git
add '@' to EncodedText output
This commit is contained in:
parent
7b965e5d32
commit
c16d796c27
|
@ -1110,6 +1110,10 @@ class EncodedText:
|
||||||
end_address = offset + jump #we want the address before $57
|
end_address = offset + jump #we want the address before $57
|
||||||
|
|
||||||
text = parse_text_at2(offset, end_address-offset, debug=self.debug)
|
text = parse_text_at2(offset, end_address-offset, debug=self.debug)
|
||||||
|
|
||||||
|
if jump == jump50:
|
||||||
|
text += "@"
|
||||||
|
|
||||||
self.text = text
|
self.text = text
|
||||||
|
|
||||||
self.last_address = self.end_address = end_address
|
self.last_address = self.end_address = end_address
|
||||||
|
@ -1164,7 +1168,6 @@ class EncodedText:
|
||||||
commands = process_00_subcommands(address, address+count, debug=debug)
|
commands = process_00_subcommands(address, address+count, debug=debug)
|
||||||
for (line_id, line) in commands.items():
|
for (line_id, line) in commands.items():
|
||||||
output += parse_text_from_bytes(line, debug=debug, japanese=japanese)
|
output += parse_text_from_bytes(line, debug=debug, japanese=japanese)
|
||||||
output += "\n"
|
|
||||||
texts.append([address, output])
|
texts.append([address, output])
|
||||||
return output
|
return output
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue