• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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] Trading for a Specific Ability

princessyiris

Banned
34
Posts
4
Years
  • Age 34
  • Seen Feb 6, 2020
How do I create a trade where the NPC would like a mon with the ability Thick Fat in return?
I can't figure out how to set it up.
 

princessyiris

Banned
34
Posts
4
Years
  • Age 34
  • Seen Feb 6, 2020
I appreciate you pointing me in the right direction, but there's not enough information given in that thread for me to find a solution. I don't know what to actually script into the Pokemon selection to make the game check for specific abilities.
Trying to use .setAbility doesn't work.
.hasWorkingAbility returns an error.
 

princessyiris

Banned
34
Posts
4
Years
  • Age 34
  • Seen Feb 6, 2020
Om0J29q.png

This doesn't work either, unless I'm just doing something wrong.
 
1,403
Posts
10
Years
  • Seen Apr 18, 2024
It doesn't work in what sense? You get an error when it runs? Or a syntax error perhaps? Or it just doesn't do anything at all?

People aren't mind readers, you have to help us.
 

WolfPP

Spriter/ Pixel Artist
1,309
Posts
5
Years
Maybe you can use
Code:
isConst?(poke.ability,PBAbilities,:THICKFAT)
 
Back
Top