diff options
author | Bryan Bishop <kanzure@gmail.com> | 2015-03-12 12:03:17 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2015-03-12 12:03:17 -0500 |
commit | 46492bd9075313a52622cc585fe7b2ca404cbdcd (patch) | |
tree | a85173de577ad9511728a13d25f8d2e39d3b2b18 /pokemontools/crystal.py | |
parent | 2c2ceb74567664379cebfb121e0db929718a4ba2 (diff) | |
parent | 8d86abe8823acc8c44780ae15646ebb7f719c5ec (diff) |
Merge pull request #86 from yenatch/master
Refactor the LZ tools and fix BSSReader's eval shenanigans.
Diffstat (limited to 'pokemontools/crystal.py')
-rw-r--r-- | pokemontools/crystal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemontools/crystal.py b/pokemontools/crystal.py index 9d0fa5b..610f4f7 100644 --- a/pokemontools/crystal.py +++ b/pokemontools/crystal.py @@ -913,7 +913,7 @@ class PointerLabelParam(MultiByteParam): lo, hi = self.bytes[1:3] else: lo, hi = self.bytes[0:2] - pointer_part = "{0}{1:2x}{2:2x}".format(self.prefix, hi, lo) + pointer_part = "{0}{1:02x}{2:02x}".format(self.prefix, hi, lo) # bank positioning matters! if bank == True or bank == "reverse": # bank, pointer |