• 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.
  • There is an important update regarding account security and 2FA. Please click here for more information.
  • Our Witching Week events are now on! If you'd like to participate in some fun activities with the community, check out the list of events!
  • 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.
  • Imgur has blocked certain regions from viewing any images uploaded to their site. If you use Imgur, please consider replacing any image links/embeds you may have on PokéCommunity so everyone can see your images. Click here to learn more.

[Scripting Question] Why does my custom ability change to Thick Fat

  • 4
    Posts
    6
    Years
    • Seen Jul 22, 2019
    When I was doing some scripting to make a new ability to make use of Field Effects in Pokemon Rejuvenation, I came across an issue where when I loaded up the game any Pokemon that was supposed to have a custom ability would have it replaced by Thick Fat or Early Bird.
    if isConst?(ability,PBAbilities,:DOOMDRIVE) && onactive &&
    $fefieldeffect!=35 && $fefieldeffect!=35
    $fetempfield = 35
    $fefieldeffect = $fetempfield
    @battle.pbChangeBGSprite
    @battle.field.effects[PBEffects::Terrain]=7
    @battle.field.effects[PBEffects::Terrain]=10 if isConst?(item,PBItems,:AMPLIFIELDROCK)
    @battle.pbDisplay(_INTL("The beginning of a new era!"))
    end

    This is the Script i'm currently having issues with and it would be a huge help if someone could figure it out. Thanks a bunch for anyone who even offer a suggestion
     
    So, starting with the simplest explanation just in case, have you added the ability to the appropriate PBS files (abilities and pokemon)?
     
    So, starting with the simplest explanation just in case, have you added the ability to the appropriate PBS files (abilities and pokemon)?
    Yes, idk what the issue is but any pokemon with the ability "Doom Drive" will get either Thick Fat or Early Bird
     
    Are those alternate abilities for those pok?mon? Or abilities from a prior version? Or is it completely random?
     
    Are those alternate abilities for those pok?mon? Or abilities from a prior version? Or is it completely random?

    It seems completely random, the pokemon i'm attempting to put this on is a custom one that should never have had either of those abilities
     
    I was afraid you'd say that...
    Sorry, I'm stumped. :(
     
    Last edited:
    Back
    Top