fix zzyyxx output for MoneyByteParam (checkmoney, takemoney)

original-commit-id: 2d763b53a6071b232794795c510363b280f45a89
This commit is contained in:
Bryan Bishop
2012-05-16 12:07:20 -05:00
parent 9ea58a8824
commit 30af3020f2

View File

@@ -1598,7 +1598,7 @@ class MoneyByteParam(MultiByteParam):
y = (value & 0x00FF00) >> 8
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):
size = 2