shithub: pokecrystal

Download patch

ref: 2d763b53a6071b232794795c510363b280f45a89
parent: 7244cb256ee7a7c2fd3b56061dc4541bd5245734
author: Bryan Bishop <[email protected]>
date: Wed May 16 08:07:20 EDT 2012

fix zzyyxx output for MoneyByteParam (checkmoney, takemoney)

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -1598,7 +1598,7 @@
         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