mirror of https://github.com/pret/pokecrystal.git
fix zzyyxx output for MoneyByteParam (checkmoney, takemoney)
This commit is contained in:
parent
7244cb256e
commit
2d763b53a6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue