From 11442b84eb9e573dd19b2176bf9f51a53e51a5a1 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Mon, 14 May 2012 00:51:16 -0500 Subject: fix PointerLabelParams in signposts original-commit-id: f43de05607d2e65bc20ea571b7ce5cfb61a300bd --- crystal.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crystal.py b/crystal.py index 91a32e9..323e163 100644 --- a/crystal.py +++ b/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) -- cgit v1.2.3