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 | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Ice Ranger

Leever
Level: 23

Posts: 42/183
EXP: 60462
For next: 7261

Since: 03-16-04

Since last post: 82 days
Last activity: 3 days
Posted on 12-08-04 10:30 PM Link | Quote
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


(edited by Chill Penguin on 12-08-04 01:52 PM)
Xkeeper
The required libraries have not been defined.
Level: NAN

Posts: -2998/-863
EXP: NAN
For next: 0

Since: 03-15-04

Since last post: 2 hours
Last activity: -753366 sec.
Posted on 12-08-04 10:40 PM Link | Quote
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


(edited by Xkeeper on 12-08-04 01:41 PM)
Ice Ranger

Leever
Level: 23

Posts: 43/183
EXP: 60462
For next: 7261

Since: 03-16-04

Since last post: 82 days
Last activity: 3 days
Posted on 12-08-04 11:00 PM Link | Quote
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.
Jaspile

Red Koopa
Level: 20

Posts: 74/133
EXP: 37467
For next: 4972

Since: 03-15-04
From: Paris, France

Since last post: 20 hours
Last activity: 11 hours
Posted on 12-08-04 11:14 PM Link | Quote
$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.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
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.016 seconds.