From 3c8b381489f074b2223359bd0d11ea8644a35dc7 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Thu, 26 Apr 2012 14:30:30 -0500 Subject: revert PeopleEvent to use better-looking asm output --- extras/crystal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/crystal.py b/extras/crystal.py index b7c59439a..855547f9b 100644 --- a/extras/crystal.py +++ b/extras/crystal.py @@ -2343,7 +2343,7 @@ class PeopleEvent(Command): 10: {"name": "BitTable1 bit number", "class": MultiByteParam}, } - def to_asm(self): + def xto_asm(self): output = "\n; person-event\n; picture, y, x, facing, movement, clock_hour, clock_daytime, color_function, sight_range\n" output += "db $%.2x, %d, %d, $%.2x, $%.2x, %d, %d, $%.2x, %d\n" % (self.params[0].byte, self.params[1].byte, self.params[2].byte, self.params[3].byte, self.params[4].byte, self.params[5].byte, self.params[6].byte, self.params[7].byte, self.params[8].byte) output += "; pointer\ndw %s\n" % (self.params[9].to_asm()) -- cgit v1.2.3