Code:
$BDD0:8E FE 07 STX $07FE = #$07 A:9C X:00 Y:00 P:nvUbdIZc
$BDD3:C0 00 CPY #$00 A:9C X:00 Y:00 P:nvUbdIZc
$BDD5:D0 03 BNE $BDDA A:9C X:00 Y:00 P:nvUbdIZC
$BDD7:8C FF 07 STY $07FF = #$00 A:9C X:00 Y:00 P:nvUbdIZC
$BDDA:AE FF 07 LDX $07FF = #$00 A:9C X:00 Y:00 P:nvUbdIZC
$BDDD:F0 08 BEQ $BDE7 A:9C X:00 Y:00 P:nvUbdIZC
$BDE7:B1 68 LDA ($68),Y @ $9C3C = #$61 A:9C X:00 Y:00 P:nvUbdIZC
$BDE9:C8 INY A:61 X:00 Y:00 P:nvUbdIzC
$BDEA:C9 46 CMP #$46 A:61 X:00 Y:01 P:nvUbdIzC
$BDEC:90 11 BCC $BDFF A:61 X:00 Y:01 P:nvUbdIzC
$BDEE:C9 A0 CMP #$A0 A:61 X:00 Y:01 P:nvUbdIzC
$BDF0:B0 0D BCS $BDFF A:61 X:00 Y:01 P:NvUbdIzc
$BDF2:38 SEC A:61 X:00 Y:01 P:NvUbdIzc
$BDF3:E9 46 SBC #$46 A:61 X:00 Y:01 P:NvUbdIzC
$BDF5:0A ASL A:1B X:00 Y:01 P:nvUbdIzC
$BDF6:AA TAX A:36 X:00 Y:01 P:nvUbdIzc
$BDF7:E8 INX A:36 X:36 Y:01 P:nvUbdIzc
$BDF8:8E FF 07 STX $07FF = #$00 A:36 X:37 Y:01 P:nvUbdIzc
$BDFB:CA DEX A:36 X:37 Y:01 P:nvUbdIzc
$BDFC:BD 03 BE LDA $BE03,X @ $BE39 = #$12 A:36 X:36 Y:01 P:nvUbdIzc
$BDFF:AE FE 07 LDX $07FE = #$00 A:12 X:36 Y:01 P:nvUbdIzc
$BE02:60 RTS A:12 X:00 Y:01 P:nvUbdIZc
$BDD3:C0 00 CPY #$00 A:9C X:00 Y:00 P:nvUbdIZc
$BDD5:D0 03 BNE $BDDA A:9C X:00 Y:00 P:nvUbdIZC
$BDD7:8C FF 07 STY $07FF = #$00 A:9C X:00 Y:00 P:nvUbdIZC
$BDDA:AE FF 07 LDX $07FF = #$00 A:9C X:00 Y:00 P:nvUbdIZC
$BDDD:F0 08 BEQ $BDE7 A:9C X:00 Y:00 P:nvUbdIZC
$BDE7:B1 68 LDA ($68),Y @ $9C3C = #$61 A:9C X:00 Y:00 P:nvUbdIZC
$BDE9:C8 INY A:61 X:00 Y:00 P:nvUbdIzC
$BDEA:C9 46 CMP #$46 A:61 X:00 Y:01 P:nvUbdIzC
$BDEC:90 11 BCC $BDFF A:61 X:00 Y:01 P:nvUbdIzC
$BDEE:C9 A0 CMP #$A0 A:61 X:00 Y:01 P:nvUbdIzC
$BDF0:B0 0D BCS $BDFF A:61 X:00 Y:01 P:NvUbdIzc
$BDF2:38 SEC A:61 X:00 Y:01 P:NvUbdIzc
$BDF3:E9 46 SBC #$46 A:61 X:00 Y:01 P:NvUbdIzC
$BDF5:0A ASL A:1B X:00 Y:01 P:nvUbdIzC
$BDF6:AA TAX A:36 X:00 Y:01 P:nvUbdIzc
$BDF7:E8 INX A:36 X:36 Y:01 P:nvUbdIzc
$BDF8:8E FF 07 STX $07FF = #$00 A:36 X:37 Y:01 P:nvUbdIzc
$BDFB:CA DEX A:36 X:37 Y:01 P:nvUbdIzc
$BDFC:BD 03 BE LDA $BE03,X @ $BE39 = #$12 A:36 X:36 Y:01 P:nvUbdIzc
$BDFF:AE FE 07 LDX $07FE = #$00 A:12 X:36 Y:01 P:nvUbdIzc
$BE02:60 RTS A:12 X:00 Y:01 P:nvUbdIZc
*Please do not explain this to me right now if anyone's up to it* I have to go through the code and break down the parts I don't understand completely. Tomorrow I'll break it down as it's getting kind of late and I'm in one of those state of minds where I don't feel like doing anything. Better make an attempt now or else I'll never do it. I've been meaning to do something like this for a few weeks now. Just been too lazy to actually do it.
Obviously I did not come up with this code and it is somewhat different from my DTE code for Goemon. I'd like to use this code for Goemon, but I need to completely understand it before I can adapt it. Also I need to make a modification to this code. I believe I need to split it up to have a main routine and some sub routines. (More on that later)