About desperation moves...
#1
Now, i'm trying to customize desperation attacks, in order to give them a reason of exist Laugh

While testing, i noticed that they ignore target flags setted by me, they'll always keep to target the same target that should have been hit from the normal attack(except if i set special effect, like launcher or quadra slash types of attack).

Is there a way to modify the target of desperations?
Maybe with hex editing? in the case i'd like to know the hex position that
deals with the target selection of desperations Smile
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!
Reply
#2
Go to Assassin's page and the C2 document and search for 'desperation attack' and you'll find the code to edit. The C2 bank deals with all things battle related.

http://www14.brinkster.com/assassin17/guides.htm
We are born, live, die and then do the same thing over again.
Reply
#3
I see...

I scrolled the whole disassembly page, but i haven't find any description about desperates, i should had to pay more attention, i guess... Sad

If someone remembers the exact position in the c2 bank, it will help me a lot.
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!
Reply
#4
dude use control f (find) and type in 'desperation'. lol don't you know how to search like that as to not have to scroll entire documents to find what you are looking for?
We are born, live, die and then do the same thing over again.
Reply
#5
Ok, i think i have seen something useful, but i'm confused:

the code should start here:
C2/15C8: C0 08 CPY #$08

and it ends just before this line:
C2/1610: C0 08 CPY #$08

Actually it makes a jump, followed by others jumps Huh
So i don't get in which line i really have the chance to reset the target
(the target selected for the attack, i think), and so make decide who will be the true target to my setted flags on ff3usme.

Any suggestions? Wink
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!
Reply
#6
I don't know how to solve your problem, but if you trace the code in the desperation attack section, you'll jump where the command is set as magic and enventually end up in the following section. This is where the targeting byte ($11A0) is or is not used:

Code:
C2/274D: 8D 10 34     STA $3410   (Magic and numerous other commands enter here)
C2/2750: 80 02        BRA $2754   (load spell data for [equipment] magic)


C2/2752: A9 EE        LDA #$EE    (select Spell EEh - Battle)
C2/2754: 20 66 29     JSR $2966   (go load spell data)
C2/2757: A5 BB        LDA $BB     (targeting byte as read from $CFFE01 table?)
C2/2759: 1A           INC        
C2/275A: D0 05        BNE $2761   (branch if it wasn't FF.. if it was, it's null, so we use
                                   the spell byte instead)
C2/275C: AD A0 11     LDA $11A0   (spell aiming byte)
C2/275F: 85 BB        STA $BB
Reply
#7
Thanks,

After spending a lot of time studying(or trying Laugh ) 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 Sad
Still better than a crash or crappy stuff, i guess... Laugh

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!
Reply
#8
One issue I've noticed with desperation attacks is that they seem to disregard the reactive half of the target's script, so that they are never countered and (more importantly) can f**k with scripting tricks used to break the 16-bit HP cap unless you've got a really good buffer in place.
"You don't have to be a vampire to die like one... b*t*h." -Simon Belmont
Reply
#9
About breaking hp limit damage 16 bit cap... that means that it's still possible to deal a maximum of 65535 damage? Kungfu!
(Anyway it wasn't on my plans...)


About targeting, are you saying that it's not possible to edit the target? Surprised

Edit: Ok, that's just too much stupid... Finger

No code, no hex, not complicated stuff... ;[

I found the solution, i think...

One check in ff3usme: you just need to check randomize target(not randomize selection!!!) in special 1, and you're set. End. Surprised Laugh

Tested a bit, if i decide to set as target all the enemies both sides, with that check, then when i use Riot Blade i'll hit all the enemies.

So i'm pretty sure that it works for real. Kungfu!

If you wanted to customize desperation attacks, but you didn't know how, then follow my advice and you'll be able to do it too Wink

I'll keep to test, anyway... meanwhile, i'm still curious to know the answer to some question still to anwser in the previous posts Smile
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!
Reply
#10
Please stop posting so many emoticons! Putting one after every sentence just to have one there is highly annoying and will soon become a rule here thanks to you.
We are born, live, die and then do the same thing over again.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Giving Everyone the Same Desperation Attack PowerPanda 9 7,127 08-05-2018, 10:46 AM
Last Post: PowerPanda
Black_mage Desperation attacks blackomen 8 6,000 07-27-2018, 10:37 AM
Last Post: Warrax
Gladiator Desperation+ Patch B-Run 14 14,716 03-17-2016, 10:38 AM
Last Post: Catone
  Giving Desperation Attacks to other characters? Scorcher 2 3,391 07-27-2014, 05:47 PM
Last Post: Scorcher
  Changing Sabin's Blitz moves? Jeff 3 4,231 02-16-2014, 10:38 AM
Last Post: Lockirby2
  Desperation Attacks Roseheart 2 4,777 05-02-2012, 01:17 PM
Last Post: madsiur

Forum Jump:


Users browsing this thread: 1 Guest(s)