• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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.

Pokémon reappear after fainting

Tigerfang98

Elite 4
  • 44
    Posts
    12
    Years
    • Seen Aug 28, 2017
    I'm using the latest version of essentials and i have a little problem: in battles where the opponent has multiple pokemon, after making the opponent faint, the opponent falls through the stage (like it should) and then reappears behind the player's health bar. How do I fix this?

    Thanks!
     
    This actually happens a lot even in v13 , i personally just made the health-bar longer win length to make it look like nothing is there
     
    Yes, but if you switch pokemon, the bar goes away and you get a glimpse of it...
     
    For the sprite of the fainted pokémon, just go in PokeBattle_ActualScene, and search for the line break if pkmnsprite.y>=ycoord (I can't say the line number, since I've made changes in my scripts). Just add after ycoord (at the end) "+128" so the sprite will go below the screen limit. You can try other numbers if you want, I put 128 but we may need less (just think about sprite size, big pokémon (like legendaries) can be bigger than the other sprites, so test with a legendary battle (menu debug -> test wild battle -> select a big pokémon)).
    yeeeeeaaaaahhhh
    The message you have entered is too short. Please lengthen your message to at least 25 characters.
    If 128 not enough take +400
     
    Can I just check whether this happens in the base Essentials, or whether you've been adding stuff in to allow animated Pokémon and this visual error only occurs once you've done so?
     
    Yup with animation sprites this does occur , but it is a simple fix.
    I personally like the 3D animated sprites but it takes up at least 200+Mbs for all pokemon. But it runs very smooth in game.
     
    I confirm that happens only with animated battlers. But if you want to fix that in vanilla Essential Maruno, you can just increase the number we modified :)

    I may try to find where to add the update functions too, in order to fix the gifs not animating in the battles at some moments (currently I just put the function everywhere, which creates some visual glitches).
     
    I confirm that happens only with animated battlers. But if you want to fix that in vanilla Essential Maruno, you can just increase the number we modified :)

    I may try to find where to add the update functions too, in order to fix the gifs not animating in the battles at some moments (currently I just put the function everywhere, which creates some visual glitches).

    You can have the update function itself check whether or not each pokemon is fainted before updating them couldn't you?
     
    Back
    Top