Author Topic: Final Fantasy VII - Hojo Boss Battle (Vincent Exclusive Text)  (Read 1731 times)

vega900

  • Fast newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
I'm doing a rework of the PlayStation version of the game.

The battle against Hojo is, for me, is one of the game's most significant boss fights, made ever more sweet by having Vincent come along to have his revenge.

Has anyone ever attempted writing some battle text into Hojo's AI for there to be some exchange between him and Vincent during battle. The text would depend on Vincent's presence.

I think this battle needs something like this, as Hojo doesn't seem to acknowledge Vincent at this stage of the game... in battle or otherwise.

I would greatly appreciate any help/advice on this.

Thank you

Bosola

  • Fire hazard!
  • Global moderator
  • No life
  • *
  • Posts: 1723
  • Karma: 9
    • View Profile
    • My YouTube Channel
This is possible with AI scripting. The best way to do that is using Proud Clod to edit the SCENE.BIN. Do be aware that FFVII's AI is written in a rather awkward pseudo-assembler - if you do not have any programming experience, this might require a lot of trial and error.

To detect Vincent in a battle, you need a creature to see if any enemy has a FormationNumber of 0x16. If it does, you can then display a message with the 93 opcode. To insert Vincent's name into a message, use the code {EA0007h}.

Here's a script that will do exactly what you need. Insert it at the start of Hojo's preBattle AI:

Code: [Select]
02 20a0
01 4060
80
60 16
40
70 0044
93 "Hojo: 'Hello {EA0007h}.'"
93 "{EA0007h}: 'Hello Hojo'"

This displays the following at the start of the battle if Vincent is present:

Code: [Select]
Hojo: 'Hello Vincent.'
Vincent: 'Hello Hojo'

If you intend to change this dialog, you will need to make sure the address following the 70 opcode still points to the first instruction after the conversation. Proud Clod will do this for you if you enter the script first, *then* edit the lines.

Hope that helps. What were you thinking of having Vincent say?
« Last Edit: 2012-02-12 23:56:54 by Bosola »

Kemlin

  • Cool newbie
  • *
  • Posts: 65
  • Karma: 0
    • View Profile
"I quite enjoy this new form, Hojo!"

<_<