• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.

Research: Hold Item Effects

That wouldn't help me, that would just change the 16th byte of the item. It wouldn't change any pointers since the held item effect is determined by the 16th byte and not an actual pointer to a routine. There's probably a table somewhere that points to all of the held item routines, and the 16th byte of each held item determines which pointer to use from the table.

The hold effect ID is an arbitrary number. There is no table. For example, for thick club, In the damage calc routine it loads the attacker's hold item effect ID, compares it to thick club, then checks the species ID to determine whether or not to boost the attack.

If you wanted to raise fairy type attacks, you would need a function hooked into an appropriate place to check if the current move type is fairy, check if the attacker is holding an item with some unused hold item effect, then raise the attack if all of these checks were true.
 
Back
Top