>>39146134One of the key rules in software development is don't change code that works. If you have a working game and want to make a demo. The easiest and safest way to do this is take the full game and remove as little code as needed to disable any gameplay past the demo area. Basically remove some doors or level transitions. But the rest of the code and areas are still there, just sitting in the code inaccessible. In a game like Pokemon too, there is basically a database file that holds all the constants for things like pokemon, moves, items, etc. Again, they're not going to change code that works; they're not going to delete from the database just for a demo. They're just going to not let you catch everything in the demo. If you can datamine though, you can read the full database, which is what happened.