FANDOM


The Soldier is an enemy from Final Fantasy IX. They are fought in Cleyra and Alexandria Castle. Removing more than 90% of their health will prompt them to escape.

StatsEdit

Cleyra

Alexandria

AI Script Edit

Function Soldier_Loop


   if ( !initflag )
      set hplimitescape = SV_FunctionEnemy[HP] / 10
      set initflag = 1
   if ( #( NotMatching(SV_PlayerTeam[STATUS_CURRENT], PETRIFY | VENOM | DEATH | STOP) & blizzaratarget ) )
      if ( #Matching(blizzaratarget[STATUS_CURRENT], REFLECT) || #Matching(blizzaratarget[STATUS_AUTO], REFLECT) )
         set blizzaratarget = 0
         set SV_FunctionEnemy[PREVENT_ATTACK] = 1
   else
      set blizzaratarget = 0
   if ( GetAttacker == SV_FunctionEnemy )
      set blizzaratarget = 0
   Wait( 1 )
   loop

Function Soldier_ATB
   if ( !( GetRandom % 3 ) )
      if ( SV_FunctionEnemy[MP] > 12 )
         set blizzaratarget = RandomInTeam( NotMatching(SV_PlayerTeam[STATUS_CURRENT], PETRIFY | DEATH | JUMP | REFLECT) & NotMatching(SV_PlayerTeam[STATUS_AUTO], REFLECT) )
         if ( #blizzaratarget )
            set SV_Target = blizzaratarget
            Attack( Blizzara )
   set SV_Target = RandomInTeam(SV_PlayerTeam)
   Attack( Slash )

Function Soldier_Counter
   if ( ( GetAttackCommandId == Skill ) && ( GetAttackId == What's That?! ) )
      return
   if ( SV_FunctionEnemy[HP] <= hplimitescape )
      set SV_Target = SV_FunctionEnemy
      Attack( Escape )

Function Soldier_CounterEx
   if ( GetAttacker == SV_FunctionEnemy )
      if ( GetAttackId != 2 )
      while ( IsAttacking != 0 )
         Wait( 1 )
      if ( #NotMatching(SV_EnemyTeam[STATUS_CURRENT], PETRIFY | VENOM | DEATH | STOP) > 1 )
         set SV_FunctionEnemy[TARGETABLE] = 0
      set SV_FunctionEnemy[MODEL_OFF] = 255
      Wait( 1 )
      if ( !( #( NotMatching(SV_EnemyTeam[STATUS_CURRENT], PETRIFY | VENOM | DEATH | STOP) & SV_FunctionEnemy ) ) )
         set SV_FunctionEnemy[DISAPPEAR] = 0
      if ( #NotMatching(SV_EnemyTeam[STATUS_CURRENT], PETRIFY | VENOM | DEATH | STOP) == 0 )
         set SV_FunctionEnemy[DISAPPEAR] = 0
      elseif ( #NotMatching(SV_EnemyTeam[STATUS_CURRENT], PETRIFY | VENOM | DEATH | STOP) == 1 )
         RunBattleCode( Disable ATB )
         while ( GetBattleState != 1 )
            Wait( 1 )
         if ( GetExpGain )
            RunBattleCode( End Battle, Victory )
         else
            RunBattleCode( End Battle, Escape )
      else


         set SV_FunctionEnemy[PRESENCE_OFF] = 1

Other appearances Edit

Pictlogica Final Fantasy Edit

PFF Soldier FFIX

The Alexandrian soldier appears as an enemy.

Final Fantasy Record Keeper Edit

FFRK Soldier B FFIX

Soldier appears as an enemy.

Gallery Edit

EtymologyEdit

A soldier is one who fights as part of an organised, land based, sea based and air based armed force. A soldier can be an enlisted person, a non-commissioned officer, or an officer in the Army.

Baknamy FFTA2This article or section is a stub about an enemy in Final Fantasy IX. You can help the Final Fantasy Wiki by expanding it.