News:

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

Main Menu

Statue room hex help?

Started by THE Purple Helmet, October 29, 2013, 06:42:40 PM

Previous topic - Next topic

THE Purple Helmet

I am currently trying to cause the game to recognize Kraid as defeated when you first enter the statue room and I have a feeling that I could reach my goal with acouple numbers in a line of hex.

Now I can use a hex editor and I can count in hex but i have no clue how to find which values to change or what to change them to. Can anybody help me out here?

Mon732

If you check out this Ram Map and look for 7E:D828 you should see Boss Bits.
I can't remember which bit is for kraid but you can just beat him and look at the address in a ram viewer to see which one gets set.
Then you just write some code that sets the right bit, I'd personally change the door out pointer for the door leading into the statue room to get the code to run.

Smiley

LDA #$0048    ;event bit (Kraid is dead)
JSL $8081FA   ;set event bit
RTS

In hex: A9 48 00 22 FA 81 80 60
Didn't test it, but that should mark Kraid as dead. Put that somewhere in $8F and then do what Mon said.

THE Purple Helmet

Thank you guys so much! This was one of the final loose ends I needed to take care of before my hack is ready for the finishing touches and it was driving me crazy!

I can't wait to finally give something back to Metconst :^_^:

THE Purple Helmet

Does anyone know if there is a way to change exactly what makes the statue room recognize a boss as defeated? Like can it be triggered by defeating a different boss or something else entirely?


FullOfFail

This is the only info of the boss statue stuff that I know of. Look a little before half way down the page for  **Statue animation data** It might not have what you're looking for directly listed, but it may be in the code somewhere.

http://www.metroidconstruction.com/docs/DchronosAnimationasm.txt

THE Purple Helmet

Makes me wish I knew asm...at least I've got what I came for :-)

I think I might be able to make the statue fall through the ground faster after all bosses are dead by manipulating the frame data for the animation in that doc with a hex editor though. I've always hated how long that takes