In this section

Historical Rules · 10 June 2022

Rule 309.6

Official source text from the 10 June 2022 Rules release

Permalink

If a player’s venture marker is on the bottommost room of a dungeon card, and that dungeon card isn’t the source of a room ability that has triggered but not yet left the stack, the dungeon card’s owner removes it from the game. (This is a state-based action. See rule 704.)

Find this number in the current Rules