Users browsing this thread: 1 Guest(s)
terra's magitek
04-08-2014, 12:05 AM
I figured it out! Mostly...
The answer to the second part of my problem is that there's a second section of code that sets the actual spells selected. I modified it the same way as the other section.
So here's Edrin's modified code:
So here are the results of this new code:
Terra - Standard list and standard spells
Wedge - Terra's list and Terra's spells
Vicks - Terra's list and Terra's spells
Mog - Standard list and standard spells
Wedge and Vicks are weird. When I change it to $0F for Vicks, no one gets Terra's list and spells. I guess they are both tied to $0E somehow. That answers the first part of my question in my previous post, kind of...
Because when I change the byte to $0A for Mog, here's what I get:
Terra - Standard list and standard spells
Wedge - Standard list and standard spells
Vicks - Standard list and standard spells
Mog - Terra's list and Terra's spells
So it appears to work properly for Mog. Presumably it will work for Shadow or any of the other main characters.
Thanks, Edrin and the others who contributed in this thread! Hopefully this can benefit someone else as well.
The answer to the second part of my problem is that there's a second section of code that sets the actual spells selected. I modified it the same way as the other section.
So here's Edrin's modified code:
Code:
(This is the section where the visual menu is built.)
C1/4D45: 22 A4 FC 0E JSL CE/FCA4 (Where 0E/FCA4 is the location of the moved code, remember to enter your byte words backwards, so a jump to 12/3456 goes 22 56 34 12)
C1/4D4A: EA NOP (I added this line. It was missing from the example.)
C1/4D4B: EA NOP
C1/4D4B: EA NOP
C1/4D4C: C9 0E CMP #$0E (Is this Wedge?) (will change this to Shadow after play testing)
C1/4D4E: D0 10 BNE $4D60 (branch if not)
(This is the section where the actual selection is built.) (I added this section.)
C1/866D: 22 A4 FC 0E JSL CE/FCA4 (Where 0E/FCA4 is the location of the moved code, remember to enter your byte words backwards, so a jump to 12/3456 goes 22 56 34 12)
C1/8671: EA NOP
C1/8672: EA NOP
C1/8673: EA NOP
C1/8674: C9 0E CMP #$0E (Is this Wedge?) (will change this to Shadow after play testing)
C1/8676: D0 08 BNE $8680 (branch if not)
(This is the remote subroutine that gets the active character's number.) (It's conveniently used for both parts above.)
CE/FCA4: 0A ASL A
CE/FCA5: 0A ASL A
CE/FCA6: 0A ASL A
CE/FCA7: 0A ASL A
CE/FCA8: 0A ASL A
CE/FCA9: A8 TAY
CE/FCAA: B9 AE 2E LDA $2EAE,Y
CE/FCAD: 6B RTL
So here are the results of this new code:
Terra - Standard list and standard spells
Wedge - Terra's list and Terra's spells
Vicks - Terra's list and Terra's spells
Mog - Standard list and standard spells
Wedge and Vicks are weird. When I change it to $0F for Vicks, no one gets Terra's list and spells. I guess they are both tied to $0E somehow. That answers the first part of my question in my previous post, kind of...
Because when I change the byte to $0A for Mog, here's what I get:
Terra - Standard list and standard spells
Wedge - Standard list and standard spells
Vicks - Standard list and standard spells
Mog - Terra's list and Terra's spells
So it appears to work properly for Mog. Presumably it will work for Shadow or any of the other main characters.
Thanks, Edrin and the others who contributed in this thread! Hopefully this can benefit someone else as well.
« Next Oldest | Next Newest »
![]() |
![]() |
|||
|
||||
![]() |
![]() |
Users browsing this thread: 1 Guest(s)