Language…
8 users online: DinoMom, Firstnamebutt, masl, netyo, pnaha, qantuum,  Ringo, tOaO - Guests: 249 - Bots: 445
Users: 64,795 (2,378 active)
Latest user: mathew

Expensive Jump by oderjunks

File Name: Expensive Jump
Submitted: by oderjunks
Authors: oderjunks
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: A jump costs a coin, But sadly when Mario jumps he glitches out a whole lot; no idea how to fix this.
Screenshots:
Although not a bad idea and the main function works, it's certainly a very badly made patch. It's even right in front of the discription:
Originally posted by oderjunks
A jump costs a coin, But sadly when Mario jumps he glitches out a whole lot; no idea how to fix this.

Then fix it instead to submit it with this glitch. We won't shrug off any easily fixable glitches. The fix:
You overwrite four bytes in the hijack despite that $00D663 is a LDA $D2BD : STA $7D which is five bytes so the game interpreted $7D as an opcode instead of an unused address. You had to put right before or after the JSL a NOP.


In addition, the jump preventing could have been easily fixed. Aside from the easily fixable graphical glitches, it also doesn't prevent Mario from jumping but instead simply don't give him speed. A better way is to hijack the code which checks if A or B is pressed and put the custom code there.
And a minor complain, CMP #$00 is generally useless you have loaded other values before A.