Aslickproductions.org/forum/index.php?topic=344.15e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexd439.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=344.15e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexd439.html.zxGg^[OKtext/htmlISO-8859-1gzip8:Tue, 10 Mar 2020 08:11:10 GMT0 0PGg^! Cry/Fake Tears Command

Author Topic: Cry/Fake Tears Command  (Read 4733 times)

Deathlike2

  • Moderator
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
Re: Cry/Fake Tears Command
« Reply #15 on: October 03, 2013, 07:37:46 PM »
"Run Strength" to my knowledge had a lot more to do with the level of the enemy you are running from.

For instance, if you do an initial run of the Lunar Subterrane, running from the basic enemies wasn't too hard.

When you reach the Lunar Core... every monster takes forever to run away from. AFAIK every monster is @ level 99.

Do what you will with this info.

It has zero to do with bosses (other than Cry not working vs them), but has everything to do with level.
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3

Grimoire LD

  • FF4 Hacker
  • *
  • Posts: 1,684
    • View Profile
Re: Cry/Fake Tears Command
« Reply #16 on: October 03, 2013, 09:54:45 PM »
Hmm, I just tested this with a lvl. 100 Zombie against a Level 10 party... There were a lot of Back Attacks which prevented us from running until they got a full turn in, but running away from them after that only took 2 or 3 seconds, maybe a little longer than ordinary. I really couldn't tell. Everyone knows that level is also concerned in back attacks and  pre-emptive strikes, I wonder if it has anything to do with that?

But Cry does work against bosses. All it would seem to do though is increase your chances of stealing a Cure1 from them.

Deathlike2

  • Moderator
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
Re: Cry/Fake Tears Command
« Reply #17 on: October 04, 2013, 10:07:31 AM »
Level definitely influences back attacks, as that tends to tell you that you're underleveled.

It's more noticeable in TAY, probably due to "adjusted limits".

I'd have to look into FF4A with the ability to use Cry+Steal.
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3

Deathlike2

  • Moderator
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
Re: Cry/Fake Tears Command
« Reply #18 on: October 12, 2013, 01:12:07 PM »
Cry doesn't seem to have any impact in Stealing (tried using codes to add Cry to the command list and no noticeable change occurred).
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3

Grimoire LD

  • FF4 Hacker
  • *
  • Posts: 1,684
    • View Profile
Re: Cry/Fake Tears Command
« Reply #19 on: October 12, 2013, 03:34:54 PM »
Hmm, that means one of two things... FFIV:A's cry may do something more intelligent. Or Steal is based differently in FFIV:A. Steal may look directly at enemy levels in FFIV:A, possibly.

Deathlike2

  • Moderator
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
Re: Cry/Fake Tears Command
« Reply #20 on: October 13, 2013, 01:44:41 PM »
I've tried it in both FF2 US (through Game Genie codes) and FF4A and there really is no difference. It has no effect AFAIK.
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3

Grimoire LD

  • FF4 Hacker
  • *
  • Posts: 1,684
    • View Profile
Re: Cry/Fake Tears Command
« Reply #21 on: October 13, 2013, 02:31:29 PM »
That directly goes against the coding for the very command itself...

Code: [Select]
$03/E1EA 20 8B 85 JSR $858B  [$03:858B] A:0081 X:002E Y:0000 P:eNvMxdizc - 03858B - Jump to RNG Routine.
$03/E1ED 85 A9 STA $A9    [$00:00A9] A:000F X:0000 Y:0000 P:eNvMxdizc - Store Random Number in A9.
$03/E1EF 18 CLC A:0035 X:0000 Y:0000 P:envMxdizc - Clear Carry Flag.
$03/E1F0 A9 32 LDA #$32 A:0035 X:0000 Y:0000 P:envMxdizc - Load 32 into A (50?)
$03/E1F2 6D 82 26 ADC $2682  [$7E:2682] A:0032 X:0000 Y:0000 P:envMxdizc - + Caster's Level.
$03/E1F5 38 SEC A:003C X:0000 Y:0000 P:envMxdizc - Set Carry Flag
$03/E1F6 ED 2F 27 SBC $272F  [$7E:272F] A:003C X:0000 Y:0000 P:envMxdizC - (Oh my God... It's the real purpose of 2F in Data... "Run Strength" is actually "Steal Prevention" - It mostly coincides with Enemy Level + 10, which is why we thought it was based solely on level. So what Cry actually does is it Increases your chance to Steal... So Why in Heaven's Name is it given to a character that can't even be in the party at the same time as the one with Steal?!.)
$03/E1F9 B0 04 BCS $04    [$E1FF] A:002C X:0000 Y:0000 P:envMxdizC - If greater than 00? branch to 03E1FF
...

To repeat myself...

"Whew! Now that was work but a lot of valuable information came out of this. First and foremost is finally the purpose of that Mystery Byte that we've been calling "Run Strength" for years on end. What it actually is a "Steal Prevention" byte. It appears to be Enemy Level +10(decimal) for Enemies. Which means the Purpose of Cry is to make it easier to Steal Items. Well done Square! Under normal circumstances that situation can never happen! In addition is all the chances of success are recorded below so Cry is absolutely, positively, worthless under normal gameplay circumstances.

50 + Level - Target's Steal Prevention = Amount that will be tested against a Random Number (which seems like it can range from 1-255.) - If the value is over 100 it is an automatic success. (which can only happen in levels 60 and up.)  I wonder if this 2F Byte might also be dealing something with Odin as well...."

And Cry is a very specific command it is difficult to get its function wrong...

Code: [Select]
...
$03/EAF0 A6 A6 LDX $A6    [$00:00A6] A:0010 X:0024 Y:0000 P:envMxdizc - Load User's Slot.
$03/EAF2 BD 2F 20 LDA $202F,x[$7E:202F] A:0010 X:0000 Y:0000 P:envMxdiZc - Load User's ?Steal Prevention?
$03/EAF5 4A LSR A A:000A X:0000 Y:0000 P:envMxdizc - /2.
$03/EAF6 85 A9 STA $A9    [$00:00A9] A:0005 X:0000 Y:0000 P:envMxdizc Store it in A9.
$03/EAF8 A2 05 00 LDX #$0005 A:0005 X:0000 Y:0000 P:envMxdizc - Load 0005 into X. (Gets to Monster Slots)
$03/EAFB 86 AB STX $AB    [$00:00AB] A:0005 X:0005 Y:0000 P:envMxdizc - Store X in AB.
-------------------------------------------------------------------------(Looping Point)--------------------------------------------------------------------------------------
$03/EAFD A6 AB LDX $AB    [$00:00AB] A:0005 X:0005 Y:0000 P:envMxdizc - Load X from AB.
$03/EAFF BD 40 35 LDA $3540,x[$7E:3545] A:0005 X:0005 Y:0000 P:envMxdizc - Load A from 7E3545 (Slots of Monsters)
$03/EB02 D0 15 BNE $15    [$EB19] A:0000 X:0005 Y:0000 P:envMxdiZc - If not 00 branch to 03EB19.
$03/EB04 8A TXA A:0000 X:0005 Y:0000 P:envMxdiZc - Transfer X to A.
$03/EB05 20 89 84 JSR $8489  [$03:8489] A:0005 X:0005 Y:0000 P:envMxdizc - Jump to Subroutine (Preparation?)
$03/EB08 A6 A6 LDX $A6    [$00:00A6] A:0000 X:05A0 Y:0000 P:envMxdizc - Load Slot from A6.
$03/EB0A 38 SEC A:0000 X:0280 Y:0000 P:envMxdizc - Set Carry Flag.
$03/EB0B BD 2F 20 LDA $202F,x[$7E:22AF] A:0000 X:0280 Y:0000 P:envMxdizC - Load Monster's Steal Prevention.
$03/EB0E E5 A9 SBC $A9    [$00:00A9] A:006E X:0280 Y:0000 P:envMxdizC - The value from what is in A9 (which will always be 05, because it does not change throughout the game as far as I'm aware)
$03/EB10 F0 02 BEQ $02    [$EB14] A:0069 X:0280 Y:0000 P:envMxdizC - If 00 branch to 03EB14.
$03/EB12 B0 02 BCS $02    [$EB16] A:0069 X:0280 Y:0000 P:envMxdizC - If above 00 branch to 03EB16.
-------------------------------------------------------------------------------------------------------------------------------------------
$03/EB14 A9 01 LDA #$01 A:00FC X:0280 Y:0000 P:eNvMxdizc - Load 01 into A.
-------------------------------------------------------------------------------------------------------------------------------------------
$03/EB16 9D 2F 20 STA $202F,x[$7E:22AF] A:0069 X:0280 Y:0000 P:envMxdizC - Store A in Monster's Steal Prevention.
...

The reason you may not have been seeing much of an impact is all dependent on the foes you tested this on. If you tested it on say, Imp it would give no real positive. But if you test this on a very high level monster with a Level 25 Edge and continue to use Cry the chance of stealing an item should become a lot more possible.

I'll test that now and see what happens.

Yes, I tested this on Level 100 Zombies that had a default 6E in their Steal Prevention slot (100+10) and used Cry many times to bring it down to 01. At first I could not steal anything when they had 110 Steal Prevention, but when I used Cry and whittled it down to 1 I was succeeding a lot more than I was failing.

9/10 Times at 6E Steal prevention I failed (And that 1 was likely quite a fluke)
2/10 Times at 01 Steal Prevention I failed to steal.

Deathlike2

  • Moderator
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
Re: Cry/Fake Tears Command
« Reply #22 on: October 13, 2013, 06:43:09 PM »
I'll do more extensive testing later.
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3