mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
reverse byte output in RAMAddressParam.to_asm()
This commit is contained in:
parent
09a0e3aa85
commit
14a35baa3f
@ -1400,7 +1400,7 @@ class RAMAddressParam(MultiByteParam):
|
|||||||
address = calculate_pointer_from_bytes_at(self.address, bank=False)
|
address = calculate_pointer_from_bytes_at(self.address, bank=False)
|
||||||
label = get_ram_label(address)
|
label = get_ram_label(address)
|
||||||
if label: return label
|
if label: return label
|
||||||
else: return "$"+"".join(["%.2x"%x for x in self.bytes])+""
|
else: return "$"+"".join(["%.2x"%x for x in reversed(self.bytes)])+""
|
||||||
|
|
||||||
|
|
||||||
class MoneyByteParam(MultiByteParam):
|
class MoneyByteParam(MultiByteParam):
|
||||||
|
Loading…
Reference in New Issue
Block a user