(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
04-27-24 09:54 AM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Minish Cap Weapon Hack New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
Zeld

Red Paragoomba








Since: 11-05-06

Last post: 6281 days
Last view: 6278 days
Posted on 11-10-06 05:30 PM Link | Quote
Yes. I like to hack weapons.

Ok, I failed my attempt to hack Megaman Zero 3's Z Saber weapon strength. After the success I just had, though, I'll probably try looking through the script again and tracing back a bit further to reattempt finding where my weapon strength is loaded from.

I was able to do just that for The Minish Cap. I'm attaching the log I recorded and read through that showed me where the rom address for my sword's strength was. I felt really retarded, too, because I started reading from instruction 35 in the log, the one that subtracts damage from enemy health, and going backwards looking at each instruction that applied to the register with my weapon strength in it.

I eventually traced it all the way back to the VERY FIRST instruction, not even noticing prior that the first instruction I logged was the one that loaded my sword's strength from the rom.

Here's the instruction my debugger crapped out when I set a break on write to the enemy's HP:
80178fc - Enemy health subtraction instruction from teh damage

And here's the address I found that controls how strong my sword is. I saw a pattern in this vicinity with increasingly higher numbers which I would venture to guess is the strenth of the other swords you get.
80ba384 - Level 1 Sword Strength

<3 thumb

Edit: if you change the subtraction instruction from 1a45 (sub r5, r0, r1) to 2500 (mov r5, 00) then everything dies in one hit. Not that you couldn't figure that out on your own, but...well, there's doing 255 damage, and then there's doing enough damage to kill everything in one hit regardless of how much health it has...

Attachments

MCWH Log.txt (146519b) - views: 92



(edited by Zeld on 11-10-06 04:33 PM)
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - ROM Hacking - Minish Cap Weapon Hack |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.012 seconds; used 352.63 kB (max 410.57 kB)