Dungeon Interruptions
DungeonInterrupt - one of the list that can be edited in SkyTemple. This list contains all dungeon interruptions defined in the game. Interruptions can occur when transitioning to next floor(for example, interruption, defined at floor 3, will occur when the player goes from floor 2 to 3). The game behaves the same as if you finished the dungeon. Only one interruption is allowed per floor. You can define a condition for the interruption, and if it isn't met, the game goes to the next floor as usual. Requires DungeonInterrupt patch to edit(Patches -> ASM -> New Mechanics).