Fixed mistakes in resolved conflict and changed signature of `TakeItemPokemon()` to optionally give the caller the responsibility of handling message logging.
Minor shrinking of logic and syntax.
Rearranged some conditional blocks for readability and terseness.
Added numerous local variables to give context to magic values and reduce line length in more extreme cases.
Changed `PokemonWrapper.GetPokemon()` to a read-only property to simplify syntax on use.
Added `DrawPokemonIcon()` to unify drawing of box/party pokemon icons.
Inlined `BoxPokemonCount()` after it was simplified.
win conditions for challenge not done, only 2/9 room types scripted and need npcs in the 3 rooms and then copied. Endless mode needs to be configured from being a copy of challenge
Unification of wallpaper (removal of `MenuEntry.TAG` as it's no longer necessary) and filtering handling as well as minor logic compacting and syntax shrinking missed in the first refactor. 1926 -> 1719 lines.
Per-function logic and syntax shrinking, inlining of single-use one-liner functions, addition of variables in some places to reduce line width and increase clarity, merging of filtering regions as they got smaller.
Vertical whitespaces have been temporarily added to help with diffing. 2712 -> 1926 lines.
With this command you can add texture replacements similar to how a content pack replaces textures.
This is especially useful when, for example, you have multiple supported languages and want to replace certain textures with localized versions.
The file that is required is in the same format as the exceptions.dat file in content packs, but only supports texture replacement entries.
The replaced texture list is cleared when quitting the current save game.
Content Packs should still work, even with the replaced textures.