It appears another "gigaleak" has gone down, involving Nintendo. According to sources online, it appears that Game Freak has been hacked, resulting in internal data from the company being leaked to the public. Those involved in the hacking community or those within general Pokemon related groups...
You can patent the features that the code makes up.
Also, Nintendo has patented features existing in other games long before, and it hasn't stopped them. The current lawsuit against palworld contains patent claims for features they do not actually own, which is why they need 100 different lawsuits coming their way so they get a taste of their own medicine.
They have an easy time suing one or two entities, but 100 different ones will have a significant economic impact.