Aslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=466.0;prev_next=nexte:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index0a8a.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=466.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index0a8a.html.zx&g^ OKtext/htmlISO-8859-1gzip8:Tue, 10 Mar 2020 15:06:38 GMT0 0P&g^ FF2/4/4A Enemy Counterattack Scripts...

Author Topic: FF2/4/4A Enemy Counterattack Scripts...  (Read 2143 times)

Deathlike2

  • Moderator
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
FF2/4/4A Enemy Counterattack Scripts...
« on: December 27, 2007, 05:06:55 PM »
As far as I can tell, there are a number of counter scripts that are executed by various monsters... please let me know if any of this is wrong or if anything else is missing:

1) React vs HP damage?
2) React vs Physical Attacks (Lamia for example)
3) React vs Magical Attacks (Queen Lamia for example)
4) React vs Elemental (Behemoth, Rubicante for examples)
5) React vs Summon (The boss guarding the Ragnarok/Crystal Sword)
Working on the next Yet To Be Named FF4 "Hardtype" Hack Download Latest: v1.48

Video Demos: #1 #2 #3

Dragonsbrethren

  • Forum Overlord
  • *
  • Posts: 1,820
    • View Profile
    • Dragonsbrethren Industries
Re: FF2/4/4A Enemy Counterattack Scripts...
« Reply #1 on: January 01, 2008, 03:16:43 PM »
Those are all correct. Counters are also used for some battle events, for example the lines Golbez and Tellah say during their fight are elemental counters, Golbez ends the battle by casting Vanish (Instant death skill, no name is displayed) on himself when hit with Holy.

Deathlike2

  • Moderator
  • *
  • Posts: 3,538
  • I'm looking at you, bitch!
    • View Profile
Re: FF2/4/4A Enemy Counterattack Scripts...
« Reply #2 on: April 23, 2008, 11:35:00 PM »
Hmmm... it just dawned on me.  :wtf: :omg:

Part of the battle scripts, including counter scripts seem to have scripts running based on current statuses...

Most enemies don't really have any relatively useful egg scripts (it's simply do nothing).

The same thing occurs with Charm status..

I could be totally wrong, but I think I have something worth looking into..

If the battle script checks actual statuses (like, Egg and Charm status has a specific value that is compared against), you could arguably construct significantly more powerful battle scripts.. such as executing a particular attack while under Silence or massively more evil counters against Poison status (to prevent monster harvesting or something along those lines).
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: FF2/4/4A Enemy Counterattack Scripts...
« Reply #3 on: April 24, 2008, 08:31:07 AM »
Quote
The same thing occurs with Charm status..

Most definitely. I specifically remember charming one of the FloatEyes from the beginning of the game and it used Death/Fatal on one of its own guys! Also the early game Cockatrices use Beak (stone) under charm.
Let's dance!

Imzogelmo

  • Ogopogo Aficianado
  • *
  • Posts: 241
  • Gender: Male
  • Ask me about my other job.
    • View Profile
    • NEPROMR
Re: FF2/4/4A Enemy Counterattack Scripts...
« Reply #4 on: April 24, 2008, 03:48:08 PM »
How much/what is known about the scripts (regular and counter), as far as what is possible? I'm trying to come up with a way to compare FF4/5/6 's different scripts to see what is common to all.
5/31/16 - I have an assembly of the battle portion of C2, relocated to the F0 bank, which has both vanilla and patch code in my dropbox. I'll be updating it with additional patches as I have time. I will *not* be releasing it publicly, but ask me for the link and I'll share.