News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

[M1] Hack to make Missile doors require 1 instead of 5?

Started by ShadowOne333, May 18, 2017, 12:10:52 PM

Previous topic - Next topic

ShadowOne333

I was just wondering if there is a quick Hex edit to the ROM which makes missile doors open up with only 1 missile instead of the obligatory 5 missiles.
I want to make that change for a frankenstein hack of mine and that's the only thing I'm missing right now.

Thanks in advance to anyone willing to help out with this!

snarfblam

In each area bank, there is a table at $8BD1 that defines the number of shots required to open each type of door. (For example, pull up the Brinstar disassembly and search for "LB8D1:".)

L8BD1:  .byte $05, $01, $0A, $01

That's five for a red door, one for a blue door, ten for a purple/orange door, and one for the door to mother brain's room (also blue).

In the ROM, these tables would be found at, respectively for Brinstar, Norfair, Tourian, Kraid, and Ridley:

  • $4BE1
  • $8BE1
  • $CBE1
  • $10BE1
  • $14BE1

ShadowOne333

[Thank you, snarfblam!
I was able to successfully make the changes I wanted to do to the hack :)

I went to all the tables and changed [05 01 0A 01] to [01 01 05 01], effectively changing all Red doors to open up with just one missile, and making the Purple/Orange door open up with 5 now.

Thank you so much for the help!