Yes, it is completely possible and simple. This script:i want to see the pokemon that is surfing, like if i surf with gyarados i want, instead of the default fish/whale i want to see the gyarados sprite, it is possible??
def pbGetPlayerCharset(charset, trainer = nil, force = false)
trainer = $player if !trainer
outfit = (trainer) ? trainer.outfit : 0
return nil if !force && $game_player&.charsetData &&
$game_player.charsetData[0] == trainer.character_ID &&
$game_player.charsetData[1] == charset &&
$game_player.charsetData[2] == outfit
$game_player.charsetData = [trainer.character_ID, charset, outfit] if $game_player
ret = charset
if pbResolveBitmap("Graphics/Characters/" + ret + "_" + outfit.to_s)
ret = ret + "_" + outfit.to_s
end
#---- Mount Sprite ----#
ret = getSurfSprite if $PokemonGlobal&.surfing
return ret
end
thank you but i have two questionsYes, it is completely possible and simple. This script:
Ruby:def pbGetPlayerCharset(charset, trainer = nil, force = false) trainer = $player if !trainer outfit = (trainer) ? trainer.outfit : 0 return nil if !force && $game_player&.charsetData && $game_player.charsetData[0] == trainer.character_ID && $game_player.charsetData[1] == charset && $game_player.charsetData[2] == outfit $game_player.charsetData = [trainer.character_ID, charset, outfit] if $game_player ret = charset if pbResolveBitmap("Graphics/Characters/" + ret + "_" + outfit.to_s) ret = ret + "_" + outfit.to_s end #---- Mount Sprite ----# ret = getSurfSprite if $PokemonGlobal&.surfing return ret end
Now you just need to define which sprites the game will initially recognize in a new getSurfSprite method
Hello again! def pbGetPlayerCharset is a method that exists in your default Pokémon Essentials, so you should just add this line to it:thank you but i have two questions
1)Where i put this script
2)What i have to do (In easy terms) with getSurfSprite
ret = getSurfSprite if $PokemonGlobal&.surfing
def getSurfSprite
finder = $player.get_pokemon_with_compatible_move(:SURF)
return if !finder
surf = finder.species
player_id = $player.character_ID
path = "Graphics/Characters/Surf/"
ret = "boy_surf" if $player.character_ID == 1
ret = "girl_surf" if $player.character_ID == 2
ret = "#{player_id}_#{surf}" if pbResolveBitmap(path + "#{player_id}_#{surf}")
ret = "Surf/" + ret
return ret
end