Pokemon Emerald: Switch to rule builder (#5923)

This commit is contained in:
Bryce Wilson
2026-05-09 07:58:01 -07:00
committed by GitHub
parent 4a28888a66
commit 06dc1b897c
5 changed files with 469 additions and 1466 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ def set_legendary_cave_entrances(world: "PokemonEmeraldWorld") -> None:
terra_cave_location_location = world.multiworld.get_location("TERRA_CAVE_LOCATION", world.player)
terra_cave_location_location.item = None
terra_cave_location_location.place_locked_item(world.create_event(terra_cave_location_name))
marine_cave_location_name = world.random.choice([
"MARINE_CAVE_ROUTE_105_1",
"MARINE_CAVE_ROUTE_105_2",
+1 -1
View File
@@ -594,7 +594,7 @@ class NormalizeEncounterRates(Toggle):
Make every slot on an encounter table approximately equally likely.
This does NOT mean each species is equally likely. In the vanilla game, each species may occupy more than one slot, and slots vary in probability.
Species will still occupy the same slots as vanilla, but the slots will be equally weighted. The minimum encounter rate will be 8% (higher in water).
"""
display_name = "Normalize Encounter Rates"
+2 -2
View File
@@ -502,7 +502,7 @@ def randomize_learnsets(world: "PokemonEmeraldWorld") -> None:
species.learnset = new_learnset
def randomize_starters(world: "PokemonEmeraldWorld") -> None:
if world.options.starters == RandomizeStarters.option_vanilla:
return
@@ -682,7 +682,7 @@ def randomize_misc_pokemon(world: "PokemonEmeraldWorld") -> None:
]
if should_match_bst:
candidates = filter_species_by_nearby_bst(candidates, sum(original_species.base_stats))
player_filtered_candidates = [
species
for species in candidates
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -100,7 +100,7 @@ def get_encounter_type_label(encounter_type: EncounterType, slot: int) -> str:
8: "Super Rod",
9: "Super Rod",
}[slot]
return {
EncounterType.LAND: 'Land',
EncounterType.WATER: 'Water',