Final Fantasy Wiki
Register
Advertisement

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.

Stats[]

Cleyra

Alexandria

AI script[]

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 != Escape )
         return
      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[]

Pictlogica Final Fantasy[]

PFF Soldier FFIX

The Alexandrian soldier appears as an enemy.

Final Fantasy Record Keeper[]

FFRK Soldier B FFIX

Soldier appears as an enemy.

Gallery[]

Etymology[]

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

Advertisement