Fix small issue so all states work again. Note: dungeon phase currently requires 3 doors and 3 collectables. Higher values will cause a stack overflow.