vermillion city fan club random pokemon

This commit is contained in:
infinitefusion
2022-05-04 17:56:48 -04:00
parent 0d2105d9bf
commit 75b1294d74
21 changed files with 9 additions and 9 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -95,11 +95,11 @@ class Scene_Map
$game_player.straighten
$game_map.update
disposeSpritesets
#disposeSpritesets
if RPG::Cache.need_clearing
RPG::Cache.clear
end
createSpritesets
#createSpritesets
if $game_temp.transition_processing
$game_temp.transition_processing = false
Graphics.transition(20)

View File

@@ -186,12 +186,12 @@ def generateRandomFusionFromPokemon(dexNum, onlyCustomSprites = false, allowLege
return speciesList.sample
end
def getRandomBasePokemon(includeLegendaries = false)
def getRandomBasePokemon(includeLegendaries = false,maxNb=NB_POKEMON)
legendaries =listLegendaryPokemonIds()
poke = rand(NB_POKEMON + 1)
poke = rand(maxNb + 1)
return poke if includeLegendaries
while legendaries.include?(poke)
poke = rand(NB_POKEMON + 1)
poke = rand(maxNb + 1)
end
return poke
end

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.