Jump to content

Recommended Posts

Posted

Ive been trying to randomise abilites on PKHex, I can set the ability to either their first second or hidden ability by using  .AbilityNumber=$0, .AbilityNumber=$1 and .AbilityNumber=$2 in the batch editor respectively. However I can't seem to get it to pick an ability number at random. I can randomise the IVs and nature by using similar functions but can't seem to get the ability number to randomise in the same way.

The functions I have tried are

.AbilityNumber=$0,$2  

.AbilityNumber=$0,$1,$2

.AbilityNumber=$$0,$2

.AbilityNumber=$$0,$$2

Are any of these functions along the right lines is there something boneheadedly stupid I'm overlooking?

Any help is greatly appreciated.

Posted

The batch editor isn't too "smart"; only a few shortcuts have been added to facilitate complicated actions. However, you can still do what you want if you think a little outside the box!

Assuming you're editing for Gen8+, we can first randomize them to unused ability IDs, then fix them back to their correct ability for the slot.

.Ability=$3000,3002
;
=Ability=3000
.AbilityNumber=$1
;
=Ability=3001
.AbilityNumber=$2
;
=Ability=3002
.AbilityNumber=$4

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...