Relic Castle

First off, I am using an older version of Essentials (v15) and I cannot update to a newer version so please do not tell me to update.
I am running into an issue where I cannot create a new ability past 256. In the PBS file, I have ability 256 defined as so:
256,HEADACHE,Headache,"User's SpAtk rises while confused."
However, when I give the ability Headache to a pokemon, when I play the game it has no ability.
Then, when I give a pokemon ability number 257:
257,INNARDSOUT,Innards Out,"When user fnt, deals dmg equal to current HP."
It gives them ability number 1, Stench.
Then when I give a pokemon ability number 258:
258,LIGHTARMOR,Light Armor,"Reduces damage from Dark moves."
They get ability number 2, Drizzle.

It seems to be looping back on the abilities once it reaches 256 for whatever reason. Does anyone have any idea how I can fix this?
Top