Thank you very much for the info. Indeed it sounds very complicated, and probably not worth it if it ends up breaking other functionalities. I'm already impressed to see someone managed to implement held items in a Gen 1 rom hack.
quote:Yeah, it would be rather pointless without adding moves like Dark Pulse, Flare Blitz, Poison Jab, Aura Sphere, Zen Headbutt, the elemental Fangs, etc.
But I wasn't talking about the Physical/Special move split, just asking about Gen 1's Special stat, which ruins certain Pokémon (Hitmonlee/Hitmonchan with only 35 Sp. Def, Kangaskhan with 40) and makes certain others broken (like Gyarados with 100 Sp. Attack or Chansey with 105)
That was me! I implemented Held Items, although definitely not as good as the future gen held items.
Well, me and another person independently, I think someone did a rocket hack also, but unlike me they didn't make their code publically available so I had to re-do from scratch.
I think the simplest byte to use would be the catch rate byte rather than the Box Level byte, since that way you wouldn't have to mess with the box as well. But then, like I said, you wouldn't be able to implement held items which may or may not be a game breaker. And of course all those other changes are a pain in the ass.
EDIT:
WAIT! I think I thought of a way this could actually work!
Just don't store a Special Def. stat at all! Generate it automatically once at the start of every battle, based on a pokemon's other stats using a 'balancing' formula of some kind!
Figuring out how to write the balance formula would be a pain, and this would have the downside of sharing stat exp with the other special stat, buuuut, it massively beats making hundreds of changes through the game. You would literately just call this, then alter the damage formula so that the attack special is now the 'Special Att.' normal version, and the Defense Special is an altered version of this. Basically, it would be like starting every battle with your special stat either boosted one or two stages or lowered stages depending on how your other stats are, but only for the defense (or alternatively, you could do this with the attack stat). There would be a few other places to consider, like how you want to handle growl and amnesia and so forth that lower defense or alter special, but once you've loaded a [wSpecialDef] for a given battle you can alter it as you like.