Users browsing this thread: 2 Guest(s)
ASM Tasks
Stumbled upon this today, for whomever does equippable gear:
This saves the proper bit per battle character slot for which gear can be re-equipped in battle. That CMP #$0E will need to be changed in addition to whatever blocks the character from re-equipping in battle.
Also, I added expanding the attack list to my list of things to do. Unless we want to reuse a bunch of attacks, it probably needs to get done. Plus I had insomnia the other night and have a rough idea for how I might do it.
Code:
C2/30A0: 68 PLA (retrieve actual ID of character?)
C2/30A1: 9D C6 2E STA $2EC6,X
C2/30A4: C9 0E CMP #$0E
C2/30A6: C2 20 REP #$20 (Set 16-bit Accumulator)
C2/30A8: 48 PHA (save actual ID of character?)
C2/30A9: B9 02 16 LDA $1602,Y (1st two letters of character's name)
C2/30AC: 9D AF 2E STA $2EAF,X
C2/30AF: B9 04 16 LDA $1604,Y (middle two letters of character's name)
C2/30B2: 9D B1 2E STA $2EB1,X
C2/30B5: B9 06 16 LDA $1606,Y (last two letters of character's name)
C2/30B8: 9D B3 2E STA $2EB3,X
C2/30BB: FA PLX (get actual ID of character?)
C2/30BC: B0 06 BCS $30C4 (if character # is >= 0Eh [Banon], then don't bother marking
them for purposes of what can be equipped on whom)
C2/30BE: 7B TDC (Clear Accumulator)
C2/30BF: 38 SEC (set carry flag)
C2/30C0: 2A ROL (move up a bit, starting with bottom)
C2/30C1: CA DEX
C2/30C2: 10 FC BPL $30C0 (move bit into position determined by actual # of character.
so for Character #3, only Bit #3 is on)
This saves the proper bit per battle character slot for which gear can be re-equipped in battle. That CMP #$0E will need to be changed in addition to whatever blocks the character from re-equipping in battle.
Also, I added expanding the attack list to my list of things to do. Unless we want to reuse a bunch of attacks, it probably needs to get done. Plus I had insomnia the other night and have a rough idea for how I might do it.
Let's Hack FF6 Stream: https://www.twitch.tv/b_run_
FFVI - Children of Vector: http://www.ff6hacking.com/forums/showthr...p?tid=2386
Monster AI Upgrade Patch: http://www.ff6hacking.com/forums/showthr...p?tid=2673
MMMMMagic 2.0: http://www.ff6hacking.com/forums/showthr...p?tid=3330
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 2 Guest(s)