Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Mega Man 4/Tutorials: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(New page: I will add a few ASM tutorials that you will need for your Mega Man IV hacking experience. === Sound Initial Code while choosing the weapon === Written by Insectduel In the memory where...)
 
No edit summary
Line 10: Line 10:




20 XX XX  JSR $XXXX    ; Location to the Sound ID Code.
*20 XX XX  JSR $XXXX    ; Location to the Sound ID Code.
AD 38 01  LDA $0138
*AD 38 01  LDA $0138
60        RTS
*60        RTS
A9 2E    LDA #$2E      ; Sound ID to play
*A9 2E    LDA #$2E      ; Sound ID to play
4C BE F6  JMP $F6BE    ; Init Sound
*4C BE F6  JMP $F6BE    ; Init Sound


That way the sound will always hear when you choosing the weapon menu.
That way the sound will always hear when you choosing the weapon menu.

Revision as of 17:35, 24 June 2009

I will add a few ASM tutorials that you will need for your Mega Man IV hacking experience.

Sound Initial Code while choosing the weapon

Written by Insectduel

In the memory where the ROM offset is located at x78010 to x7A00F (Bank $3C by $2000).

Change $992A and $996C to the JSR initial code to the location where the empty unused memory is. Then enter the following below.


  • 20 XX XX JSR $XXXX  ; Location to the Sound ID Code.
  • AD 38 01 LDA $0138
  • 60 RTS
  • A9 2E LDA #$2E  ; Sound ID to play
  • 4C BE F6 JMP $F6BE  ; Init Sound

That way the sound will always hear when you choosing the weapon menu.