Users browsing this thread: 1 Guest(s)
terra's magitek
06-09-2013, 08:37 PM
You are correct, Mad. Its because Terra's sprite ID is 0 that it doesn't need a CMP to have BNE branch properly. There are a bunch of ASL that you can move off to another portion of the code to make it all fit.
this:
change to this:
Then just shove off the ASLs and sprite index loading elsewhere:
With this you can change it to anyone you want, or even a couple people, or if you really wanted to get fancy, create a few more branches and set up 3-4 different Magitek setups... but that would require a LOT more ASM in other parts of the code.
On an unrelated note, Quoting isn't working properly for me, Sometimes if I set up a "quote many" I can make it work, but normally I just get a blank reply box. Why is this forum so buggy for me and no one else?
this:
Code:
C1/4D45: 0A ASL A
C1/4D46: 0A ASL A
C1/4D47: 0A ASL A
C1/4D48: 0A ASL A
C1/4D49: 0A ASL A
C1/4D4A: A8 TAY
C1/4D4B: B9AE2E LDA $2EAE,Y
C1/4D4E: D010 BNE $4D60 (branch if not Terra)
change to this:
Code:
C1/4D45: 22XXXXXX JSL XX/XXXX (Where XX/XXXX 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
C1/4D4B: EA NOP
C1/4D4C: C903 CMP #$03 (Is this Shadow?)
C1/4D4E: D010 BNE $4D60 (branch if not)
Then just shove off the ASLs and sprite index loading elsewhere:
Code:
XX/XXXX: 0A ASL A
XX/XXXX: 0A ASL A
XX/XXXX: 0A ASL A
XX/XXXX: 0A ASL A
XX/XXXX: 0A ASL A
XX/XXXX: A8 TAY
XX/XXXX: B9AE2E LDA $2EAE,Y
XX/XXXX: 6B RTL
With this you can change it to anyone you want, or even a couple people, or if you really wanted to get fancy, create a few more branches and set up 3-4 different Magitek setups... but that would require a LOT more ASM in other parts of the code.
On an unrelated note, Quoting isn't working properly for me, Sometimes if I set up a "quote many" I can make it work, but normally I just get a blank reply box. Why is this forum so buggy for me and no one else?
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)