FANDOM


The Sahagin is an enemy from Final Fantasy IX. It can be found in the Qu's Marsh on the Outer Continent. The Sahagin can retreat into its shell to nullify physical attacks.

StatsEdit

AI Script Edit

Function Sahagin_Init


   set attacklist = [ Impale ; Water ; Water-gun ; Water-gun ; Shell Defense ]

Function Sahagin_Loop
   if ( !initflag )
      set initflag = TRUE
      set basedefence = SV_FunctionEnemy[DEFENCE]
   if ( ( SV_FunctionEnemy[HP] == 0 ) && ( ( SV_EnemyTeam[MODEL] ==$ SV_FunctionEnemy[MODEL] ) == SV_FunctionEnemy ) )
      set SV_FunctionEnemy[STOP_ANIM] = 2
      set SV_FunctionEnemy[PLAY_ANIM_ONCE] = 0
   Wait( 1 )
   loop

Function Sahagin_ATB
   if ( !shellstate )
      set selectedattack = RandomAttack( attacklist )
      if ( selectedattack == Impale )
         set SV_Target = RandomInTeam(SV_PlayerTeam)
      elseif ( selectedattack == Water )
         set SV_Target = RandomInTeam(SV_PlayerTeam)
      elseif ( selectedattack == Water-gun )
         set SV_Target = RandomInTeam(SV_PlayerTeam)
      elseif ( selectedattack == Water-gun )
         set SV_Target = RandomInTeam(SV_PlayerTeam)
      elseif ( selectedattack == Shell Defense )
         set SV_Target = SV_FunctionEnemy
      Attack( selectedattack )
   else
      if ( ++shellstatecounter >= 2 )
         set shellstatecounter = 0
         set SV_Target = SV_FunctionEnemy
         Attack( Let’s go! )
      else
         set SV_Target = RandomInTeam(SV_PlayerTeam)
         Attack( Guarding )

Function Sahagin_CounterEx
   if ( GetAttacker == SV_FunctionEnemy )
      if ( ( GetAttackId == Shell Defense ) || ( GetAttackId == Let’s go! ) )
         if ( !shellstate )
            set SV_FunctionEnemy[DEFENCE] = 255
         else
            set SV_FunctionEnemy[DEFENCE] = basedefence


         set shellstate = ++shellstate & 1

Tetra Master Edit

Tetra Master
Card010
#010
Location: Lindblum


Gallery Edit

Etymology Edit

Sahuagin (often misspelled or transliterated "sahagin") are fishlike, monstrous humanoids that appear in the Dungeons & Dragons role-playing game.