From b35201e3187660c65cb6c47ae086cecf683f377d Mon Sep 17 00:00:00 2001 From: mekolat Date: Sat, 2 May 2015 17:02:28 -0400 Subject: npc -1 => 32767 --- tmx_converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmx_converter.py b/tmx_converter.py index 121264e..676a2fe 100755 --- a/tmx_converter.py +++ b/tmx_converter.py @@ -296,7 +296,7 @@ class ContentHandler(xml.sax.ContentHandler): self.state = State.FINAL def endDocument(self): - self.mobs.write('\n\n%s,0,0,0|script|Mob%s|-1\n{\n end;\n' % (self.base, self.base)) + self.mobs.write('\n\n%s,0,0,0|script|Mob%s|32767\n{\n end;\n' % (self.base, self.base)) for mob_id in sorted(self.mob_ids): self.mobs.write('\nOn%d:\n set @mobID, %d;\n callfunc "MobPoints";\n end;\n' % (mob_id, mob_id)) self.mobs.write('}\n') -- cgit v1.2.3-70-g09d2