FF6 Hacking

Full Version: Pony Fantasy VI Remake
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So, a bit of a confusing bit. The Master Pug, the Wallchanging one, is set to use attacks based on his elemental weakness. Here's his AI script with regards to that. Rinse and repeat for each element, naturally.

Code:
FC 1A 36 02    ; If target self is weak against elements: Ice
F1 47          ; Targeting: use normal targeting
F0 FE 08 08    ; Rand. spell: Nothing or <MB>Fire 3 or <MB>Fire 3
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F0 08 B3 B3    ; Rand. spell: <MB>Fire 3 or Fire Ball or Fire Ball
FE             ; End If and reset targeting

What strikes me as odd is that people were reporting he was attacking himself, which makes no sense because this is the same coding vanilla used, I just gave him two attacks per cycle, but the vanilla script was the same for determining his weakness and appropriate attacks.

I changed the target coding to F1 39, "target random enemies except self" so hopefully that fixes it, but yeah, why would it work in vanilla and not here?
not a good sign, i'd not be surprised if further similar reports would be made, after this one...
Other possibility would be to make sure he's healed by whatever he'd be casting, then label it a "feature"
(10-24-2016, 10:19 AM)DrakeyC Wrote: [ -> ]What strikes me as odd is that people were reporting he was attacking himself, which makes no sense because this is the same coding vanilla used

AI command $F1 maybe had some unwanted change...

You could verify if following code is same as original game:

$C21B47-$C21B54: Command $F1
$C21F25-$C21F85: Set Target
$C25917-$C25936: ???

this pointer and the code it points to:
Code:
C2/2087: 9F 1F     (47)

C2/1F9F: 64 B8        STZ $B8
C2/1FA1: 64 B9        STZ $B9     (43 jumps here)
C2/1FA3: 80 EE        BRA $1F93
Yup, all indicated bits the same.
A playtester found this, my Edgar stand-in not jumping properly after talking to Kefka. I checked the event script for this and compared it to vanilla and the event dump doc, it's the same.

[Image: 389961b7c7ae4f6982ccaab472c67ce4.png]
what is he supposed to do?

Edit: He's supposed to go to the right of the screen? https://youtu.be/GG5ELlPZFGI?t=3m7s

Edit: That scene just take characters in slot 0 of party 2 and 3. If you have no one there, the queue is probably not executed. You could try rearrange you parties with mandatory actors in slot 0 of each party before the 3 parties are placed on the map.
He does what Terra would do if she was recruited, jump off-screen and return to his proper place in the line.
(10-26-2016, 12:13 PM)DrakeyC Wrote: [ -> ]He does what Terra would do if she was recruited, jump off-screen and return to his proper place in the line.

I think this depend of who is in slot 0 of each party. Check the event.
I did, the event is fine. But just in case, checked the event with a vanilla rom. Edgar does the same thing there. Sooo yeah no idea.