• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
June 07, 2024, 12:56:02 pm

News:

Use of ePSXe before 2.0 is highly discouraged. Mednafen, RetroArch, and Duckstation are recommended for playing/testing, pSX is recommended for debugging.


Reoccuring Story Battle

Started by Snap006, July 02, 2013, 01:25:55 am

Snap006

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.


3lric

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

  • Modding version: PSX

Snap006

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

3lric

I dont see any varibles at all here. Did you edit this event?
  • Modding version: PSX

Snap006

No this event was not edited. This is an exact copy and past from Easyvent Editor

Pride

... 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)
  • Modding version: PSX
Check out my ASM thread. Who doesn't like hax?

Snap006


Lockeadon

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?

3lric

September 11, 2013, 01:46:23 pm #8 Last Edit: September 11, 2013, 05:17:42 pm by Elric
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
  • Modding version: PSX