• 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!
  • 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] 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