Trance Kuja is fought as a cinematic enemy atop Pandemonium, at the end of the fight with Kuja in his normal form. This enemy form is cinematic and will only cast Ultima to end the fight.
Stats[]
AI script[]
Using global variable trancekuja
Using global variable dotranceattacks
Function Trance_Kuja_Loop
if ( !initflag )
set initflag = TRUE
set trancekuja = SV_FunctionEnemy
set SV_FunctionEnemy[MODEL_OFF] = 65535L
set SV_FunctionEnemy[SHADOW] = 0
set SV_FunctionEnemy[TARGETABLE] = 0
RunBattleCode( Enable ATB )
while ( GetBattleState != 4 )
Wait( 1 )
if ( dotranceattacks )
set SV_Target = SV_PlayerTeam
AttackSpecial( Transform )
while ( IsAttacking != 0 )
Wait( 1 )
AttackSpecial( Ultima )
while ( IsAttacking != 0 )
Wait( 1 )
set dotranceattacks = FALSE
Wait( 1 )
loop
Function Trance_Kuja_ATB
set SV_Target = SV_FunctionEnemy
Attack( No action )