Registrarse

[DUDA] Script sanación seguimiento Pokemon

Estado
Cerrado para nuevas respuestas.
Hola, encontré por aquí un enlace a una página que indicaba un script para que te sigan los Pokemon. Era esta:
[Essentials script] Even More Fixes and Additions to Help-14's Following Pokemon Script - The PokéCommunity Forums

Pues bien el tema es que conseguí que me siguiesen los Pokemon y todo perfecto, pero ahi una parte que no lo consigo por mucho que lo intento y es esta.

Whenever there is a Pokemon healing event, put

$PokemonTemp.dependentEvents.remove_sprite(true)

to remove the follower, and

$PokemonTemp.dependentEvents.refresh_sprite

to put the sprite back. The first script should be called when Nurse Joy/Healer takes your Pokemon, and the second one should be called when the Pokemon are given back. Make sure to put these in conditional branches in the event so they only run when $game_switches[Toggle_Following_Switch]==true. Otherwise the animations will play and the script will get confused and the toggle will be reversed until it is pressed a few times.


Como veis es para el tema de que desaparezca el pokemon cuando se los entrego a la enfermera. Me podríais decir como se colocarían esos códigos?.

Saludos y gracias.
 

KleinStudio

Un plato es un plato
Miembro del equipo
Webmaster
En los eventos tienes una función que se llama "Llamar script" que es el que debes usar para poner
Código:
$PokemonTemp.dependentEvents.remove_sprite(true)
 
Estado
Cerrado para nuevas respuestas.
Arriba