I have been working on a hack for a while now and i also been learning a lot about asm. That being said i ended up breaking my hack (Probably not a surprise for anybody).
Anyway i used the vertical wrap code made by kaizoman666 / Thomas, based on the patch by Noobish Noobsicle. And it worked like a charm, until recently...
I wanted to go back and modify some stuff in the level as i tend to never be satisfied with what i do. But as the level started the screen turned in a bunch of gibberish before completely crashing the game.
Take note here that i have added several patches since then so i am not sure which one caused this. The one that i think might have messed it all up is the Single screen v1.1 by TheBiob.
However i have been able to pin point which line of code cause the game to crash.
SEC : ROR $1B96 |!addr
This line allow Mario to go trough the side of the screen (At least that is what i think it does).
I have tried some stuff to try to go around this issue with no result other then making it worst or cause Uberasm to cry at me. I am now out of idea. Does anyone know what could have caused that or if there would be a way around?