>>39010798>implying hardware changes the codeIt would be awful difficult for developers to make their games completely different for each system if you used this mentality.
It's honestly as easy as copy-pasting, but Game Freak is too inept to do that and they have to make it as difficult as they can for themselves.
>what do you mean by that?If I were on their dev teams, there would be directories for each pokemon in a "Generation" directory (meaning there would be a directory for each gen with all the pokemon in them)
The same would follow suit for moves, but the directories would be for types.
Items would follow suit, under the same rules (pokeballs go with pokeballs, healing with healing, key with key, etc. etc.)
Then abilities, natures, etc, since those have their own code on them that dictate if the stats of the pokemon are positive/negative/neutral and what the pokemon has for its ability.
After that, it's just a matter of building the party system and battle system. The battle system is surprisingly just a lot of "if x is faster than y then x performs action first" functions, and then apply damage, stat buffs/negatives, etc.
Once all THAT shit is done, that is then put directly in the goddamn "COPY THIS FOR YOUR NEXT GAME YOU LAZY ASS NIP" folder.
If any of this is confusing to you at all then you don't even into basic coding.