Users browsing this thread: 1 Guest(s)
ASM Tasks
09-29-2016, 09:51 AM
(09-29-2016, 09:11 AM)HatZen08 Wrote: Unfortunately, the selection of the equipment that they can switch inside battle is wrong. Does someone know where is the code where the available equipment for switch inside battle is setup?
Here's where to fix which equipment works inside battle.
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)
change "C2/30A4: C9 0E CMP #$0E" to "CMP #$10" and you should be set. Characters $0E and $0F weren't making it to the code that sets their bit.
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: 1 Guest(s)