shithub: pokecrystal

Download patch

ref: c08a543620ff037578e099f6ad8808358c1951ed
parent: fafb53ebf94e1501bf285c0229fbd61cc3755f35
author: Bryan Bishop <[email protected]>
date: Sat May 19 22:50:21 EDT 2012

fix duplicate BENNY trainer name

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -3633,6 +3633,10 @@
             seed = trainer_group_names[self.trainer_group_id]["name"]+"_"+seed[-x:]
         elif self.trainer_group_id == 0x1f and "EXECUTIVE" in seed:
             seed = "GRUNT_"+seed
+        elif self.trainer_group_id == 0x2d and "BENNY" in seed.upper():
+            seed = "BIKER_BENNY"
+        elif self.trainer_group_id == 0x24 and "BENNY" in seed.upper():
+            seed = "BUG_CATCHER_BENNY"
 
         return string.capwords(seed).\
                replace("@", "").\