Language…
9 users online: Aeon, dacin, DashGamer, DixyNL, GRIMMKIN, MegaSonic1999, Nemesis1407,  Segment1Zone2, toady - Guests: 236 - Bots: 351
Users: 64,795 (2,376 active)
Latest user: mathew

Mario disappears/dies by hitting corner of the block

Hello everyone!

I had a question about the behaviors of hitting some of the blocks in this hack I'm trying to fix work. So if you hit the corner of one of these blocks with Mario directly he will immediately disappear and die. Has anybody faced this issue before? It happened to me on a corner of a slope tile and also on a regular ? mark block (which I unfortunately couldn't get a video of)

I documented this issue on my YouTube:

Video

The issue has also been documented on this forum post however there really wasn't a solution that was given in order to fix this.

Does anybody know what causes this issue and if so would it be possible to remove the issue so Mario won't die when hitting a corner of a block? Thank you!


It's a bug resulting from mikeyk's screen-scrolling pipes being used on the hack.

I believe this should fix it:

Code
org read3($00ED2F)
Fix:
	XBA
	LDA $7EC380
	BNE .ret
	XBA
	CLC
	ADC $96
	STA $96
	BCC .ret
	INC $97
  .ret:
	JML $00ED37


Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer
Thank you so much for all of your help Thomas! Got it to work successfully thanks to your code and Mario won't die anymore from hitting the corner of a block! #tb{:DD} I really appreciate it #tb{:j}