mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Pokémon Red and Blue: Version 2 (#1282)
Adds Trainersanity option (Each non-scripted trainer has a location check, adding 317 locations) Adds Randomize Pokedex option. It is required to obtain items from Oak's Aides. Adds option to add all normal shop items to all normal shops. Adds DeathLink option. Adds traps. Improves Type Chart randomization. Items can be received during battle. Stores start inventory in ROM. Only requests remote start inventory if patch is from v1. Fixes logic bugs. Various other improvements.
This commit is contained in:
@@ -59,6 +59,15 @@ class PokemonLogic(LogicMixin):
|
||||
return len([item for item in ["Boulder Badge", "Cascade Badge", "Thunder Badge", "Rainbow Badge", "Marsh Badge",
|
||||
"Soul Badge", "Volcano Badge", "Earth Badge"] if self.has(item, player)]) >= count
|
||||
|
||||
def pokemon_rb_oaks_aide(self, count, player):
|
||||
if self.multiworld.randomize_pokedex[player].value > 0:
|
||||
if not self.has("Pokedex", player):
|
||||
return False
|
||||
else:
|
||||
if not self.has("Oak's Parcel", player):
|
||||
return False
|
||||
return self.pokemon_rb_has_pokemon(count, player)
|
||||
|
||||
def pokemon_rb_has_pokemon(self, count, player):
|
||||
obtained_pokemon = set()
|
||||
for pokemon in poke_data.pokemon_data.keys():
|
||||
|
||||
Reference in New Issue
Block a user