$45 is loaded into the accumulator at A9A80, C90A9, C9228, CD3A9, 12D595, 14C3DA, 151DB5, 151DDE, 153C74, 153C8C. Process of elimination. Try changing the $45 at those locations to something else and see if any of them cause changes. I dont have time to work on Telefang at the moment, but Ill see if I can get some work done this weekend.
Bankswitching code is located at offsets 0x10, 0x18, and 0x20 (called by the appropriate RST $XX command), and should be fairly easy to comprehend.
Partial phone text dump.
- andwhyisit
- Site Admin
- Posts: 1197
- Joined: Fri Dec 14, 2007 9:24 pm
Re: Partial phone text dump.
I'll try that. Thanks.IIMarckus wrote:$45 is loaded into the accumulator at A9A80, C90A9, C9228, CD3A9, 12D595, 14C3DA, 151DB5, 151DDE, 153C74, 153C8C. Process of elimination. Try changing the $45 at those locations to something else and see if any of them cause changes. I dont have time to work on Telefang at the moment, but Ill see if I can get some work done this weekend.
It's strange though, I thought there would be more.
Yeah, I know all about that one already. "rst $10" performs a bankswitch using the value that is currently in "a" and "rst $18" returns from a bankswitch. And yes, I know where the bankswitching code is located. I did some research on rst a while back.IIMarckus wrote:Bankswitching code is located at offsets 0x10, 0x18, and 0x20 (called by the appropriate RST $XX command), and should be fairly easy to comprehend.
EDIT: It doesn't work. I could test this without the use of save states, but that would take hours. *gives up*
-
- Posts: 983
- Joined: Fri Dec 22, 2006 11:52 am
Re: Partial phone text dump.
I tried all these locations (both the addresses that IIMarckus specified, and the instances of 45 right next to it), and nothing worked. I changed all the bytes to random numbers to see if there was an effect, but I couldn't find any. Of course, I don't know how assembly code works, so I have no idea if I'm doing the right thing...
Also, to facilitate this, when you get a phone call, make a save state so you don't have to wait around 5 minutes every time someone calls you. While the Denjuu is determined when the phone starts ringing, the text is determined when you answer by pressing A.
Also, to facilitate this, when you get a phone call, make a save state so you don't have to wait around 5 minutes every time someone calls you. While the Denjuu is determined when the phone starts ringing, the text is determined when you answer by pressing A.
- andwhyisit
- Site Admin
- Posts: 1197
- Joined: Fri Dec 14, 2007 9:24 pm
Re: Partial phone text dump.
I know. That's how I tested it.Blaziken257 wrote: Also, to facilitate this, when you get a phone call, make a save state so you don't have to wait around 5 minutes every time someone calls you. While the Denjuu is determined when the phone starts ringing, the text is determined when you answer by pressing A.