Maruno
Lead Dev of Pokémon Essentials
- 5,286
- Posts
- 17
- Years
- Seen May 3, 2024
This is a technical discussion about how particular aspects of a Pokémon (in particular, gender, nature, etc.) are defined.
As we all know (ahem), a Pokémon's personal ID number defines its gender, nature, ability and shininess. And frankly, it's irritating. There's no way to set all four for a Pokémon at the same time. The nearest we've got is something that sets gender plus nature, and abilityflag which means it doesn't need to be worried about quite as much. There's still shininess, though.
As mentioned, abilityflag exists, which is an override for the ability. It's very convenient.
What I was wondering is this: Could/should Essentials have similar override flags for gender, nature and shininess?
Pros:
# It'd be easy to change one flag without affecting the other things that depend on the personal ID number, thus making many lives easier.
# abilityflag already does it, and no one's complaining (I don't think such a thing exists in the official games).
# Considering trading and all that, compatibility isn't a problem, because a game will tend to only be compatible with itself.
Cons:
# It's not how the official games do it.
# There are still other things that depend on the personal ID number (e.g. Hidden Power), so it can't just be removed.
# If for some strange reason the flags are ignored, things go screwy (but why would they be ignored?).
Taking the flag idea to the extreme, they could even replace the personal ID-based calculations, i.e. have nature be rand(25) when the Pokémon is generated, nothing more. As mentioned, the personal ID couldn't be removed completely, but what it is used for could at least be lessened to make lives easier (because who really cares about setting a Pokémon's Hidden Power?).
Whether it's left as it is, or more flags are added (to whatever extent), Pokémon would look just the same to the player. It's just a matter of how it works in the background.
Basically, it's a question of convenience versus keeping things working like the official games.
Thoughts?
As we all know (ahem), a Pokémon's personal ID number defines its gender, nature, ability and shininess. And frankly, it's irritating. There's no way to set all four for a Pokémon at the same time. The nearest we've got is something that sets gender plus nature, and abilityflag which means it doesn't need to be worried about quite as much. There's still shininess, though.
As mentioned, abilityflag exists, which is an override for the ability. It's very convenient.
What I was wondering is this: Could/should Essentials have similar override flags for gender, nature and shininess?
Pros:
# It'd be easy to change one flag without affecting the other things that depend on the personal ID number, thus making many lives easier.
# abilityflag already does it, and no one's complaining (I don't think such a thing exists in the official games).
# Considering trading and all that, compatibility isn't a problem, because a game will tend to only be compatible with itself.
Cons:
# It's not how the official games do it.
# There are still other things that depend on the personal ID number (e.g. Hidden Power), so it can't just be removed.
# If for some strange reason the flags are ignored, things go screwy (but why would they be ignored?).
Taking the flag idea to the extreme, they could even replace the personal ID-based calculations, i.e. have nature be rand(25) when the Pokémon is generated, nothing more. As mentioned, the personal ID couldn't be removed completely, but what it is used for could at least be lessened to make lives easier (because who really cares about setting a Pokémon's Hidden Power?).
Whether it's left as it is, or more flags are added (to whatever extent), Pokémon would look just the same to the player. It's just a matter of how it works in the background.
Basically, it's a question of convenience versus keeping things working like the official games.
Thoughts?