I'm working on a game using the MetroidVania module and I've run into an issue related to jumping UP between screens. When jumping UP, the player is taken to the screen "below" instead of "above." Jumping down between screens works as expected.
I'm not sure how to fix this and hope someone else has run into this already.
---
EDIT
I tested this with a fresh project and still encounter the error out of the box.
After doing some testing: the player does go up one screen row and that is where the error happens. I believe the bottom bounds check is firing twice for some reason and adding #$20 to currentNametable. The end result being the player moves to the screen below the original screen.
The only time the error doesn't always seem to happen is after falling down a screen and then jumping back up. Moving left or right while jumping causes the error.
Test map below; spots in green circle work, spots with red X don't
I'm not sure how to fix this and hope someone else has run into this already.
---
EDIT
I tested this with a fresh project and still encounter the error out of the box.
After doing some testing: the player does go up one screen row and that is where the error happens. I believe the bottom bounds check is firing twice for some reason and adding #$20 to currentNametable. The end result being the player moves to the screen below the original screen.
The only time the error doesn't always seem to happen is after falling down a screen and then jumping back up. Moving left or right while jumping causes the error.
Test map below; spots in green circle work, spots with red X don't