You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanna do port his flying code from sonic 3 & knuckles & port it to sonic 2 but i don't know where his flying code is & i don't know much about changing out stuff to make the code work in the game so I'm just wondering how i can port it over
The text was updated successfully, but these errors were encountered:
I don't know where Tails' flying code is, but you might be able to find it by comparing the code of Tails' object from Sonic 2 and Sonic & Knuckles. Chances are that the flying code is in its own function, so there would be an extra bsr.w or jsr instruction that calls it.
To port the code would likely require dehardcoding things if they haven't been already, such as SST constants ($A(a0) to x_pos(a0) or something like that) or RAM labels (($FFFFFA23).w to (Camera_X_pos).w or something similar). Once that's done, the SST constants and RAM labels need to changed to their Sonic 2 versions. The Sonic 2 and Sonic & Knuckles disassemblies have similar naming schemes, but there are still some differences. Code labels and function names also need to be changed to their Sonic 2 equivalents.
Once that is all done, should be ready to insert into Sonic 2, calling it with bsr.w/jsr in the same place as it is in Sonic & Knuckles. You will also need to port the flying SFX, sprites, and animation.
I wanna do port his flying code from sonic 3 & knuckles & port it to sonic 2 but i don't know where his flying code is & i don't know much about changing out stuff to make the code work in the game so I'm just wondering how i can port it over
The text was updated successfully, but these errors were encountered: