I have been messing around with Castlevania 64's ASM lately trying to create a couple codes that will change stage order allowing no matter which character you choose to play all the stages instead of just character based stages. I looked at some breakpoints which seemed simple enough until I ran into the value I wanted to change being under a T1 Register which looked like this T1 00000000 00000009. Essentially I want to change that 9 to an 8. But there seems to be no location I can trace from the debugger that shows a value of 9. From there I looked up N64 ASM GPR Registers on google only to find contradicting answers. So what I am looking to do is figure out how to trace The T1 into The Rom and make an ASM Code that changes it from 9 to 8.
I highlighted in Red the T1.
The Level Switching Ram Address is 80389EE1 00??. The question marks are where the stage number goes. When ever you enter a door that changes the stage to the next stage, This number increases or changes to the following stage. So I used this for the break point and on break I got what you can see below in the picture. I found the 9 but am lost on how to change what writes 9 to something different.
Also when I use "Open IME" I am able to edit the 9 to and 8 in the debugger but it is not permanent.
I highlighted in Red the T1.
The Level Switching Ram Address is 80389EE1 00??. The question marks are where the stage number goes. When ever you enter a door that changes the stage to the next stage, This number increases or changes to the following stage. So I used this for the break point and on break I got what you can see below in the picture. I found the 9 but am lost on how to change what writes 9 to something different.
Also when I use "Open IME" I am able to edit the 9 to and 8 in the debugger but it is not permanent.