Sephiroth patch KERNEL.BIN

  • Thread starter Thread starter The Great Sephiroth
  • Start date Start date
Status
Not open for further replies.
Field script could prevent any gain of experience during the flashback by battle opcodes. It's quite easy to normalize these battles to make 'em gain experience. The flashback battles has an additional battle upcode to adjust it to Sephiroth. Why? I don't know. I had to change these upcodes to fully enjoy the Seph battles in the flashback (in my mod it's still is buggy in this part, I know). It seems to have something to do with the battle model's animation, in other words, not something specifically to do with Sephiroth.
I've never done anything with field scripts so I couldn't say. I've been looking in the scene.bin for them, but I don't think they're there. A reference to them might be there though, since there are so few actual field scripts compared to the number of battles there are.
I've taken a little look at a few of the field files for the flashback and where battles are possible they have the script:

Code: [Select]
Code:
IFSW (20,00,00,81,01,03,06)BTLMD (80,00)BTLTB (01)
IIRC (from work I've done on getting three fighters into the battle arena fights) the opcode BTLMD does the same thing as the first two bytes of BTMD2, so 80, 00 would mean "no AP/EXP/Gil/items screens and normal victory celebrations at the end of battle". I presume that the IFSW opcode finds out whether Sephiroth is there, so hopefully this might explain things.
 
IFSW - IF Sephiroth Wins  :D

I doubt that's it. Anyway, I haven't been looking at those opcodes so I'm not versed in them at all. I understand the battle scripts and that's about it. :) It would be nice to know where general battle scripts are and how the scenes reference them.
 
Unfortunately it means if (signed word):cry:

There actually seems to be quite a lot of info for this kind of thing in the wiki. If only I could understand it... :?
 
Damn, should wish I had noted down my findings when experimenting with field scripts.  :x

Well...

The IFSW opcode makes a jump in the script. It's used as a form of flow control. The one you found probably makes a jump if (or if not) Sephiroth is in the party.

But you see that unknown one furthest down in BTMD2. When I checked (or unchecked, don't remember) things happened to Sephiroth's animation or the game crashed. I got this from fighting the 1st dragon and the new boss battle. In the dragon battle the opcode is: BTMD2 (A0,00,01,00). I can't remember if I did anything with this before the boss battle though, but as you can see the parameters in the opcode fits the dragon battle like a charm. For this reason I think the 1st bit in the 3rd byte needs to be checked in the flashback battles, 'cause if not, the game crashes.
 
Let's see...the first bytes of that tells the game not to go to the AP/EXP/Gil/items received screens and not to play the victory music and the third one is unknown. Perhaps that is what stops the flashback battles (or at least this one) from crashing? I wonder if the fight would work with something like 00,00,01,00.
 
You could try. I'm too busy to do any moding right now. I'm itching to find out though.
 
I've just tried it with 00 00 01 00 and it seems to work OK; the exp and items screens came up and the game didn't crash afterwards, so it looks like it's the 01 in the third bytes that needs to be kept.

I've also found that the "trackin" files are labelled wrongly in Loveless; "trackin" is used in the Nibelheim flashback, "trackin2" is used later on when Zack is there.
 
I just spotted this thread, skimmed through it and thought "i wonder what would happen if i changed the background the dragon battle is on". So i tried it, and it crashed the game, which i thought was werid. so i looked into it. It seems like that background is somehow connected to the field script i don't know much about field editing yet but changing the background crashes the game just like changing the thrid byte in BTMD2. I haven't tried changing the monster (Dragon)  in the battle but i might later on.
 
Let's start it from the beginning. Let's say I have original (unmodified and unchanged) FF VII. What I have to do if I want Cloud (main character) to have Sephiroth's stat growth? What should I change or modify to have Cloud (main character) with Sephiroth's stat growth? Does anybody knows that? Please help!
 
Status
Not open for further replies.
Back
Top