Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ogre Battle Gaiden (Densetsu no Ogre Battle) Translation
#23
Code:
0x200180: LD XHL,(0x4006)                          : E1 06 40 23                |  
0x200184: LD XIX,0x0020018F                        : 44 8F 01 20 00             |  
0x200189: LD (0x4006),XIX                          : F1 06 40 64                |  
0x20018D: JP T,XHL                                 : B3 D8                      | here we can assume XHL eq 0x294CFE

That bit seems to use (0x4006) as something of a jump/return address.  Even the setup code uses (0x4006) to pull out the address that will be jumped to, then it puts the return address into (0x4006).  But, I don't see that being used in the "return" code.

Is there other code that reads (0x4006) to know to return to 0x0020018F (which would be the next instruction after the JP at 0x20018D)?
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply


Messages In This Thread
RE: Ogre Battle Gaiden (Densetsu no Ogre Battle) Translation - by Flavor - 04-10-2019, 02:15 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)