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 - My First Heavy ASM Hack! | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Rockman

Flurry
Level: 26

Posts: 184/250
EXP: 96387
For next: 5888

Since: 03-17-04

Since last post: 18 days
Last activity: 16 days
Posted on 04-18-05 07:40 AM Link | Quote
All the other ASM hacks I have done in the past were a piece of cake to do. With this ASM hack, I had to do a lot of work, which took me an hour to do the whole thing.

What the ASM hack does, is when you are a powerup other than Small Mario, you can do a flip when you jump on a noteblock!





First, I had to use FCEUXD's Trace Logger and Code/Data Logger to find the addresses for the bounce and flip routines. The bounce routine was easy to find. The flip routine was what took up a lot of time. I did trial and error with addresses to find the right one. Even with the closest address, I couldn't find it. I was looking at the SMB3 notes, and suddenly it hit me. I remember that sometimes data is found right next to each other. So, I opened up the hex editor, and found out that the star's flipping RAM address is right next to the Invincibility Timer, which is star power. So, I found the routines I needed. I went to where the bounce routine was, jumped to some free space, put my code, and voila! However, this is the first time I used CMP (Compare), otherwise it wouldn't have worked properly. You have to check to make sure that Mario isn't small, or the game will crash, because little Mario can't flip. So, I consider this ASM hack to be my first heavy ASM hack, as I had to find the data for myself, then properly code it. It works quite well, and I will be using it in my upcoming hack!
iamhiro1112

Armos
Level: 35

Posts: 389/487
EXP: 259927
For next: 20009

Since: 03-27-04
From: sd

Since last post: 18 days
Last activity: 7 days
Posted on 04-18-05 08:02 AM Link | Quote
That's a pretty good idea. A subtle change but I imagine it will add to gameplay expereince.
Rockman

Flurry
Level: 26

Posts: 185/250
EXP: 96387
For next: 5888

Since: 03-17-04

Since last post: 18 days
Last activity: 16 days
Posted on 04-18-05 08:44 AM Link | Quote
I forgot to account for Frog Mario! Frog Mario can't flip in the air either. Oh well. I can easily fix that.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Rom Hacking - My First Heavy ASM Hack! | |


ABII


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



Page rendered in 0.075 seconds.