Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Rom Hacking: hukka | 2 guests
Acmlm's Board - I2 Archive - Rom Hacking - help changing number of animation frames
  
User name:
Password:
Reply:
 

UserPost
Jaspile
Posts: 74/133
$6F8 is the ram adress that controls the bank of the gfx for animated tiles, so you'll have to search with a debugger when it is writed to, and you'll theorically find what you need.
Ice Ranger
Posts: 43/183
I figured someone like BMF might have already figured it out *possibly*.

Are you suggesting that all of the final animation sprites (potion, key, waterfall, pow, star, orb, bomb, quicksand, waves, mushroom, cherries, etc.) all have the same number set for the animation? If so, I better change them all to 8 instead of 4.

I, too, don't know how to check for the code for *that* area. I *used to* have the cheat codes that loaded up certain number of world sprites and another for the landscape. That took about two hours to find that, no telling how long it would take me to find this.
Xkeeper
Posts: -2998/-863
The easiest way to do this would probably be to find the code that switches out the graphics and then look at that code (it's very likely somewhere it wo uld use a variable to keep track of the animation frame and then reset to 0 if it's over 6)

Though how to do this is something I don't know, but at least that's how it'd probably be done.

Edit: DAMNIT
Ice Ranger
Posts: 42/183
This is for Super Mario Bros 2 for NES. I've posted this at TEK as well.

I want to reduce the number of frames the cherries and [POWs] go through. They go through 7 each, but there is room to move it up to 8. I want to knock it down to 4 just incase I find a way to change the other half to be used in a different world to something else, or just use those frames for something else entirely (I don't know anything about that kind of stuff *yet*, which is the reason I'm leaving it open for later possiblities).

I started messing with SMB2 to learn some ASM this summer in this thread: http://tekhacks.net/bored/thread.php?id=7834
Acmlm's Board - I2 Archive - Rom Hacking - help changing number of animation frames


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.018 seconds.