You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
use $byte not 0xbyte
This commit is contained in:
@@ -2160,7 +2160,7 @@ class SingleByteParam():
|
|||||||
if not self.should_be_decimal: return hex(self.byte).replace("0x", "$")
|
if not self.should_be_decimal: return hex(self.byte).replace("0x", "$")
|
||||||
else: return str(self.byte)
|
else: return str(self.byte)
|
||||||
class HexByte(SingleByteParam):
|
class HexByte(SingleByteParam):
|
||||||
def to_asm(self): return hex(self.byte)
|
def to_asm(self): return "$%.2x" % (self.byte)
|
||||||
class DollarSignByte(SingleByteParam):
|
class DollarSignByte(SingleByteParam):
|
||||||
#def to_asm(self): return "$%.2x"%self.byte
|
#def to_asm(self): return "$%.2x"%self.byte
|
||||||
def to_asm(self): return hex(self.byte).replace("0x", "$")
|
def to_asm(self): return hex(self.byte).replace("0x", "$")
|
||||||
|
Reference in New Issue
Block a user