diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-05-23 17:39:30 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-05-23 17:39:30 -0500 |
commit | 8021dbee599a58c8c12d93f8238906cbf244ea01 (patch) | |
tree | 0282079cb69b5bee8908adbf6ad3ee4c892cb99d /crystal.py | |
parent | 8d7df87373b224ac8ceb874902960949686f209e (diff) |
quick fix for PokedexText
original-commit-id: 1663472cf61e999168c2ba2a4b5f55de56c95c91
Diffstat (limited to 'crystal.py')
-rw-r--r-- | crystal.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2324,6 +2324,10 @@ class MainText(TextCommand): def parse(self): 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...) jump57 = how_many_until(chr(0x57), offset) jump50 = how_many_until(chr(0x50), offset) |