TyVogue64 Posted December 14, 2016 Share Posted December 14, 2016 13 hours ago, psy_commando said: Yep. And all genderless or male or female only species have a counterpart entity as well. Its a dummy though. Its only there to keep both gender entry tables aligned within the data files. Bosses works differently. The NPC that appears on the map is a special entity that's only meant for the cutscene. We still don't know yet for sure how bosses works. But we have some ideas. I suspect fixed.bin to have part of the answer. Well it depends on how typing effectiveness is implemented. But if its just a table, it would be trivial to hook everything accessing it and inject a larger table somewhere, or just load it dynamically. That's what I did with the levels and NPCs for instance. Its not really trickery, its just rewriting part of the game code to do something slightly different. What's interesting is, when I was using a previous version of @evandixon's save editor to edit my old EoT save, I somehow corrupted the save in such a way that when I loaded it in Desmume, all of my Pokémon except the the protagonist were gone, and in the partner's place was a Bulbasaur. If I talked to him, the game would crash. What was interesting, however is that that the NPCs referred to him as reserve_22 When I was poking around in yesterday with your StatUtil, I noticed some reserve_xx (including 22) entries after the "real" Pokémon. Does this mean that the reserves are just used for testing purposes or preventing the game from crashing if a glitch is performed, then would there be any harm in replacing them? I mean, there probably wouldn't be too much point, if increasing the cap becomes a thing in the future, and then you'd have to figure out how to get them to spawn in a dungeon or edit them into your save, but it's be interesting to see what exactly is needed to get a new entity to work properly in the game. Well, it's only trickery because I don't fully understand it! (beyond it being editing precompiled code when you don't have access to the source, that is) Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now