Users browsing this thread: 1 Guest(s)
About desperation moves...
07-07-2014, 09:28 AM
(This post was last modified: 07-07-2014, 09:31 AM by Tenkarider.)
Thanks,
After spending a lot of time studying(or trying ) the code of desperation and target in general, i made up a try...
C2/295A 20 69 64 (jump to 026669, headered)
EA EA EA EA (nothing x 4, for replace 7 bytes)
C2/6669 F0 07 (branch if equal, skip 7 bytes) (related to the original code above the first line, so nothing strange)
A5 B6 (LDA selected spell, the desperate)
C9 F0 (CMP F0, > 0 if B6 >= F0)
B0 01 (BCS 01, if CMP above is >= 0, skip 1 byte)
60 (RTS, all checks failed, so nothing happens)
AD A0 11 (LDA spell aiming byte)
85 BB (STA to targeting byte)
60 (RTS, the first check that work triggers LDA, STA)
I was quite confident on the result... nothing changes
Still better than a crash or crappy stuff, i guess...
What do you think about the code?
Could it had a chance of working, or i'm on completely the wrong track?
After spending a lot of time studying(or trying ) the code of desperation and target in general, i made up a try...
C2/295A 20 69 64 (jump to 026669, headered)
EA EA EA EA (nothing x 4, for replace 7 bytes)
C2/6669 F0 07 (branch if equal, skip 7 bytes) (related to the original code above the first line, so nothing strange)
A5 B6 (LDA selected spell, the desperate)
C9 F0 (CMP F0, > 0 if B6 >= F0)
B0 01 (BCS 01, if CMP above is >= 0, skip 1 byte)
60 (RTS, all checks failed, so nothing happens)
AD A0 11 (LDA spell aiming byte)
85 BB (STA to targeting byte)
60 (RTS, the first check that work triggers LDA, STA)
I was quite confident on the result... nothing changes
Still better than a crash or crappy stuff, i guess...
What do you think about the code?
Could it had a chance of working, or i'm on completely the wrong track?
THE GREATEST CHALLENGE OF ALL TIMES AWAITS:
http://www.ff6hacking.com/forums/showthr...p?tid=2593
DO YOU HAVE WHAT IT TAKES TO SLAY A GOD?
------------------------------------------------------------------------
Tenkarider's project #2 is started: FF6 Curse of the Madsiur Joke (CotMJ)
http://www.ff6hacking.com/forums/showthr...p?tid=2755
What happens when Madsiur tweaks your account? This full game hack will show that!
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)