Final Fantasy Hacktics

Modding => PSX FFT Hacking => Topic started by: Snap006 on July 02, 2013, 01:25:55 am

Title: Reoccuring Story Battle
Post by: Snap006 on July 02, 2013, 01:25:55 am
Hey, I'm here with another question. When I got to Dogoula Pass once the battle is completed, it still shows the red dot on the map. If I move, the story battle occurs all over again.

What part of the code determines that the battle has ended? Thanks.

Title: Re: Reoccuring Story Battle
Post by: 3lric on July 02, 2013, 10:20:37 am
Sounds like you took out story progression in that event.
It would be at the end and would say something like
ZERO 006E
ADD 006Ex0001

Title: Re: Reoccuring Story Battle
Post by: Snap006 on July 02, 2013, 01:47:23 pm
This is the Text for Doguola Pass (victory).txt from EasyVentEditor. I didn't notice any code like you said. I may have overlooked it though.

Would that code work for all events?


Offset(x0029C000)
//Remove the previous line if you wish not to override the offset in CONFIG.INI.
Text(x00000084)
//Remove the previous line if you wish text to compile directly after instructions.

{63}(rAA)
{60}(r003C)
Wait(00020)
UnitAnim(x01,x01,x02,x00,x00)
Wait(00020)
{1C}(r02)
DarkScreen(x00,x01,012,064,x00,004)
WaitForInstruction(x36,x00)
DisplayConditions(x02,060)
WaitForInstruction(x38,x00)
DisplayConditions(x03,060)
WaitForInstruction(x38,x00)
DisplayConditions(x04,060)
WaitForInstruction(x38,x00)
DisplayConditions(x05,060)
WaitForInstruction(x38,x00)
DisplayConditions(x06,060)
WaitForInstruction(x38,x00)
DisplayConditions(x07,060)
WaitForInstruction(x38,x00)
RemoveDarkScreen()
WaitForInstruction(x36,x00)
{1C}(r01)
Wait(00090)
{63}(rAA)
{73}(r1027B0FA102780000001102700FC)
Camera(+10000,-01360,+10000,+00128,+00256,+10000,-01024,+00144)
Wait(00060)
{60}(r003C)
{3E}(r02000000FFFFFF4000)
WaitForInstruction(x0C,x00)
EventEnd()

//INSTRUCTION SECTION END -  TEXT START
//Message x01



Also for Finath River (victory).txt

Offset(x002AE000)
//Remove the previous line if you wish not to override the offset in CONFIG.INI.
Text(x000000CF)
//Remove the previous line if you wish text to compile directly after instructions.

Camera(+00616,-00412,+00616,+00430,+00512,+00000,+04096,+00001)
WaitForInstruction(x04,x00)
{73}(r102700FC102710271027102700FC)
Camera(+10000,-01024,+10000,+10000,+10000,+10000,-01024,+00001)
WaitForInstruction(x04,x00)
{63}(rE9)
Camera(+00616,-00412,+00616,+00302,+02560,+00000,+04096,+00320)
{4D}(r1E)
WaitForInstruction(x04,x00)
Wait(00060)
{1C}(r02)
{1D}()
{73}(r1027102710278000000210271027)
Camera(+10000,+10000,+10000,+00128,+00512,+10000,+10000,+00048)
{73}(r1027102710277FFF060210271027)
Camera(+10000,+10000,+10000,-00129,+00518,+10000,+10000,+00096)
{1E}()
DarkScreen(x00,x01,012,064,x00,004)
WaitForInstruction(x36,x00)
DisplayConditions(x08,060)
WaitForInstruction(x38,x00)
WaitForInstruction(x04,x00)
{63}(rCA)
Camera(+00616,-00412,+00616,+00302,+03584,+00000,+04096,+00008)
DisplayConditions(x00,060)
WaitForInstruction(x38,x00)
RemoveDarkScreen()
WaitForInstruction(x36,x00)
{1C}(r01)
{63}(r18)
EventEnd()

//INSTRUCTION SECTION END -  TEXT START
//Message x01
Title: Re: Reoccuring Story Battle
Post by: 3lric on July 02, 2013, 03:07:59 pm
I dont see any varibles at all here. Did you edit this event?
Title: Re: Reoccuring Story Battle
Post by: Snap006 on July 02, 2013, 03:15:31 pm
No this event was not edited. This is an exact copy and past from Easyvent Editor
Title: Re: Reoccuring Story Battle
Post by: Pride on July 03, 2013, 01:53:43 am
... This is really strange and I still cannot find an answer. Add this to the victory event and see if it will work.
ZERO(x006E)
ADD(x006E,x002A)
Title: Re: Reoccuring Story Battle
Post by: Snap006 on July 04, 2013, 12:05:01 am
That didn't work.  :cry:
Title: Re: Reoccuring Story Battle
Post by: Lockeadon on September 11, 2013, 12:47:17 am
when you finish the map does it give you the victory its supposed to or just put you back on map with the red spot?
Title: Re: Reoccuring Story Battle
Post by: 3lric on September 11, 2013, 01:46:23 pm
It would give a victory screen. I can see the commands for it right there in the event.

Are you sure you compiled it with the story progression variables that Pride gave you?
Because there is no reason it shouldn't work with that added. Since those are the variables
To prevent that from happening