porygon.py: Fix horizontal flip issue.

current
Kiyoshi Aman 2017-12-08 13:40:34 -06:00
parent 63ce12e02b
commit 67db6a92b9
1 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,8 @@ def linear1(tile):
data.append(byte)
data.reverse()
return bytes(data)
def linear2(tile):
@ -51,6 +53,8 @@ def linear2(tile):
data.extend((bp1, bp2))
data.reverse()
return bytes(data)
def planar2(tile):
@ -72,6 +76,8 @@ def planar2(tile):
data.append(byte)
data.reverse()
return bytes(data)
# Add new formats to this dict as they are implemented.