mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
fix RAMAddressParam.to_asm() (no [] characters)
This commit is contained in:
parent
d319aea119
commit
9672e960ee
@ -1399,8 +1399,8 @@ class RAMAddressParam(MultiByteParam):
|
||||
def to_asm(self):
|
||||
address = calculate_pointer_from_bytes_at(self.address, bank=False)
|
||||
label = get_ram_label(address)
|
||||
if label: return "["+label+"]"
|
||||
else: return "[$"+"".join(["%.2x"%x for x in self.bytes])+"]"
|
||||
if label: return label
|
||||
else: return "$"+"".join(["%.2x"%x for x in self.bytes])+""
|
||||
|
||||
|
||||
class MoneyByteParam(MultiByteParam):
|
||||
|
Loading…
Reference in New Issue
Block a user