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

[Scripting Question] Bide errors

  • 224
    Posts
    9
    Years
    • Seen Feb 20, 2025
    My problem is quite simple to explain, the move Bide loops. When the user has attacked, he starts immediately to store energy again.

    I did not edit anything "directly" related to this move. After finding about the error, I've tried to replace some "obviously related to the move" sections with 16.2 and 15.0 clean scripts (function 0D4 in MoveEffects and pbUseMove in PB_Battler) but it doesn't change anything.

    So all the sections containing "PBEffects::Bide", "PBEffects::BideDamage" and "PBEffects::BideTarget" are the same as in a clean version of Essentials.

    I am a bit out of ideas regarding what the problem may be. Obviously I've edited something which indirectly impacted the functioning of the move... But I don't know how I could find what it is.

    EDIT: after reading this post, I tried out Thrash, and... I have a similar issue with Thrash; after being confused, the user repeats the move.
     
    Last edited by a moderator:
    Why are you replacing code with a really old version (15.0)?

    It was a test. Bide is working fine in both clean versions of Essentials (15 and 16). However, even if my game has the exact same scripts as in one of those versions (at least the obvious parts), it's not working for some reason. I tried both and none is working for me.

    What am I asking for is if someone knows where exactly the decision of stopping/going on of Bide and Thrash is handled.
     
    Why not use a diff checker to find the difference between entire sections?
    https://www.diffchecker.com/
    Figure out what's different, and from there it's easier to figure out what's causing the problem

    Thank you, I replaced my Scripts file with a backup and recreated some changes one by one using this tool. Both moves are working now but I still don't know what the problem was.
     
    Back
    Top