mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
[Pokemon R/B] Allow 0 exp setting and add logic rule to Cinnabar Gym to ensure higher level Pokémon are catchable
This commit is contained in:
@@ -80,3 +80,8 @@ class PokemonLogic(LogicMixin):
|
||||
return (self.can_reach('Mt Moon 1F - Southwest Item', 'Location', player) and
|
||||
self.can_reach('Cinnabar Island - Lab Scientist', 'Location', player) and len(
|
||||
[item for item in ["Dome Fossil", "Helix Fossil", "Old Amber"] if self.has(item, player)]) >= count)
|
||||
|
||||
def pokemon_rb_cinnabar_gym(self, player):
|
||||
# ensures higher level Pokémon are obtainable before Cinnabar Gym is in logic
|
||||
return ((not self.multiworld.extra_key_items[player]) or self.has("Mansion Key", player)
|
||||
or self.has("Oak's Parcel", player) or self.pokemon_rb_can_surf(player))
|
Reference in New Issue
Block a user