Diablo (Final Fantasy VII)

Diablo is an enemy from Final Fantasy VII, encountered in the Ancient Forest.
==Stats==
==Formations==
#	Formation
 	Diablo
 	Diablo, Rilfsak A, Rilfsak B
 	Row 1: Diablo ARow 2: Diablo B
 	Diablo
 	Diablo A, Diablo B (Back Attack)
==Locations==
Ancient Forest	Ancient Forest
Center Area 	790, 791
Treetops 	790, 791
Left Area 	790, 791
Right Area 	790, 791
Cave 	976, 978, 979 (Back Attack)
==Battle==
It uses Flame after receiving an Ice-elemental magical attack from Magic, Summon or E.Skill. It uses Cold after receiving a fire-elemental magical attack from Magic, Summon or E.Skill.
Due to flaws in the AI script, Diablo does not react to most spells as it should:
*It will react to the correct Magic/W-Magic spells properly.
*It will react to Mute Mask, War Gong, Loco weed, Impaler and Ink with Cold.
*It will react to Fire Fang, Fire Veil, Antarctic Wind and T/S Bomb with Flame.
*It will not react to Pahsana Greens or Holy Torch, despite them having the correct ID (they do not trigger the counter attack).
*It will not react to any Summon or E. Skill.
==AI script==
AI: Main
{
:If (TempVar:Counter == 1) Then
:{
::Choose SelectTar
::Use TempVar:ChosenAtt on Target
::TempVar:Counter = 0
:} Else {
::Choose Random Opponent
::Use <Horn Bomber> on Target
:}
}
AI: Counter - Magical
{
:If (Last Sub-Command == 0x1B (Fire), 0x1C (Fire2), 0x1D (Fire3),
:::0x32 (Flare), 0x3A (Ifrit), 0x42 (Phoenix), 0x50 (Flame Thrower)
:::or 0x54 (Beta)) Then
:{
::SelectTar = Choose Diablo's Last Attacker (Magical)
::TempVar:ChosenAtt = Cold
::TempVar:Counter = 1
:} Else If (Last Sub-Command == 0x1E (Ice), 0x1F (Ice2), 0x20 (Ice3),
::::: 0x2F (Freeze) or 0x39 (Shiva)) Then {
::SelectTar = Choose Diablo's Last Attacker (Magical)
::TempVar:ChosenAtt = Flame
::TempVar:Counter = 1
:}
}
==Gallery==
Cold.png|Cold.
FFVII Flame.png|Flame.
==Related enemies==
*Velcher Task
Category:Enemies in Final Fantasy VII