Users browsing this thread: 1 Guest(s)
Condensing Spell List in Battle
09-18-2017, 10:15 PM
(This post was last modified: 09-19-2017, 12:22 AM by assassin.
Edit Reason: i should consult a dictionary before posting.
)
Code:
BEQ .noMoreSpells ; so jump out, reset $F0 to start our lores
...
.noMoreSpells
TYX ; reset our write-space index for the first Lore slot
BRA .checkLoreLoop
now that you got rid of the LDX at the later label, you can chuck that detour and change the BEQ to a new label between the early "LDY #$04" and "TYX". saves 3 bytes. due to my reordering suggestion, the "REP #$10" will have a superfluous execution, but no slower than the current BRA.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)