mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
make TrainerFragment.to_asm() use trainer constants
This commit is contained in:
parent
e44de6eedf
commit
609e94774c
@ -3436,7 +3436,7 @@ class TrainerFragment(Command):
|
||||
output += xspacing + "; bit/flag number\n"
|
||||
output += xspacing + "dw $%.2x"%(self.params[0].parsed_number)
|
||||
output += "\n\n"+xspacing+"; trainer group && trainer id\n"
|
||||
output += xspacing + "db %d, %d" % (self.params[1].byte, self.params[2].byte)
|
||||
output += xspacing + "db %s, %s" % (self.params[1].to_asm(), self.params[2].to_asm())
|
||||
output += "\n\n"+xspacing+"; text when seen\n"
|
||||
output += xspacing + "dw " + self.params[3].to_asm()
|
||||
output += "\n\n"+xspacing+"; text when trainer beaten\n"
|
||||
|
Loading…
Reference in New Issue
Block a user