Language…
7 users online: Firstnamebutt, Klug, Mario's GameBase, netyo, playagmes169, qantuum, Zavok - Guests: 233 - Bots: 428
Users: 64,795 (2,378 active)
Latest user: mathew

yoshi forgot how to fly

So i'm trying to make a better version of mario's amazing adventure, unfortunately I locked it so I had to start over with a fresh rom slowly adding all the music,sprites ect back. While testing one of the levels I realized that somehow yoshi can no longer fly. He gets the wings when holding the shell but when I try to fly I just get one normal jump and that's all. Does anybody know at all what is causing it. The main difrence is that i'm using addmusic k, but I don't see how that would break yoshi flight.
layout by pirahnaplant.
the variety of chance is upon us, are you scared?



Odd problem. Try comparing your ROM's code with SMW's original code. Either that or something might be attempting to use the Yoshi wings flag as free RAM.




Originally posted by superwiidude
I locked it

This changes things. Did you even THINK of looking for this?
Originally posted by Technius

I did in fact, but when I did I got other issues like parts of levels randomly deleted and it for some reason isn't working with addmusic k either.
layout by pirahnaplant.
the variety of chance is upon us, are you scared?



Originally posted by superwiidude
Originally posted by Technius

I did in fact, but when I did I got other issues like parts of levels randomly deleted and it for some reason isn't working with addmusic k either.


Were you using Lunar Magic 2.31?
100% Orange Juice Playthrough:
https://www.youtube.com/playlist?list=PLf1kPWkjcurtA3xPP3TybfqSiEn1AcX2A

VLDC9 Playthrough:
https://www.youtube.com/playlist?list=PLf1kPWkjcurtiP5de_-e6q0hSVrY37RB-.


Originally posted by MarkD

Were you using Lunar Magic 2.31?

2.32 is the version of lunar magic i'm using, does that matter?
layout by pirahnaplant.
the variety of chance is upon us, are you scared?



Try using a more updated version. Like the recently added 2.40 version in the tools section.
new version doesn't help any, same as usual.
layout by pirahnaplant.
the variety of chance is upon us, are you scared?



The version of Lunar Magic doesn't matter at all, MarkD postcount++ just confused you. Find the code that handles sprites in Yoshi's mouth in All.log and compare it with what your ROM has there. Or you can try starting from a clean ROM and noticing when the problem occurs. It's up to you.
Originally posted by Technius
Try comparing your ROM's code with SMW's original code. Either that or something might be attempting to use the Yoshi wings flag as free RAM.


where would I be able to find these things and what programs would I need to use? I found something I think may be it in the rom map but i don't know what to do with it.
layout by pirahnaplant.
the variety of chance is upon us, are you scared?



The process is complicated, so you could try sending me a patch...

But I dunno why I even bring that up, because you could re-patch everything and take note of when Yoshi gets his brain damage and I could look at the conflicting patches and try to help you. If you can identify that you have a patch that makes changes to Yoshi, his tongue, or handling sprites in his mouth, that's even better.

Good luck!
http://bin.smwcentral.net/u/4567/Mario%2527s%2BAmazing%2BAdventure.ips
here is a link to the ips patch of my game. thanks in advance.
layout by pirahnaplant.
the variety of chance is upon us, are you scared?



So I forgot about your thread for a while and when I was browsing through the forum and saw it, I'm like "Oh, sh#fim{:)}t!"

I quickly got to work and over the course of about two hours of intense concentration, frustration, and talking to myself like an idiot, I developed this:

Code
header : lorom

org $00D8FF
	autoclean JML YoshiFlight
	NOP #5
	YoshiFlightReturn:

freecode
	YoshiFlight:
	LDA $14A5		; \ Original code
	BNE CODE_00D90D		; / 
	PHY			; > Push Y
	LDY $187A		; \ Determine value to load
	BNE OnYoshi		; / 
	LDA $16,x		; > Load value for Raccoon
	OnYoshiReturn:		; \ Do... something
	BPL CODE_00D924		; / 
	PLY			; \ Pull Y and return
	JML YoshiFlightReturn	; / 
	OnYoshi:		; \ 
	LDA $15,x		; | Load value for Yoshi
	BRA OnYoshiReturn	; / 
	CODE_00D90D:		; \ 
	JML $00D90D		; | 
	CODE_00D924:		; | Branches
	PLY			; | 
	JML $00D924		; / 


This code is probably inefficient, but it's not a huge deal. It turns out the problem was caused by the Raccoon patch which you should have said you had. Not listing any patches left be clueless. Anyway, that means that any hack with the Raccoon patch has this bug. My patch determines if you're riding Yoshi and loads in the correct address for the current situation with no known side effects. The hijacked code only runs with cape/Raccoon and wing Yoshi so there shouldn't be any. Important: If you ever re-patch the Raccoon patch for some reason, re-patch this right after!


During the time I had forgotten, I made this, so it's not like I disappeared.