@@ -569,14 +569,6 @@ def generate_output(self, output_directory: str) -> None:
569
569
self .modified_misc_pokemon = copy .deepcopy (emerald_data .misc_pokemon )
570
570
self .modified_starters = copy .deepcopy (emerald_data .starters )
571
571
572
- randomize_abilities (self )
573
- randomize_learnsets (self )
574
- randomize_tm_hm_compatibility (self )
575
- randomize_legendary_encounters (self )
576
- randomize_misc_pokemon (self )
577
- randomize_opponent_parties (self )
578
- randomize_starters (self )
579
-
580
572
# Modify catch rate
581
573
min_catch_rate = min (self .options .min_catch_rate .value , 255 )
582
574
for species in self .modified_species .values ():
@@ -591,6 +583,14 @@ def generate_output(self, output_directory: str) -> None:
591
583
new_moves .add (new_move )
592
584
self .modified_tmhm_moves [i ] = new_move
593
585
586
+ randomize_abilities (self )
587
+ randomize_learnsets (self )
588
+ randomize_tm_hm_compatibility (self )
589
+ randomize_legendary_encounters (self )
590
+ randomize_misc_pokemon (self )
591
+ randomize_opponent_parties (self )
592
+ randomize_starters (self )
593
+
594
594
create_patch (self , output_directory )
595
595
596
596
del self .modified_trainers
0 commit comments