I've inserted a few custom patches and blocks and stuff into my ROM and so far no problems have really come up... except that whenever anything to do with a blue/silver POW switch comes near Mario (including advancing to another screen with a POW switch), the game freezes and on some occasions (such as hitting a turn block with a POW inside) causes the game to go apeshit and glitch like a madman.
I have really vague knowledge of ASM so can someone tell me what I fucked up to cause POW switches to glitch every time Mario come near them?

I have really vague knowledge of ASM so can someone tell me what I fucked up to cause POW switches to glitch every time Mario come near them?

9.08777194