mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Added methods Pokemon.play_cry and pkkmn.play_cry
This commit is contained in:
@@ -377,7 +377,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
|
||||
GameData::Species.play_cry_from_pokemon(@hallEntry[@battlerIndex - 1])
|
||||
@hallEntry[@battlerIndex - 1].play_cry
|
||||
writePokemonData(@hallEntry[@battlerIndex-1])
|
||||
(ENTRYWAITTIME*Graphics.frame_rate/20).times do
|
||||
Graphics.update
|
||||
@@ -432,7 +432,7 @@ class HallOfFame_Scene
|
||||
createBattlers(false)
|
||||
end
|
||||
# Change the pokemon
|
||||
GameData::Species.play_cry_from_pokemon(@hallEntry[@battlerIndex])
|
||||
@hallEntry[@battlerIndex].play_cry
|
||||
setPokemonSpritesOpacity(@battlerIndex,OPACITY)
|
||||
hallNumber=$PokemonGlobal.hallOfFameLastNumber + @hallIndex -
|
||||
$PokemonGlobal.hallOfFame.size + 1
|
||||
|
||||
Reference in New Issue
Block a user