FANDOM


FFIX wiki icon

The Grimlock is an enemy from Final Fantasy IX. The party can find it in the Desert Palace. The Grimlock has different strengths and weaknesses based on which colored head is on the top.

The Red head is a high physical damage dealer but has low Magic Defense; while the Blue head casts adverse, status-inducing spells and has low physical Defense. This enemy is easily killed by Quina's LV5 Death Blue Magic ability.

StatsEdit

Red

Blue

AI Script Edit

Function Grimlock_Init
   set attacklist = [ Stop ; Slow ; Sleep ]


Function Grimlock_Loop
   if ( !initflag )
      set initflag = 1
      set basedefence = SV_FunctionEnemy[DEFENCE]
      set basemagicdefence = SV_FunctionEnemy[MAGIC_DEFENCE]
      set SV_FunctionEnemy[DEFENCE] = basedefence * 4
      set SV_FunctionEnemy[MAGIC_DEFENCE] = basemagicdefence / 4
      set defence = SV_FunctionEnemy[DEFENCE]
      set magicdefence = SV_FunctionEnemy[MAGIC_DEFENCE]
   if ( SV_FunctionEnemy[DEFENCE] != defence )
      if ( SV_FunctionEnemy[STAND_ANIMATION] == 0 )
         set newdefence = SV_FunctionEnemy[DEFENCE] / 4
      else
         set newdefence = SV_FunctionEnemy[DEFENCE] * 4
      if ( newdefence > 255 )
         set newdefence = 255
      if ( newdefence < 1 )
         set newdefence = 1
      set basedefence = newdefence
      set defence = SV_FunctionEnemy[DEFENCE]
   if ( SV_FunctionEnemy[MAGIC_DEFENCE] != magicdefence )
      if ( SV_FunctionEnemy[STAND_ANIMATION] == 0 )
         set newmagicdefence = SV_FunctionEnemy[MAGIC_DEFENCE] * 4
      else
         set newmagicdefence = SV_FunctionEnemy[MAGIC_DEFENCE] / 4
      if ( newmagicdefence > 255 )
         set newmagicdefence = 255
      if ( newmagicdefence < 1 )
         set newmagicdefence = 1
      set basemagicdefence = newmagicdefence
      set magicdefence = SV_FunctionEnemy[MAGIC_DEFENCE]
   Wait( 1 )
   loop


Function Grimlock_ATB
   if ( SV_FunctionEnemy[STAND_ANIMATION] == 0 )
      if ( GetRandom % 3 )
         set SV_Target = RandomInTeam(SV_PlayerTeam)
         Attack( The Drop )
      else
         set SV_Target = SV_FunctionEnemy
         Attack( Magic Attack Blue )
   elseif ( !( GetRandom % 3 ) )
      set SV_Target = SV_FunctionEnemy
      Attack( Physical Attack Red )
   else
      set selectedattack = RandomAttack( attacklist )
      if ( selectedattack == Stop )
         set SV_Target = RandomInTeam( NotMatching(SV_PlayerTeam[STATUS_CURRENT], PETRIFY | DEATH | JUMP | STOP) )
      elseif ( selectedattack == Slow )
         set SV_Target = RandomInTeam( NotMatching(SV_PlayerTeam[STATUS_CURRENT], PETRIFY | DEATH | JUMP | SLOW) )
      elseif ( selectedattack == Sleep )
         set SV_Target = RandomInTeam( NotMatching(SV_PlayerTeam[STATUS_CURRENT], PETRIFY | DEATH | JUMP | SLEEP) )
      Attack( selectedattack )


Function Grimlock_Counter
   if ( ( GetAttackCommandId == Skill ) && ( GetAttackId == What's That?! ) )
      return
   if ( GetRandom % 3 )
      return
   if ( ( SV_FunctionEnemy[STAND_ANIMATION] == 0 ) && ( IsCommandPhysical( GetAttackCommandId ) )
      set SV_Target = GetAttacker
      if ( #( NotMatching(SV_PlayerTeam[STATUS_CURRENT], PETRIFY | VENOM | DEATH | STOP) & SV_Target ) )
         Attack( Counter )
   elseif ( IsCommandMagical( GetAttackCommandId ) )
      set SV_Target = GetAttacker
      if ( #( NotMatching(SV_PlayerTeam[STATUS_CURRENT], PETRIFY | VENOM | DEATH | STOP) & SV_Target ) )
         Attack( Silence )


Function Grimlock_CounterEx
   if ( GetAttacker == SV_FunctionEnemy )
      if ( ( GetAttackId == Magic Attack Blue ) || ( GetAttackId == Physical Attack Red ) )
         if ( GetAttackId == Magic Attack Blue )
            set newdefence = ( basedefence / 4 )
            set newmagicdefence = ( basemagicdefence * 4 )
         else
            set newdefence = ( basedefence * 4 )
            set newmagicdefence = ( basemagicdefence / 4 )
         if ( newdefence > 255 )
            set newdefence = 255
         if ( newmagicdefence > 255 )
            set newmagicdefence = 255
         if ( newdefence < 1 )
            set newdefence = 1
         if ( newmagicdefence < 1 )
            set newmagicdefence = 1
         set SV_FunctionEnemy[DEFENCE] = newdefence
         set SV_FunctionEnemy[MAGIC_DEFENCE] = newmagicdefence
         set defence = newdefence
         set magicdefence = newmagicdefence

Tetra Master Edit

Tetra Master
Card045
#045
Location: Treno, Card Stadium "Straight Shooter Shak"


Gallery Edit

Trivia Edit

  • In the German version of the game the enemy is called "M&M&M's", in reference to his appearance which is similar to the M&M candies.
Community content is available under CC-BY-SA unless otherwise noted.