Fix BG tile bug from switching from pink SS

If you had a pink space station background, and switched to a different
tileset, some solid tiles would be placed instead. This commit fixes
that by transforming the room into the basic autotiling tiles before
changing the tileset itself. The reason why I chose this solution is
because it will help with a future change, being unhardcoding warp zone
backgrounds (which'll help with custom autotiling, if that becomes a
thing.)
This commit is contained in:
AllyTally
2023-11-30 22:24:10 -04:00
committed by Misa Elizabeth Kai
parent 96d36f86f0
commit b23983c0b8
2 changed files with 44 additions and 0 deletions

View File

@@ -177,6 +177,8 @@ public:
bool lines_can_pass(int x, int y);
void make_autotiling_base(void);
int get_enemy_tile(int t);
void switch_tileset(const bool reversed);