mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
quick fix for PokedexText
This commit is contained in:
parent
0c778f2930
commit
1663472cf6
@ -2324,6 +2324,10 @@ class MainText(TextCommand):
|
|||||||
def parse(self):
|
def parse(self):
|
||||||
offset = self.address
|
offset = self.address
|
||||||
|
|
||||||
|
# the code below assumes we're jumping past a $0 byte
|
||||||
|
if use_zero == False:
|
||||||
|
offset = offset - 1
|
||||||
|
|
||||||
# read until $50, $57 or $58 (not sure about $58...)
|
# read until $50, $57 or $58 (not sure about $58...)
|
||||||
jump57 = how_many_until(chr(0x57), offset)
|
jump57 = how_many_until(chr(0x57), offset)
|
||||||
jump50 = how_many_until(chr(0x50), offset)
|
jump50 = how_many_until(chr(0x50), offset)
|
||||||
|
Loading…
Reference in New Issue
Block a user