fix zzyyxx output for MoneyByteParam (checkmoney, takemoney)

This commit is contained in:
Bryan Bishop 2012-05-16 12:07:20 -05:00
parent 7244cb256e
commit 2d763b53a6
1 changed files with 1 additions and 1 deletions

View File

@ -1598,7 +1598,7 @@ class MoneyByteParam(MultiByteParam):
y = (value & 0x00FF00) >> 8 y = (value & 0x00FF00) >> 8
z = (value & 0xFF0000) >> 16 z = (value & 0xFF0000) >> 16
return str(x) + "\ndb "+str(y)+"\ndb "+str(z) return str(z) + "\ndb "+str(y)+"\ndb "+str(x)
class CoinByteParam(MultiByteParam): class CoinByteParam(MultiByteParam):
size = 2 size = 2