• 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.

Leech Seed Bugged?

  • 66
    Posts
    12
    Years
    • Seen Feb 9, 2017
    I just want to confirm that Leech Seed works as intended.
    In my game, when a Pokémon faints VIA Leech Seed, the battle doesn't end, until you attack once more and the message "but there was no target" appears then the battle ends.
    Does this happen on anyone elses?
     
    By any chance are you using animated Pokémon? And did you put pbFrameUpdate everywhere in an attempt to make them animate all the time? Because I replicated your problem by doing that. Leech Seed works fine in base Essentials.
     
    I'm not using animated Pokémon no, I've never considered using them. But I narrowed it down to the part referring to i.pbFaint and recipient.pbFaint, so I think it's something to do with pbFaint script because it doesn't proceed past i.pbFaint.

    Can I ask what @pokemon is referring to within pbFaint?
    Is it referring to @battlers?
    Because there's a line in there which isn't in v14, I must assume it's from an older version if that's the case.
    I don't quite know how it got there if it is from an older version.
     
    You're right, the lines you have are from an older version, v12 I believe when a bunch of "fixes" were made, but were temporary fixes, there were a few from members here that I, other members or Maruno fixed... How the hell they made it in to this game is beyond me, maybe it was part of my scripts that I neglected to check since the game works perfectly fine otherwise.

    Edit these lines from the scripts accordingly, since I found other things too:

    PokeBattle_Battler;
    Remove Line 645.
    Add return to Lines 176 and 181.
    Remove Lines 223-225 or Add $DEBUG && after the if (not a problem but you won't want these lines when a game release comes).
    Remove the (1)# on 264 to make this work as intended.
    Add return false to line 2045. (I forgot to mention when I made that script that you need to specify whether it should work or not).
    Add user.pbReduceHP(damage) to line 2251.

    PokeBattle_ActualScene;
    Remove # from line 1688 (not game effecting just nit-picky things).

    PokeBattle_Pokemon;
    Remove the return on Line 248 (not game breaking, since this isn't implemented yet, but return is not the right thing for this part).
    Line 821, you can remove the whole line (just not needed to be honest).
    Lines 1022, 1024, 1026, 1028 and 1030 all need !=nil added to the end (just a precaution).

    That is all I found, none of these are game breaking really which is how you never found them until your Leech Seed problem... I think I'm going to send you the Scripts file instead of messaging you the scripts from now on (which is longer and I don't have time to do this with all little scripts) because you are not following instructions properly or your not adding the scripts fully.

    Just so we're clear, this should not be added to anyone else's game, they won't fix any of your problems lol.
     
    Back
    Top