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:
Alchav
2022-12-07 18:38:34 -05:00
committed by GitHub
parent 5273812039
commit e206c065bf
16 changed files with 1775 additions and 870 deletions

View File

@@ -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():