REPENTOGON icon indicating copy to clipboard operation
REPENTOGON copied to clipboard

Room.TrySpawnTheVoidDoor is Broken

Open Syntax-Sculptor opened this issue 1 year ago • 2 comments

This method is currently broken. Spawning a portal through this method with force set to true will instead spawn an out of place door, which crashes the game when entering. The intended behavior (According to the Repentance docs) is to spawn a portal to the Void Floor.

image

log.txt does not yield any useful messages.

Syntax-Sculptor avatar Apr 14 '24 01:04 Syntax-Sculptor

The broken position is caused by the game unconditionally attempting to spawn the door at DoorSlot.UP1. The crash is caused by Room -9 being uninitialized. I'm not yet sure what actually initializes that room.

namishere avatar Apr 15 '24 12:04 namishere

Okay, it's because the room is a part of 13.blue womb.stb and not a special room. On all other stages except ???, the room does not exist and thus the game cannot generate it.

namishere avatar Apr 15 '24 12:04 namishere