mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Created and implemented GameData::Species
This commit is contained in:
@@ -294,7 +294,7 @@ class HallOfFame_Scene
|
||||
overlay=@sprites["overlay"].bitmap
|
||||
overlay.clear
|
||||
pokename=pokemon.name
|
||||
speciesname=PBSpecies.getName(pokemon.species)
|
||||
speciesname=pokemon.speciesName
|
||||
if pokemon.male?
|
||||
speciesname+="♂"
|
||||
elsif pokemon.female?
|
||||
@@ -373,7 +373,7 @@ class HallOfFame_Scene
|
||||
if @battlerIndex<=@hallEntry.size
|
||||
# If it is a pokémon, write the pokémon text, wait the
|
||||
# ENTRYWAITTIME and goes to the next battler
|
||||
pbPlayCry(@hallEntry[@battlerIndex-1])
|
||||
GameData::Species.play_cry_from_pokemon(@hallEntry[@battlerIndex - 1])
|
||||
writePokemonData(@hallEntry[@battlerIndex-1])
|
||||
(ENTRYWAITTIME*Graphics.frame_rate/20).times do
|
||||
Graphics.update
|
||||
@@ -428,7 +428,7 @@ class HallOfFame_Scene
|
||||
createBattlers(false)
|
||||
end
|
||||
# Change the pokemon
|
||||
pbPlayCry(@hallEntry[@battlerIndex])
|
||||
GameData::Species.play_cry_from_pokemon(@hallEntry[@battlerIndex])
|
||||
setPokemonSpritesOpacity(@battlerIndex,OPACITY)
|
||||
hallNumber=$PokemonGlobal.hallOfFameLastNumber + @hallIndex -
|
||||
$PokemonGlobal.hallOfFame.size + 1
|
||||
|
||||
Reference in New Issue
Block a user