There is a glitch where Mario can hold an item while riding yoshi and I can't seem to find a patch to fix this glitch. Can anyone help lead me in the right direction?
Code
main: LDA $187A|!addr ; \ If not riding yoshi.. BEQ + ; / Skip STZ $148F|!addr ; Force Mario to be empty handed +
Or as a patch probably something like this:
Code
!addr = $0000 if read1($00FFD5) == $23 sa1rom !addr = $6000 endif org $008650 ; Controller data update or something NOP ; Just needed something that runs every frame autoclean JSL FiveFingerDiscount freedata FiveFingerDiscount: LDA $187A|!addr ; \ If not riding yoshi.. BEQ + ; / Skip STZ $148F|!addr ; Force Mario to be empty handed + LDA $4218|!addr ; \ Replace the stuff I hijacked over AND #$F0 ; / RTL ; Return
Probably better spots to hijack as this just needs to run every frame, but that'll be a quick-fix solution to what you want.
Unless STZing the carry flag doesn't cut it but I recall this works. Didn't test the code above, but that should do it.
Hope this helps!