Users browsing this thread: 1 Guest(s)
Changing the battle intro animation?

#3
Posts: 763
Threads: 83
Thanks Received: 55
Thanks Given: 7
Joined: Apr 2015
Reputation: 22
Status
Obliviscence
Did some research on this tonight, here's what I found:

In the battle event script, after it checks for what I'm assuming are various specific events, it has this line...
Code:
C1/FEEA:    B9AE2E      LDA $2EAE,Y
...which loads the sprite ID. By changing the value of A here I was able to change the startup animation. Further down the code it uses the sprite ID to make an offset which is used to call a pointer to the battle event codes for each sprite ID.
Code:
[F7 22] D0/9844: 7B 98       (D0/987B)  (Battle intro: Terra)
[F7 23] D0/9846: 94 98       (D0/9894)  (Battle intro: Locke)
[F7 24] D0/9848: C4 98       (D0/98C4)  (Battle intro: Cyan)
[F7 25] D0/984A: F4 98       (D0/98F4)  (Battle intro: Shadow)
[F7 26] D0/984C: 1B 99       (D0/991B)  (Battle intro: Edgar)
[F7 27] D0/984E: 3B 99       (D0/993B)  (Battle intro: Sabin)

[F7 28] D0/9850: 63 99       (D0/9963)  (Battle intro: Celes)
[F7 29] D0/9852: 85 99       (D0/9985)  (Battle intro: Strago)
[F7 2A] D0/9854: B5 99       (D0/99B5)  (Battle intro: Relm)
[F7 2B] D0/9856: F5 99       (D0/99F5)  (Battle intro: Setzer)
[F7 2C] D0/9858: 26 9A       (D0/9A26)  (Battle intro: Mog)
[F7 2D] D0/985A: 61 9A       (D0/9A61)  (Battle intro: Gau)
[F7 2E] D0/985C: 8B 9A       (D0/9A8B)  (Battle intro: Gogo)
[F7 2F] D0/985E: D3 9A       (D0/9AD3)  (Battle intro: Umaro)

[F7 30] D0/9860: F4 98       (D0/98F4)  (Battle intro: Soldier)
[F7 31] D0/9862: 51 9B       (D0/9B51)  (Battle intro: Imp)
[F7 32] D0/9864: 7B 98       (D0/987B)  (Battle intro: Leo)
[F7 33] D0/9866: 94 98       (D0/9894)  (Battle intro: Banon)
[F7 34] D0/9868: C4 98       (D0/98C4)  (Battle intro: Esper Terra)
[F7 35] D0/986A: F4 98       (D0/98F4)  (Battle intro: Merchant)
[F7 36] D0/986C: 1B 99       (D0/991B)  (Battle intro: Ghost)
[F7 37] D0/986E: 3B 99       (D0/993B)  (Battle intro: Kefka)

So by following this we know that Mog's start up animation is at D0/9A26. From here all you need to do is dicipher and alter the battle event code to make a custom animation. If all you want to do is rearrange these (say giving Terra Mog's intro) all you would have to do is change the pointer to go to the same location.

Code:
[F7 22] D0/9844: 26 9A       (D0/9A26)  (Battle intro: Terra)(Now pointing to Mog's intro!)

Once I spend some time on Battle events I may come back to this and fill out some details on how to make custom intros, but for now, I hope this helps.

Happy Hacking!
  Find
Quote  
[-] The following 5 users say Thank You to B-Run for this post:
  • Angelo26 (07-06-2013), Gi Nattak (07-05-2013), GrayShadows (07-06-2013), m06 (04-05-2015), madsiur (07-06-2013)



Messages In This Thread
Changing the battle intro animation? - by xeblon - 07-05-2013, 03:31 PM
RE: Changing the battle intro animation? - by B-Run - 07-05-2013, 10:51 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite