News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Death spikes in SMB (Update)  (Read 508 times)


  • Jr. Member
  • **
  • Posts: 23
    • View Profile
Death spikes in SMB (Update)
« on: July 21, 2019, 09:22:19 am »
I've been tinkering with SMB, trying to find a way to add hit detection from the top and the sides to a block, in order to give it injuring effects just like enemies have. With the help of the disassembly I found the routine for injuring the player; i've also been looking at this patch that turns mushroom trees into death spikes. By looking at the patch I found that at least 2 offsets are responsible for this change: $1788 and $5FB8. The problem is that in the debugger these offsets are listed as undefined and I can't find anything relevant in the disassembly; how could I convert the hex values into readable ASM? Or how could I easily find where an offset is located in the disassembly? Last time I had to scroll through thousands of lines to find the matching ASM routine for "jsr injureplayer" (which is JSR $D92C).
Thanks a lot in advance :)


  • Sr. Member
  • ****
  • Posts: 400
  • I am the baldest romhacker
    • View Profile
Re: Death spikes in SMB (Update)
« Reply #1 on: July 21, 2019, 09:35:16 am »
Minus #10, then plus #2000 until you find it in debugger - NES ROM hacking tutorials for beginners. Please use Google Translate browser extension