From f43de05607d2e65bc20ea571b7ce5cfb61a300bd Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Mon, 14 May 2012 00:51:16 -0500 Subject: [PATCH] fix PointerLabelParams in signposts --- extras/crystal.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extras/crystal.py b/extras/crystal.py index 91a32e9c9..323e16356 100644 --- a/extras/crystal.py +++ b/extras/crystal.py @@ -3833,7 +3833,7 @@ class Signpost(Command): debug=self.debug) self.remotes.append(r1) - mb = PointerLabelParam(address=address, map_group=self.map_group, map_id=self.map_id, debug=self.debug) + mb = PointerLabelParam(address=self.address+3, map_group=self.map_group, map_id=self.map_id, debug=self.debug) self.params.append(mb) elif func == 7: #signpost's script pointer points to [Bit-Nr. (2byte)][Item no.] @@ -3851,7 +3851,7 @@ class Signpost(Command): debug=self.debug) self.remotes.append(r1) - mb = PointerLabelParam(address=address, map_group=self.map_group, map_id=self.map_id, debug=self.debug) + mb = PointerLabelParam(address=self.address+3, map_group=self.map_group, map_id=self.map_id, debug=self.debug) self.params.append(mb) #bit_table_byte1 = ord(rom[address]) @@ -3873,7 +3873,7 @@ class Signpost(Command): debug=self.debug) self.remotes.append(r1) - mb = PointerLabelParam(address=address, map_group=self.map_group, map_id=self.map_id, debug=self.debug) + mb = PointerLabelParam(address=self.address+3, map_group=self.map_group, map_id=self.map_id, debug=self.debug) self.params.append(mb) else: raise Exception, "unknown signpost type byte="+hex(func) + " signpost@"+hex(self.address)