FANDOM


FFIX wiki icon

Garnet is trapped inside the Prison Cage boss in Final Fantasy IX, and the player must defeat Prison Cage before her HP reaches zero. It is recommended to use Potions to restore Garnet's HP after two consecutive drains from the Prison Cage to avoid her dying. As Zidane automatically enters Trance at the start of battle, the player should not use any multi-target Dyne spells as they will also hit Garnet, causing a Game Over.

StatsEdit

Formations Edit

Enemies Frequency AP
????
Can't escape. Characters do not pose on victory.
Prison Cage, Garnet 100% 3

AI script Edit

Using global variable garnetendflag
Using global variable cagedgarnet
Using global variable garnetdeadflag

Function Garnet_Loop
   if ( !initflag )
      set SV_FunctionEnemy[SHADOW] = 0
      set cagedgarnet = SV_FunctionEnemy
      set initflag = TRUE
   if ( !garnetendflag && garnetdeadflag )
      set garnetendflag = TRUE
      while ( IsAttacking != 0 )
         Wait( 1 )
      RunBattleCode( Disable ATB )
      while ( GetBattleState != 1 )
         Wait( 1 )
      set SV_Target = SV_FunctionEnemy
      AttackSpecial( WAITANIM )
      while ( IsAttacking != 0 )
         Wait( 1 )
      set SV_Target = SV_FunctionEnemy
      AttackSpecial( Death )
      while ( IsAttacking != 0 )
         Wait( 1 )
      Wait( 15 )
      BattleDialog( "You failed to save Garnet." )
      Wait( 20 )
      RunBattleCode( Game Over )
   Wait( 1 )
   loop


Function Garnet_ATB
   set SV_Target = SV_FunctionEnemy
   Attack( None )


Function Garnet_CounterEx
   if ( GetAttackCommandId != Enemy Command )
      return
   if ( #( SV_EnemyTeam & SV_FunctionEnemy ) )
      SetTextVariable( 0, SV_FunctionEnemy[HP] - 10000 )
      SetTextVariable( 1, SV_FunctionEnemy[MAX_HP] - 10000 )
      if ( SV_FunctionEnemy[HP] < 10000 )
         SetTextVariable( 0, 0 )
   BattleDialog( "Garnet’s HP: [NUMB=0]/[NUMB=1]" )

Related enemies Edit

Community content is available under CC-BY-SA unless otherwise noted.