LagoLunatic / DSVEdit

Multi-purpose editor for ROM hacking DS and GBA Castlevania games
MIT License
92 stars 13 forks source link

AoS: Problematic door #64

Closed thegoldencoin closed 2 years ago

thegoldencoin commented 2 years ago

I'm having an issue with a certain room transition in AoS. When I enter the room from the lefft, it loads just fine. However, when I enter from the right, there seems to be an issue with the player being put too far into the room, and the layers not being aligned properly. When I then walk far enough back to the right, even without exiting, the room corrects itself.

Vid: https://www.youtube.com/watch?v=SwjOBMjlfuk

No other rooms have this issue. As far as I can tell, the door is configured correctly, and there's nothing special or unusual about the room itself, at least not as far as i can tell.

image

LagoLunatic commented 2 years ago

You probably set the room up wrong when creating it. This room didn't exist in vanilla. Make an IPS patch of your hack and upload the patch if you want me to be able to look into it.

thegoldencoin commented 2 years ago

Here ya go: https://drive.google.com/file/d/16w9RaTWw2C0CNM-SiZHYuZ9qMZVwE5JF/view?usp=sharing

For reference, this is the culprit room: image

Thanks for your time! ^^

LagoLunatic commented 2 years ago

Change the Scroll Mode from 00 to 01 for layer 0 in that room.

Scroll Mode 00 seems to prevent the screen from scrolling properly. Not sure what purpose it serves, but I think the only rooms that used it in vanilla were rooms that don't scroll anyway (i.e. 1x1 rooms). Also no idea why it works from the left side.

LagoLunatic commented 2 years ago

Oh actually, mode 00 is probably intended for static background images like Julius's boss room. It's probably not coded to function correctly for the collision layer.

thegoldencoin commented 2 years ago

That seems to have solved it, indeed. Thanks ^^