Final Fantasy Hacktics

Modding => Help! => Topic started by: Magic Gladii on May 21, 2018, 01:42:51 pm

Title: What triggers Event 182 (Golgorand Execution Site - Gafgarion and Agrias Talk)?
Post by: Magic Gladii on May 21, 2018, 01:42:51 pm

Offset(x0016C000)

{63}(rAA)
Focus(x1E,x00,x1E,x00,x00)
Camera(+17920,+00122,+31558,+00302,+03584,+00000,+04096,+00032)
WaitForInstruction(x04,x00)
Wait(00016)
InflictStatus(x1E,x00,x00,x01,x00)
WaitForInstruction(x43,x00)
FaceUnit(x11,x00,x1E,x00,x00,x01,x00)
WaitRotateUnit(x1E,x00)
Wait(00010)
DisplayMessage(x10,x70,x0001,x1E,x00,x00,+00000,+00000,+00000,x01)
WaitForInstruction(x01,x00)
InflictStatus(x11,x00,x00,x01,x00)
WaitForInstruction(x43,x00)
FaceUnit(x1E,x00,x11,x00,x00,x01,x00)
WaitRotateUnit(x11,x00)
Focus(x11,x00,x11,x00,x00)
Camera(+00000,+00000,+00256,+00302,+03584,+00000,+04096,+00032)
WaitForInstruction(x04,x00)
Wait(00010)
DisplayMessage(x10,x70,x0002,x11,x00,x00,+00000,+00000,+00000,x01)
WaitForInstruction(x01,x00)
Focus(x1E,x00,x1E,x00,x00)
Camera(+00002,-32751,+27136,+00302,+03584,+00000,+04096,+00032)
WaitForInstruction(x04,x00)
Wait(00010)
DisplayMessage(x10,x70,x0003,x1E,x00,x00,+00000,+00000,+00000,x01)
WaitForInstruction(x01,x00)
Focus(x11,x00,x11,x00,x00)
Camera(+03584,+00000,+04096,+00302,+03584,+00000,+04096,+00032)
WaitForInstruction(x04,x00)
Wait(00010)
DisplayMessage(x10,x70,x0004,x11,x00,x00,+00000,+00000,+00000,x01)
WaitForInstruction(x01,x00)
Wait(00010)
Focus(x69,x00,x69,x00,x00)
Camera(+00402,+04352,+01024,+00302,+03712,+00000,+04096,+00034)
RotateUnit(x1E,x00,x14,x00,x01,x00)
RotateUnit(x11,x00,x14,x00,x01,x00)
March(x00,x00,000)
ZERO(x007D)
ADD(x007D,x0001)
WaitForInstruction(x04,x00)
{63}(rA0)
EventEnd()

//INSTRUCTION SECTION END -  TEXT START
//Message x01
{font:08}Agrias{br}
{font:00}What you plan to do{br}
with the Princess!?{end}

//Message x02
{font:08}Gafgarion{br}
{font:00}My orders are to take{br}
Ovelia to Gallione.{br}
What Prince Larg has in{br}
mind for her after that{br}
is no business of mine!{end}

//Message x03
{font:08}Agrias{br}
{font:00}Ovelia is not a pawn in this mad{br}
game that the Princes play!{br}
Does it not shame you to be a cur{br}
of Dycedarg and Larg? Do dignity{br}
and honour mean nothing to you!?{end}

//Message x04
{font:08}Gafgarion{br}
{font:00}Ground to dust and abandoned{br}
to the wind, long ago...!{end}


What exactly triggers this event?

I can't seem to trigger this event at all. Agrias is present, and the event where Agrias, Gafgarion and Ramza talk does take place...
Title: Re: What triggers Event 182 (Golgorand Execution Site - Gafgarion and Agrias Talk)?
Post by: Xifanie on May 21, 2018, 01:57:32 pm
Here are all the conditions for that scenario:

Var=(x01FD,x0001)
LoadEvent(x00B5)

Var=(x007D,x0000)
Var=(x0080,x0000)
Present(x1E)
UnitHP%<=(x1E,00060)
UnitHP>=(x1E,00001)
Present(x11)
UnitHP>=(x11,00001)
ActiveTurn(x1E)
LoadEvent(x00B6)

(I'm guessing this is the one you're speaking about)

Var=(x007E,x0000)
Var=(x0080,x0000)
Present(x11)
UnitHP>=(x11,00001)
ActiveTurn(x11)
UnitHP>=(x02,00001)
LoadEvent(x00B7)

Var=(x007E,x0001)
Var=(x007F,x0000)
Var=(x0080,x0000)
Present(x11)
UnitHP>=(x11,00001)
ActiveTurn(x02)
UnitHP>=(x02,00001)
LoadEvent(x00B8)

Var=(x007F,x0001)
Var=(x0080,x0000)
Var=(x0081,x0000)
Present(x11)
UnitHP>=(x11,00001)
ActiveTurn(x11)
UnitHP>=(x02,00001)
LoadEvent(x00B9)

Var=(x007E,x0001)
Var=(x0080,x0000)
Var=(x0082,x0000)
Present(x1E)
UnitHP>=(x1E,00001)
Present(x11)
UnitHP>=(x11,00001)
ActiveTurn(x1E)
UnitHP>=(x02,00001)
LoadEvent(x00BA)

Var=(x0080,x0000)
Present(x11)
UnitHP%<=(x11,00020)
LoadEvent(x00BB)

Var=(x0080,x0000)
Victory()
LoadEvent(x00BC)




Basically, if Agrias is alive and has at most 60% HP, while Gafgarion is alive and it's Agrias' turn, the event will play if it's Agrias' turn (if it hasn't played already)
I'm guessing you were missing the Agrias HP requirement.
Title: Re: What triggers Event 182 (Golgorand Execution Site - Gafgarion and Agrias Talk)?
Post by: Magic Gladii on May 21, 2018, 02:14:09 pm
Oh... Agrias needed to hit 50% hp...

Well then... Resolved...