Users browsing this thread: 1 Guest(s)
I need help with a 'mystery' code located in my project's F0 bank
08-08-2021, 08:41 AM
(This post was last modified: 08-08-2021, 09:08 AM by NPCnextdoor.)
Hello. When I disassemble the code, it looks like this:
The RAM address $2180 has to do with skills being learned. From the wiki:
Also, it seems you have two tables containing values, one at F0/0000 and one at F0/6300. That's the preliminary information I can provide without my first coffee in the morning.
Code:
m=false,x=false
start=F0/3600
REP #$20
LDA $0000,Y
AND #$00FF
ASL
TAX
LDA $F06300,X
TAX
LDY #$10
BRK
LDA #$0000
SEP #$20
label_3617
LDA $F00000,X
BEQ label_3626
STA $2180
INX
DEY
BEQ label_3632
BRA label_3617
label_3626
INY
DEY
BEQ label_3632
LDA #$FF
label_362C
STA $2180
DEY
BNE label_362C
label_3632
STZ $2180
RTL
end=F0/3636
The RAM address $2180 has to do with skills being learned. From the wiki:
Quote:$208E-$21C9 Character Spell Lists (4 * 79 items [1 esper + 54 spells + 24 lores], 4 bytes each)
Also, it seems you have two tables containing values, one at F0/0000 and one at F0/6300. That's the preliminary information I can provide without my first coffee in the morning.
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)