Language…
16 users online:  BeeKaay,  Blaagon, ForthRightMC, gcrackaaa, Golden Yoshi, Gorry, Green, Maw, Metal-Yoshi94, OrangeBronzeDaisy, PuffleDreemurr, Ray Hamilton, ShoopDaWhoop, Skystarmania, Super Nikuworld, vktr - Guests: 265 - Bots: 447
Users: 64,795 (2,371 active)
Latest user: mathew

No Yoshi Entrance Edit patch issue

Hi,

I'm using the No Yoshi Entrance Edit patch, but I've come to realize that this patch doesn't work for level numbers greater or equal 130 and I cannot figure out why.

Here is a paste of the patch. The readme makes no special mention of specific level numbers.

And to be clear in advance, I'm sure about editing the correct lines and values in the data file that comes with it and that the patch has been applied correctly, as I've tested various different levels in multiple steps and it seems levels 130-136 still allow entering with Yoshi despite disabling it in the patch like in some other levels. I just extrapolated it to happen for all levels thereafter. The patch still works for levels 12C, 12D.

If you really want to look at the data file then you're welcome

EDIT: After a little more testing, it seems the problem lies with the way RAM address $1B9B (No Yoshi for next rooms flag) is handled. Does anyone know where to find the routine that actually removes Yoshi when this flag is set?
Try adding this:

Code
org $05DA1E
	db $80


This is not well tested in any way. Would appreciate feedbacks and proper testing on this.

Basically the game branches to a different direction if translevel is higher than #$52, that different direction isn't really hijacked by this patch.

But since I know very little about this part of this game's code, testing is healthy.
Your layout has been removed.
Let's see... the title screen level was now different with garbled graphics, can't really tell which level it switched to. Also after moving forward one block Mario teleports to the actual title screen level, playable.

Apart from that, it doesn't seem it changed anything at first glance. Entering levels 135+ works normally, but still allows Yoshi.
I see no reason for any of this you reported and I got very very different results than you regarding the Yoshi.
Your layout has been removed.
I'll have a closer look later when I get back from uni to test it further, my only idea so far would be a patch conflict.
It seems you were right about that. I didn't realize I had a slightly modified version of EntranceEdit that actually caused the bug, so I simply replaced it with the original, added your hijack and voila, it seems to work fine so far!

Thank you for your help, this problem is solved for now. If I notice any weird behavior that I can trace back to this change, I'll post here again.