Submarine Crew

Submarine Crew is an enemy from Final Fantasy VII. The party will not pose after defeating the two Submarine Crew enemies before boarding the submarine.
==Stats==
==Formations==
#	Formation
 	Submarine Crew A, Submarine Crew B
 	Submarine Crew
 	Submarine Crew A, Submarine Crew B
 	Submarine Crew A, Submarine Crew B, Submarine Crew C (Attack from both sides)
 	Submarine Crew A, Submarine Crew B
 	Submarine Crew A, Submarine Crew B, Submarine Crew C (Attack from both sides)
 	Row 1: Submarine Crew A, Submarine Crew BRow 2: Captain
==Locations==
Junon Path 	Junon Path
Elevator 	763 (event)
Path 1 	763 (event), 763 (event)
Underwater Reactor	Underwater Reactor
Interior 	768 (event), 769 (event), 770 (event)
Submarine Dock 	769 (event), 769 (event)
Submarine #2 	Submarine #2
Bridge 	786 (event)
Passage 	785 (event)
Submarine #1 	Submarine #1
Bridge 	786 (event)
Passage 	784 (event)
==Battle==
Like most other Shinra troops, the Submarine Crew only have physical attacks, and can be defeated easily with Enemy Skills (including L4 Suicide). The rare Shinra Beta armor can be won from them, and are one of the party's few sources of 8-inch Cannons.
Due to an error in his AI, Submarine Crew never uses his Hand Grenade attack unless manipulated. He was intended to be able to use a maximum of three Hand Grenades in a battle (although this limit would only account for uses while not manipulated), before having to resort to Machine Gun. This same behavior is seen in Grenade Combatant and Marine. However, instead of the enemy selecting Hand Grenade, the enemy selects Machine Gun.
Submarine Crew will target a random party member with Machine Gun every turn while his HP is above 75%. If his HP is 75% or below, he will use Machine Gun on the party member with the lowest HP.
==AI script==
AI: Setup
{
:TempVar:GrenadeAmmo = 3
}
AI: Main
{
:If ((TempVar:Setup == 0) & (Battle is Captain Special Battle)) Then
:{
::Print Message ["Eyaaarrrgh!"]
::TempVar:Setup = 1
::RunCmd 0x24/0x00
:}
:If (Stage == 0) Then
:{
::If (TempVar:GrenadeAmmo == 0) Then
::{
:::Choose Random Opponent
:::Use <Machine Gun> on Target
::} Else {
:::Choose Random Opponent
:::Use <Machine Gun> on Target
:::TempVar:GrenadeAmmo = TempVar:GrenadeAmmo - 1
::}
:} Else {
::Choose Random Opponent with Lowest HP
::Use <Machine Gun> on Target
:}
}
AI: Counter - General
{
:If (Submarine Crew's HP <= 75% of Submarine Crew's Max HP) Then
:{
::Stage = 1
:} Else {
::Stage = 0
:}
}
AI: Counter - Death
{
:If (Battle is Captain Special Battle) Then
:{
::If (Self is Submarine Crew A) Then
::{
:::Print Message ["Captain... I can't hold on any longer!"]
::} Else {
:::Print Message ["The Special Pose..."]
::}
::RunCmd 0x24/0x00
:}
}
==Related enemies==
*Attack Squad
*Captain
*Grenade Combatant
*Marine
*MP
*Underwater MP
Category:Enemies in Final Fantasy VII