This is an exception scene of the game, a hallways that never ends.
To accomplish this, the hallway is constructed one step at a time as the player moves deeper and deeper through the hallway. If the player were to go backwards through the hallway, they would see the tail (a destroyed hallway section) that, when walked through, will load the HUB scene. All doors are intractable with a default "locked" message, but certain exception doors lead to specific scenes or have some special dialogue, all of which is loaded through a wren script, which is what the doors actually execute.
This is an exception scene of the game, a hallways that never ends. To accomplish this, the hallway is constructed one step at a time as the player moves deeper and deeper through the hallway. If the player were to go backwards through the hallway, they would see the tail (a destroyed hallway section) that, when walked through, will load the HUB scene. All doors are intractable with a default "locked" message, but certain exception doors lead to specific scenes or have some special dialogue, all of which is loaded through a wren script, which is what the doors actually execute.