• 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!
  • Our next favorite protagonist poll is now up, this time for the Almia region from Pokémon Ranger 2! This poll is only lasting 2 days, so don't forget to cast your vote for your favorite protagonist!
  • 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.

Struggling to code a Bide-like healing move

  • 18
    Posts
    10
    Years
    • Seen Jun 22, 2015
    I am trying to make a move that works like bide but only lasts 2 as opposed to 3 turns and only returns with 1.5 times the damage received and then heals you half of the damage dealt. I thought I was coding it all correctly but I am getting an error when I try to use the move in game.

    The code for my move:
    Spoiler:


    In the moves PBS file it is listed as:
    Spoiler:


    Finally, the error message reads:
    Spoiler:


    I added Fish, FishDamage, and FishTarget to the PBEffects script as well.

    If you have any insight into where I am getting an error I would greatly appreciate the help.

    Thanks in advance!
     
    Back
    Top