Jump to content

Ability capsule dont work on gen 8 pokes


RebornHu

Recommended Posts

Yep, can confirm, it doesn't shuffles to hidden ability*, unless it is the expected behavior.

*It is quite strange:

For the Gen 8 starters it doesn't work at all.

I tested skwovet and it also doesn't works.

Rokidee and blipbug does work.

I tested on snivy and it works so it looks like it is really a gen 8 issue.

I suspect it is a problem for pokes with one normal ability and a hidden one.

 

Ok. It seems that for gen 8 pokemon it is the case that the index of the hidden ability when there is no second ability is '2'; but it seems that the norm is that it should be '1'.

I think this will be patched, but if you really want to fix it now it is just a small modification in Scripts/PokemonItemsEffects.rb (around line 2838) [Always backup!]

  elsif abillist[0].length == 2
    case tempabil
      when 0
        pokemon.setAbility(1)
        ### **New lines**
        newabilid = pokemon.ability
        if newabilid == abilid
          pokemon.setAbility(2)
        end
        ### **End modification**
      when 1
        pokemon.setAbility(0)
      when 2
        pokemon.setAbility(0)
        newabilid = pokemon.ability
        if newabilid == abilid
          pokemon.setAbility(1)
        end
    end

 

Link to comment
Share on other sites

I was going to ask that when I was trying to change my High IV Snom's ability to Ice Scales and it just stayed as Shield Dust.

 

In fact, I've checked all bred Snom and none of them have Ice Scales. Only Shield Dust. Is this a bug or something or I'm just really unlucky?

 

Not sure how can I edit scripts...

Link to comment
Share on other sites

On 7/22/2021 at 2:33 AM, Nullspace said:

Yep, can confirm, it doesn't shuffles to hidden ability*, unless it is the expected behavior.

*It is quite strange:

For the Gen 8 starters it doesn't work at all.

I tested skwovet and it also doesn't works.

Rokidee and blipbug does work.

I tested on snivy and it works so it looks like it is really a gen 8 issue.

I suspect it is a problem for pokes with one normal ability and a hidden one.

 

Ok. It seems that for gen 8 pokemon it is the case that the index of the hidden ability when there is no second ability is '2'; but it seems that the norm is that it should be '1'.

I think this will be patched, but if you really want to fix it now it is just a small modification in Scripts/PokemonItemsEffects.rb (around line 2838) [Always backup!]


  elsif abillist[0].length == 2
    case tempabil
      when 0
        pokemon.setAbility(1)
        ### **New lines**
        newabilid = pokemon.ability
        if newabilid == abilid
          pokemon.setAbility(2)
        end
        ### **End modification**
      when 1
        pokemon.setAbility(0)
      when 2
        pokemon.setAbility(0)
        newabilid = pokemon.ability
        if newabilid == abilid
          pokemon.setAbility(1)
        end
    end

 

Omg it works! You need to use 2 ability capsules but my cinderace finally has Libero! Thank you so much Nullspace.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...