• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] Would anyone know how to upgrade this script to v18.1? Please

This is a script that changes the character's sprite depending on the Pokémon present in your team when using surf.

Spoiler:


How to upgrade v18.1?
 
Nothing fancy really. But you didn't post the whole code, the function pbUpdateVehicle is cut halfway.

Spoiler:
 
Nothing fancy really. But you didn't post the whole code, the function pbUpdateVehicle is cut halfway.

Spoiler:

This is a script from another version of essentials that was compatible, it changed a lot with essentials v18. Which currently looks like this:

Spoiler:


There is also an interaction in my Following Pokemon Ex scripts from Golisopod:
Spoiler:
 
Last edited:
Nothing fancy really. But you didn't post the whole code, the function pbUpdateVehicle is cut halfway.

Spoiler:

With that, would you be able to make it work?
 
With that, would you be able to make it work?

It could work, if you had given me the complete script. The function you gave me was truncated, it misses a part. I edited the script to v18.
 
It could work, if you had given me the complete script. The function you gave me was truncated, it misses a part. I edited the script to v18.

Spoiler:


The complete script is from an abandoned project that adapted the script from the topic:
https://www.pokecommunity.com/threads/354975

But anyway, I will test the solution that gave me <3 Thank you.
 
I decided to replace the change in
def pbUpdateVehicle in Game_Player
which is like this:
Spoiler:


Into:
Spoiler:


It worked at first, I managed to surf in a blastoise that I created, but an error came:

https://imgur.com/oG3Gk0D

Upon returning to the land area, my character did not update his sprite ... Solutions? I feel like it's close to working ...
 
Back
Top