Pokemon Emerald: Fix opponents learning non-randomized TMs (#3025)
This commit is contained in:
@@ -569,14 +569,6 @@ class PokemonEmeraldWorld(World):
|
||||
self.modified_misc_pokemon = copy.deepcopy(emerald_data.misc_pokemon)
|
||||
self.modified_starters = copy.deepcopy(emerald_data.starters)
|
||||
|
||||
randomize_abilities(self)
|
||||
randomize_learnsets(self)
|
||||
randomize_tm_hm_compatibility(self)
|
||||
randomize_legendary_encounters(self)
|
||||
randomize_misc_pokemon(self)
|
||||
randomize_opponent_parties(self)
|
||||
randomize_starters(self)
|
||||
|
||||
# Modify catch rate
|
||||
min_catch_rate = min(self.options.min_catch_rate.value, 255)
|
||||
for species in self.modified_species.values():
|
||||
@@ -591,6 +583,14 @@ class PokemonEmeraldWorld(World):
|
||||
new_moves.add(new_move)
|
||||
self.modified_tmhm_moves[i] = new_move
|
||||
|
||||
randomize_abilities(self)
|
||||
randomize_learnsets(self)
|
||||
randomize_tm_hm_compatibility(self)
|
||||
randomize_legendary_encounters(self)
|
||||
randomize_misc_pokemon(self)
|
||||
randomize_opponent_parties(self)
|
||||
randomize_starters(self)
|
||||
|
||||
create_patch(self, output_directory)
|
||||
|
||||
del self.modified_trainers
|
||||
|
||||
Reference in New Issue
Block a user