Aslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=706.0;prev_next=nexte:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index83bc.htmldelayedslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=706.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index83bc.html.zxc\g^Ћ&OKtext/htmlISO-8859-1gzip8:&HTue, 10 Mar 2020 09:39:06 GMT0 0Pc\g^& React vs Elemental

Author Topic: React vs Elemental  (Read 1273 times)

Deathlike2

  • Moderator
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
React vs Elemental
« on: October 26, 2012, 04:11:39 PM »
Note: This is not about counter attacks... rather it is about a special type of script that is run when an elemental spell is used.

These scripts are rarely used in the game and are rarely noticed.

AFAIK, these are the only monsters that use them:
Spirit series of monsters (Spirit, Soul, Ghost) - react vs Ice
Mech Soldier and Beamer (found only on the Giant or Giant-based levels) - react vs Lightning

I'm not aware of any other monsters at the moment, so feel free to add if I missed any.

One of the cool things about "freezing" the Spirit is that the code says that they "do nothing". Think about the logic of being able to freeze a spirit. It's simply immobile.
So, it was a fun idea of mine to use the IceRod's innate spell on the monsters on Mt. Hobs. It worked nice. They simply stopped attacking altogether.
However, this "feature" or scripted portion was removed in FF4WS (and subsequently FF4A, which probably applies to the PSP version too).

In the Giant, you were supposed to be able to "shock the machines" and make them go haywire (FF4:TAY has an example of that).
However, it was limited to two monsters... but they were a fairly common bunch.
The script is pretty simple... just randomly attack monsters (including themselves) with their designated attack (Beamers with their Beam attack, Machines with Fight).
It works... but they eventually revert back to attacking you. I'm not entirely sure if there's some sort of randomized test to see if they stop running that script,
but I'm leaning towards a limited number that is generated (between 1 and 5?) that they will continue to run the elemental script before running their normal script behavior.

This operates very differently from Charm/Confuse status, where the game checks for the current status before running the script. The monster is compelled to run the attack script even it is attacking itself... multiple times.

The major difference between FF4 SNES and FF4A (probably includes FF4WS and FF4PSP) is that the elemental reaction script is applied correctly to all monsters in FF4A...
In FF4 SNES, it is only applied to one monster that the script applies to. For instance, a 3 Mech Soldier + 2 Beamer group will usually just have the back-most Soldier being affected by the script.
Of course, this is par for the course when it comes to many FF4 scripting bugs.
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3

Pinkpuff

  • Flan Princess
  • *
  • Posts: 924
  • Find a Megalixir in Unprecedented Crisis!
    • View Profile
Re: React vs Elemental
« Reply #1 on: October 29, 2012, 03:58:58 PM »
There's a bomb on the moon (Dark Grenade I think it's called?) that when you attack it with bolt-elemental magic will suicide and take out its own whole team with it. Is that the same kind of thing or something different?
Let's dance!

Deathlike2

  • Moderator
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
Re: React vs Elemental
« Reply #2 on: October 29, 2012, 05:26:53 PM »
That's a counter reaction - a one time only response occurs to corresponding situation.

The difference between counter reactions and "react vs elemental" (I should name it better) is that the monster doesn't actually run a counter script (which is limited). The monster itself can run an entirely different script that runs at least once.

In a way, you could rewrite the counter script to set a few bits.... however the length of the reaction would be fixed, not random.

My suggestion is that you try out using lightning on the default machines (Beamer/MechSoldier) and see how many turns they spend killing each other. The # of times they do it is COMPLETELY random. You cannot write a counter script that causes such randomness... it would only be fixed/finite.

I would like to point out that it seems to specifically react to targeting... when it comes to "target random monster".
« Last Edit: October 29, 2012, 10:56:38 PM by Deathlike2 »
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: React vs Elemental
« Reply #3 on: October 30, 2012, 08:55:12 AM »
How curious... I recall the Lightning part on some machines but I did not know that about the Spirits (is it all spirits or just the ones on Mt. Hobbs?) Where is this reaction vs. elemental being read from? And does it apply to weapon elemental as well?

Deathlike2

  • Moderator
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
Re: React vs Elemental
« Reply #4 on: October 30, 2012, 12:02:34 PM »
It's the Spirit monster set, which I've already named.. not the racial type (the Ghost monster ironically is not classified as such). You can find the Spirit and Soul monsters on Mt. Hobs and Mt. Ordeals.. and the Ghost (Evil Dreamer) can be found at the Sylph's Cave.

The script is being read from their complete battle script, not from their counter script.

I was also specific that it was only caused by using the appropriate elemental spell.

Please try to reread what I wrote as some of the questions asked have been more or less addressed in my original post.
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3