grunt-lucas / porytiles

Overworld tileset compiler for Pokémon Generation 3 decompilation projects
MIT License
30 stars 3 forks source link

Decompiler chokes when attributes contain invalid values for target base game #19

Open grunt-lucas opened 5 months ago

grunt-lucas commented 5 months ago

Describe the bug Decompiler chokes when attributes contain invalid values for target base game. For example, if a TerrainType attribute has an out-of-range value in the compiled tileset, the decompiler fails with an internal error. Ideally, it should simply present the user with some sort of warning and substitute a sane default value.

Additional context See rusturf_tunnel tileset from Josh

Environment (please complete the following information): N/A