Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,523,612
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 05-03-24 02:38 PM
Guest: Register | Login

Main - Posts by Tesserex


Tesserex
Posted on 09-01-16 04:57 AM, in Help with simple hack to each Mega Man game? Link | Quote | ID: 163978

Newcomer
Level: 4

Posts: 1/3
EXP: 275
Next: 4

Since: 09-01-16

Last post: 2800 days
Last view: 2795 days
I'm a fan of a small group of Let's Players called the Snupsters. If you haven't heard of them they run races of the classic series, sometimes with unusual rules. I thought it might be fun to give them rom hacks that help enforce their rules using one modification.

On attempting to fire the regular mega buster, you are instantly killed.

I have a friend who is really familiar with the MM4 rom and he helped me complete this hack for that game, using the following code changes:

$E814:A9 3A LDA #$3A (Bank with kill method)
$E816:85 F5 STA $F5 = #$3C (address to change bank for $FF37)
$E818:20 37 FF JSR $FF37 (bank change)
$E81B:A9 07 LDA #$07 (dead status)
$E81D:85 30 STA $30 = #$00 (status of MM)
$E81F:20 43 82 JSR $8243 (killing MM explosiion)
$E822:A9 3C LDA #$3C (bank we made the call from...)
$E824:85 F5 STA $F5 = #$3C
$E826:20 37 FF JSR $FF37
$E829:60 RTS

This code was placed in an unused location, and a jump to it was placed in the shoot input check code after the BEQ that would skip over it. It works well.

I would like to get some help with the other games from whoever here knows some of the following:

1. Where is the proper entry point for the kill method
2. The correct location of shooting code
3. What banks contain these sections
4. The location of the bank switching functions
5. Perhaps most importantly, where is a safe unused place to stick this new code without causing any issues? The rest of these I may be able to deduce on my own.

I was tinkering with MM5 and since the engine is almost the same as 4, I was able to find most of what I needed. I think the death method was around $8351, and I think the bank switch method was $ff43 (compared to $ff37 in MM4). The banks I needed to swap (which I read from RAM location F3) were 1B and 1C. That's as far as I got, I don't know where I can place the new code.

f anyone can verify my work on MM5, or help with 1, 2, 3, or 6 I'd really appreciate it. Thanks!

Tesserex
Posted on 09-01-16 07:13 AM, in Help with simple hack to each Mega Man game? Link | Quote | ID: 163980

Newcomer
Level: 4

Posts: 2/3
EXP: 275
Next: 4

Since: 09-01-16

Last post: 2800 days
Last view: 2795 days
Hello! I heard from my friend that you'd be able to help me.

The snupsters sometimes play with rules like "X weapon only" where they give themselves a cheat for infinite ammo and have to play through with only that weapon. In the past it has included hyper bombs, rolling cutter, metal blade, gemini laser, hard knuckle, beat, etc.

Whenever they accidentally fire the buster, according to their own race rules, they have to kill themselves. This hack is to help enforce that process.

Tesserex
Posted on 09-01-16 07:16 PM, in Help with simple hack to each Mega Man game? Link | Quote | ID: 163990

Newcomer
Level: 4

Posts: 3/3
EXP: 275
Next: 4

Since: 09-01-16

Last post: 2800 days
Last view: 2795 days
Thanks! Didn't know you were an expert at all of them! They work great.

I'll pass along MM3 Improvement to the Snupsters and see if they can do a run. I'm their biggest Patron so they might listen to me.

Main - Posts by Tesserex

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.224 seconds. (327KB of memory used)
MySQL - queries: 41, rows: 56/56, time: 0.221 seconds.