Users browsing this thread: 3 Guest(s)
Some final code requests (and screenshots)

Posts: 51
Threads: 5
Thanks Received: 2
Thanks Given: 0
Joined: Apr 2018
Reputation: 8
Status
Shell
It reloads the spell number into the register after returning from a subroutine. Instead of reverting, just hex-edit it from
C2/2743: 30 06
to
C2/2743: 30 05
  Find
Quote  
[-] The following 1 user says Thank You to Subtraction for this post:
  • Lightning (05-25-2019)

Posts: 311
Threads: 20
Thanks Received: 0
Thanks Given: 0
Joined: Dec 2017
Reputation: 2
Status
None
(05-25-2019, 06:52 PM)Subtraction Wrote: It reloads the spell number into the register after returning from a subroutine. Instead of reverting, just hex-edit it from
C2/2743: 30 06
to
C2/2743: 30 05

Ok, I changed 30 06 to 30 05.  Thanks! Smile
  Find
Quote  

Posts: 311
Threads: 20
Thanks Received: 0
Thanks Given: 0
Joined: Dec 2017
Reputation: 2
Status
None
So yeah, I have neglected my hack for far too long now...  Real life has majorly gotten in the way the last year, but this hack was always in the back of my mind to get it released. It is pretty much done, but a few tiny bugs got in the way (some of which I have since fixed).

Anyway, I think I asked this question before (maybe not), but has anyone ever made a hack that shows the equipment description in the equipment menu, similar to the relics menu? I put so much effort into the equipment descriptions in my hack that it seems like a waste to have to go through the items menu to read what special attributes they have. Most people wouldn't know, for example, that the Excalibur now raises the magic damage when equipped...

And for fun, a preview pic of some of the new portraits (credit goes to Lijj for the Celes portrait in which I based grown-up Relm, and the Locke portrait, which was enhanced by me).


[Image: XsYNT36.jpg]

And also the new Locke sprite and Relm sprite can be spotted in this screen (credit goes to Henry for the Vanille sprite I based Relm on):

[Image: XzEeqTA.jpg]
  Find
Quote  

Posts: 128
Threads: 17
Thanks Received: 0
Thanks Given: 0
Joined: Sep 2014
Reputation: 12
Status
Sadness
i would like to try out this mod out, how much more longer until public release
  Find
Quote  

Posts: 311
Threads: 20
Thanks Received: 0
Thanks Given: 0
Joined: Dec 2017
Reputation: 2
Status
None
(02-02-2021, 07:54 PM)Mac68 3000 Wrote: i would like to try out this mod out, how much more longer until public release


Thanks for your interest, Mac!  It will be a little longer yet. I have decided to add a few more things to the hack.  In particular, I am editing all the late-game monster scripts (and even some earlier game monsters) but be more powerful when the party is at a level higher than about 60. If someone dares to get to level 99, some of the monsters in Kefkas tower become insane!  This gives people something to do even when they are over-leveled...
  Find
Quote  

Posts: 311
Threads: 20
Thanks Received: 0
Thanks Given: 0
Joined: Dec 2017
Reputation: 2
Status
None
Ever thought it was too easy level grinding with the Tyranosaur in the Dinosaur forest with one character + Exp egg?  Not anymore!  Now they offer a (fair) challenge as your level gets higher. Even fighting them at level 90+ is difficult.  Also, one Tyranosaur by itself is even more of a threat than it used to be on high levels (but of course, 2 of them is still more dangerous). Video to come later, but here is the battle script I am proud of. Basically, once your character gets above level 65, the Tyranosaur becomes more difficult for every 5 levels gained after that. Eventually, they will be attacking with 4-5 combos in a row for every turn. This means you can no longer expect to just hold down the fight button and always win...

Code:
[script #-1]   ; orig idx=39, "Tyranosaur", nb. bytes=527
FC 0F 44 5A    ; If random ally's level is greater or equal than 90 (random target if many)
FC 13 01 01    ; If 1 monster(s) or less remain
F1 47          ; Targeting: use normal targeting
EE             ; Battle
EE             ; Battle
F0 EE 13 13    ; Rand. spell: Battle or <MB>Meteor or <MB>Meteor
EF             ; Special
F0 EF EF FE    ; Rand. spell: Special or Special or Nothing
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
EE             ; Battle
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EF EF    ; Rand. spell: Battle or Special or Special
F0 EF EF 13    ; Rand. spell: Special or Special or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
EE             ; Battle
EE             ; Battle
EE             ; Battle
EF             ; Special
EF             ; Special
13             ; <MB>Meteor
FE             ; End If and reset targeting
FC 0F 44 55    ; If random ally's level is greater or equal than 85 (random target if many)
FC 13 01 01    ; If 1 monster(s) or less remain
EE             ; Battle
EE             ; Battle
F0 EE EF FE    ; Rand. spell: Battle or Special or Nothing
F0 EF EF 13    ; Rand. spell: Special or Special or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EF FE    ; Rand. spell: Battle or Special or Nothing
F0 EF EF 13    ; Rand. spell: Special or Special or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
EE             ; Battle
EF             ; Special
EF             ; Special
FE             ; End If and reset targeting
FC 0F 44 50    ; If random ally's level is greater or equal than 80 (random target if many)
FC 13 01 01    ; If 1 monster(s) or less remain
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EF EF 13    ; Rand. spell: Special or Special or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EF FE    ; Rand. spell: Battle or Special or Nothing
F0 EF EF 13    ; Rand. spell: Special or Special or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
EE             ; Battle
EE             ; Battle
EF             ; Special
FE             ; End If and reset targeting
FC 0F 44 4B    ; If random ally's level is greater or equal than 75 (random target if many)
FC 13 01 01    ; If 1 monster(s) or less remain
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EF EF    ; Rand. spell: Battle or Special or Special
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EF 13    ; Rand. spell: Battle or Special or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
EE             ; Battle
EF             ; Special
FE             ; End If and reset targeting
FC 0F 44 46    ; If random ally's level is greater or equal than 70 (random target if many)
FC 13 01 01    ; If 1 monster(s) or less remain
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EF FE    ; Rand. spell: Battle or Special or Nothing
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EF 13    ; Rand. spell: Battle or Special or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
EE             ; Battle
F0 EE EF EF    ; Rand. spell: Battle or Special or Special
FE             ; End If and reset targeting
FC 0F 44 41    ; If random ally's level is greater or equal than 65 (random target if many)
FC 13 01 01    ; If 1 monster(s) or less remain
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EF 13    ; Rand. spell: Battle or Special or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EF EF    ; Rand. spell: Battle or Special or Special
FE             ; End If and reset targeting
FC 0F 44 5A    ; If random ally's level is greater or equal than 90 (random target if many)
F1 47          ; Targeting: use normal targeting
EE             ; Battle
EE             ; Battle
F0 EE 13 13    ; Rand. spell: Battle or <MB>Meteor or <MB>Meteor
F0 EE EF FE    ; Rand. spell: Battle or Special or Nothing
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
EE             ; Battle
F0 EE EE 13    ; Rand. spell: Battle or Battle or <MB>Meteor
F0 EE EF EF    ; Rand. spell: Battle or Special or Special
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
EE             ; Battle
EF             ; Special
F0 EE EF 13    ; Rand. spell: Battle or Special or <MB>Meteor
FE             ; End If and reset targeting
FC 0F 44 55    ; If random ally's level is greater or equal than 85 (random target if many)
F1 47          ; Targeting: use normal targeting
EE             ; Battle
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EF 13    ; Rand. spell: Battle or Special or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
EE             ; Battle
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EF EF 13    ; Rand. spell: Special or Special or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
EE             ; Battle
EF             ; Special
FE             ; End If and reset targeting
FC 0F 44 50    ; If random ally's level is greater or equal than 80 (random target if many)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EF 13    ; Rand. spell: Battle or Special or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EF 13    ; Rand. spell: Battle or Special or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
EF             ; Special
FE             ; End If and reset targeting
FC 0F 44 4B    ; If random ally's level is greater or equal than 75 (random target if many)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE 13    ; Rand. spell: Battle or Battle or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EF 13    ; Rand. spell: Battle or Special or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EF EF    ; Rand. spell: Battle or Special or Special
FE             ; End If and reset targeting
FC 0F 44 46    ; If random ally's level is greater or equal than 70 (random target if many)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE 13    ; Rand. spell: Battle or Battle or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EF EF    ; Rand. spell: Battle or Special or Special
FE             ; End If and reset targeting
FC 0F 44 41    ; If random ally's level is greater or equal than 65 (random target if many)
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EE 13    ; Rand. spell: Battle or Battle or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE EF    ; Rand. spell: Battle or Battle or Special
FE             ; End If and reset targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F0 EE EE 13    ; Rand. spell: Battle or Battle or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F0 EE EE EF    ; Rand. spell: Battle or Battle or Special
FF             ; End first wave of attack
FC 0F 44 55    ; If random ally's level is greater or equal than 85 (random target if many)
FC 13 01 01    ; If 1 monster(s) or less remain
FC 05 00 00    ; If monster has been attacked
F1 47          ; Targeting: use normal targeting
F0 EE EF EF    ; Rand. spell: Battle or Special or Special
FE             ; End If and reset targeting
FC 0F 44 4B    ; If random ally's level is greater or equal than 75 (random target if many)
FC 13 01 01    ; If 1 monster(s) or less remain
FC 05 00 00    ; If monster has been attacked
F1 47          ; Targeting: use normal targeting
F0 EE EF FE    ; Rand. spell: Battle or Special or Nothing
FE             ; End If and reset targeting
FC 0F 44 46    ; If random ally's level is greater or equal than 70 (random target if many)
FC 05 00 00    ; If monster has been attacked
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
FF             ; End

I might make a new thread for this as a patch for anyone to use.
  Find
Quote  

Posts: 3,966
Threads: 279
Thanks Received: 233
Thanks Given: 56
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(02-17-2021, 03:43 PM)Lightning Wrote: I might make a new thread for this as a patch for anyone to use.

Note that if you do that the patch will be unusable for most people because the pointer value for that monster script will not be the same since you likely changed monster script before that one in the ROM, and your script could overwrite scripts of other monsters. It's the same logic as making a patch for a dialogue line or monster graphic with anything else than a vanilla ROM as a base. But nice script man keep at it!
  Find
Quote  

Posts: 311
Threads: 20
Thanks Received: 0
Thanks Given: 0
Joined: Dec 2017
Reputation: 2
Status
None
(02-17-2021, 07:21 PM)madsiur Wrote:
(02-17-2021, 03:43 PM)Lightning Wrote: I might make a new thread for this as a patch for anyone to use.

Note that if you do that the patch will be unusable for most people because the pointer value for that monster script will not be the same since you likely changed monster script before that one in the ROM, and your script could overwrite scripts of other monsters. It's the same logic as making a patch for a dialogue line or monster graphic with anything else than a vanilla ROM as a base. But nice script man keep at it!

Yeah, I expanded the battle scripts for my hack (I used up those bytes long ago!)  I would only upload the script itself and avoid doing an ips patch.  Thanks! I have now completed all the monsters in Kefka's Tower to be more difficult on higher levels. The last thing to do is Kefka himself. He will no longer be a pushover at level 99! I might also do a few of the lower tiered monsters for Veldt purposes (especially the Dragon from the floating continent).

Edit: And here is the Brachosaur. There are not as many tiers in this script, but this one takes into consideration having multiple party members vs 1 party member. I didn't want the fight to become an automatic loss if someone was leveling up using just one party member:

Code:
[script #-1]   ; orig idx=38, "Brachosaur", nb. bytes=539
FC 0F 44 55    ; If random ally's level is greater or equal than 85 (random target if many)
FC 13 00 02    ; If 2 ally(ies) or more remain
F1 36          ; Targeting: self
91             ; Big Guard
F0 26 26 FE    ; Rand. spell: <MG>Image or <MG>Image or Nothing
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EF FE    ; Rand. spell: Battle or Special or Nothing
F0 EF D6 D6    ; Rand. spell: Special or Disaster or Disaster
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EF 13    ; Rand. spell: Battle or Special or <MB>Meteor
F0 EF 13 13    ; Rand. spell: Special or <MB>Meteor or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
14             ; <MB>Ultima
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE CB    ; Rand. spell: Battle or Battle or Sneeze
EF             ; Special
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
EF             ; Special
F0 EE EF FE    ; Rand. spell: Battle or Special or Nothing
F0 EE EF FE    ; Rand. spell: Battle or Special or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
FE             ; End If and reset targeting
FC 0F 44 55    ; If random ally's level is greater or equal than 85 (random target if many)
F1 36          ; Targeting: self
F0 26 FE FE    ; Rand. spell: <MG>Image or Nothing or Nothing
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE D6 D6    ; Rand. spell: Battle or Disaster or Disaster
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
13             ; <MB>Meteor
F0 EE EE 13    ; Rand. spell: Battle or Battle or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
14             ; <MB>Ultima
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE 13    ; Rand. spell: Battle or Battle or <MB>Meteor
F0 EE EE EF    ; Rand. spell: Battle or Battle or Special
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
EF             ; Special
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
FE             ; End If and reset targeting
FC 0F 44 4B    ; If random ally's level is greater or equal than 75 (random target if many)
FC 13 00 02    ; If 2 ally(ies) or more remain
F1 36          ; Targeting: self
F0 91 91 26    ; Rand. spell: Big Guard or Big Guard or <MG>Image
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE D6 D6    ; Rand. spell: Battle or Disaster or Disaster
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EF 13    ; Rand. spell: Battle or Special or <MB>Meteor
F0 EE EF 13    ; Rand. spell: Battle or Special or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE 14 14    ; Rand. spell: Battle or <MB>Ultima or <MB>Ultima
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE CB    ; Rand. spell: Battle or Battle or Sneeze
EF             ; Special
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
EF             ; Special
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
FE             ; End If and reset targeting
FC 0F 44 4B    ; If random ally's level is greater or equal than 75 (random target if many)
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE D6    ; Rand. spell: Battle or Battle or Disaster
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE 13 13    ; Rand. spell: Battle or <MB>Meteor or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE 14 14    ; Rand. spell: Battle or <MB>Ultima or <MB>Ultima
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE EF    ; Rand. spell: Battle or Battle or Special
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
EF             ; Special
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
FE             ; End If and reset targeting
FC 0F 44 41    ; If random ally's level is greater or equal than 65 (random target if many)
FC 13 00 02    ; If 2 ally(ies) or more remain
F1 36          ; Targeting: self
F0 1C 25 26    ; Rand. spell: <MG>Shield or <MG>Shell or <MG>Image
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE D6    ; Rand. spell: Battle or Battle or Disaster
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EF 13    ; Rand. spell: Battle or Special or <MB>Meteor
F0 EE EE 13    ; Rand. spell: Battle or Battle or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE CB    ; Rand. spell: Battle or Battle or Sneeze
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE 14 14    ; Rand. spell: Battle or <MB>Ultima or <MB>Ultima
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
EF             ; Special
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
FE             ; End If and reset targeting
FC 0F 44 41    ; If random ally's level is greater or equal than 65 (random target if many)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE D6    ; Rand. spell: Battle or Battle or Disaster
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE 13    ; Rand. spell: Battle or Battle or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE 14    ; Rand. spell: Battle or Battle or <MB>Ultima
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE EF    ; Rand. spell: Battle or Battle or Special
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
EF             ; Special
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
FE             ; End If and reset targeting
F0 EE EE D6    ; Rand. spell: Battle or Battle or Disaster
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F0 EE EE 13    ; Rand. spell: Battle or Battle or <MB>Meteor
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F0 EE EE CB    ; Rand. spell: Battle or Battle or Sneeze
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F0 EE EE 14    ; Rand. spell: Battle or Battle or <MB>Ultima
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
EF             ; Special
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
F0 EE EE FE    ; Rand. spell: Battle or Battle or Nothing
FF             ; End first wave of attack
FC 0F 44 55    ; If random ally's level is greater or equal than 85 (random target if many)
FC 13 00 02    ; If 2 ally(ies) or more remain
FC 05 00 00    ; If monster has been attacked
F1 36          ; Targeting: self
F0 93 93 FE    ; Rand. spell: White Wind or White Wind or Nothing
F1 47          ; Targeting: use normal targeting
F0 EE EF FE    ; Rand. spell: Battle or Special or Nothing
FC 0F 44 46    ; If random ally's level is greater or equal than 70 (random target if many)
FC 13 00 02    ; If 2 ally(ies) or more remain
FC 05 00 00    ; If monster has been attacked
F1 47          ; Targeting: use normal targeting
F1 36          ; Targeting: self
F0 93 FE FE    ; Rand. spell: White Wind or Nothing or Nothing
F1 47          ; Targeting: use normal targeting
F0 EE FE FE    ; Rand. spell: Battle or Nothing or Nothing
FF             ; End
  Find
Quote  
[-] The following 1 user says Thank You to Lightning for this post:
  • Gi Nattak (02-19-2021)

Posts: 311
Threads: 20
Thanks Received: 0
Thanks Given: 0
Joined: Dec 2017
Reputation: 2
Status
None
Here is the new Kefka script.  I worked the longest on this one... Kefka is far more challenging above level 65, and ridiculously hard at level 99 (but of course completely beatable).  

This script contains custom spells present in my mod, so PLEASE do not just plug it in the vanilla game and expect it to work...  I might release a universal edition later:

Code:
[script #-1]   ; orig idx=298, "Kefka", nb. bytes=664
FC 15 24 00    ; If VAR036 has all the following bit cleared: 0
F7 20          ; Trigger event: final Kefka mojo
F9 01 24 00    ; VAR036 set bit: 0
FE             ; End If and reset targeting
FC 0F 44 63    ; If random ally's level is greater or equal than 99 (random target if many)
FC 06 36 3C    ; If target self has less or equal than 7680 HP
FC 15 00 01    ; If VAR000 has all the following bit cleared: 1
F3 8C 00       ; Text: " The end comes_ beyond chaos.<D>"
F9 01 00 00    ; VAR000 set bit: 0
FA 0A 01 00    ; Final Kefka's laughing face, screen shakes
F1 47          ; Targeting: use normal targeting
DE             ; Goner
EE             ; Battle
F1 47          ; Targeting: use normal targeting
14             ; <MB>Ultima
F9 02 00 00    ; VAR000 clear bit: 0
FE             ; End If and reset targeting
FC 0F 44 46    ; If random ally's level is greater or equal than 70 (random target if many)
FC 06 36 3C    ; If target self has less or equal than 7680 HP
FC 15 00 01    ; If VAR000 has all the following bit cleared: 1
F3 8C 00       ; Text: " The end comes_ beyond chaos.<D>"
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F9 01 00 00    ; VAR000 set bit: 0
FA 0A 01 00    ; Final Kefka's laughing face, screen shakes
F1 47          ; Targeting: use normal targeting
DE             ; Goner
F1 47          ; Targeting: use normal targeting
13             ; <MB>Meteor
F9 02 00 00    ; VAR000 clear bit: 0
FE             ; End If and reset targeting
FC 06 36 3C    ; If target self has less or equal than 7680 HP
FC 15 00 01    ; If VAR000 has all the following bit cleared: 1
F3 8C 00       ; Text: " The end comes_ beyond chaos.<D>"
F9 01 00 00    ; VAR000 set bit: 0
FA 0A 01 00    ; Final Kefka's laughing face, screen shakes
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
DE             ; Goner
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
13             ; <MB>Meteor
F9 02 00 00    ; VAR000 clear bit: 0
FE             ; End If and reset targeting
FC 0F 44 63    ; If random ally's level is greater or equal than 99 (random target if many)
FC 06 36 FF    ; If target self has less or equal than 32640 HP
F3 8C 00       ; Text: " The end comes_ beyond chaos.<D>"
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F9 01 00 00    ; VAR000 set bit: 0
F9 01 00 01    ; VAR000 set bit: 1
FA 0A 01 00    ; Final Kefka's laughing face, screen shakes
F1 47          ; Targeting: use normal targeting
DE             ; Goner
F0 EE D1 EF    ; Rand. spell: Battle or HyperDrive or Special
F9 02 00 00    ; VAR000 clear bit: 0
F9 02 00 01    ; VAR000 clear bit: 1
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 43          ; Targeting: allies
F0 D2 A4 E0    ; Rand. spell: Train or Inferno or Avenger
F1 47          ; Targeting: use normal targeting
F0 EF E3 D1    ; Rand. spell: Special or Shock Wave or HyperDrive
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 43          ; Targeting: allies
F0 E5 A1 E0    ; Rand. spell: Lightning or GrandTrain or Avenger
F1 47          ; Targeting: use normal targeting
F0 EF EF EE    ; Rand. spell: Special or Special or Battle
FE             ; End If and reset targeting
FC 0F 44 46    ; If random ally's level is greater or equal than 70 (random target if many)
FC 06 36 FF    ; If target self has less or equal than 32640 HP
F3 8C 00       ; Text: " The end comes_ beyond chaos.<D>"
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F9 01 00 00    ; VAR000 set bit: 0
F9 01 00 01    ; VAR000 set bit: 1
FA 0A 01 00    ; Final Kefka's laughing face, screen shakes
F1 47          ; Targeting: use normal targeting
DE             ; Goner
F0 EE EE EF    ; Rand. spell: Battle or Battle or Special
F9 02 00 00    ; VAR000 clear bit: 0
F9 02 00 01    ; VAR000 clear bit: 1
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 43          ; Targeting: allies
F0 D2 A4 E0    ; Rand. spell: Train or Inferno or Avenger
F1 47          ; Targeting: use normal targeting
EE             ; Battle
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 43          ; Targeting: allies
F0 E5 A1 E0    ; Rand. spell: Lightning or GrandTrain or Avenger
F1 47          ; Targeting: use normal targeting
EE             ; Battle
FE             ; End If and reset targeting
FC 06 36 FF    ; If target self has less or equal than 32640 HP
F3 8C 00       ; Text: " The end comes_ beyond chaos.<D>"
F9 01 00 00    ; VAR000 set bit: 0
F9 01 00 01    ; VAR000 set bit: 1
FA 0A 01 00    ; Final Kefka's laughing face, screen shakes
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
DE             ; Goner
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F9 02 00 00    ; VAR000 clear bit: 0
F9 02 00 01    ; VAR000 clear bit: 1
F1 47          ; Targeting: use normal targeting
F0 EF D2 E0    ; Rand. spell: Special or Train or Avenger
F0 EF FE FE    ; Rand. spell: Special or Nothing or Nothing
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 D2 EF E0    ; Rand. spell: Train or Special or Avenger
F0 EF EF FE    ; Rand. spell: Special or Special or Nothing
FE             ; End If and reset targeting
FC 0F 44 63    ; If random ally's level is greater or equal than 99 (random target if many)
F1 36          ; Targeting: self
91             ; Big Guard
1F             ; <MG>Haste
34             ; <MW>Regen
26             ; <MG>Image
F1 43          ; Targeting: allies
C0             ; Fallen One
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EE EF    ; Rand. spell: Battle or Battle or Special
F0 EE E3 EF    ; Rand. spell: Battle or Shock Wave or Special
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 43          ; Targeting: allies
F0 13 D2 C4    ; Rand. spell: <MB>Meteor or Train or Mindblast
F1 47          ; Targeting: use normal targeting
F0 EE E3 EF    ; Rand. spell: Battle or Shock Wave or Special
F1 36          ; Targeting: self
F6 00 EE EE    ; Use random item: <WD>Elixir or <WD>Elixir
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 43          ; Targeting: allies
F0 A4 A0 17    ; Rand. spell: Inferno or Quasar or <MB>Merton
F1 47          ; Targeting: use normal targeting
F0 EE EE EF    ; Rand. spell: Battle or Battle or Special
F0 EE EE D1    ; Rand. spell: Battle or Battle or HyperDrive
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 43          ; Targeting: allies
F0 D6 14 DF    ; Rand. spell: Disaster or <MB>Ultima or Meteo
F1 47          ; Targeting: use normal targeting
F0 EE E3 EF    ; Rand. spell: Battle or Shock Wave or Special
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 43          ; Targeting: allies
F0 13 A1 A4    ; Rand. spell: <MB>Meteor or GrandTrain or Inferno
F1 47          ; Targeting: use normal targeting
F0 EE EE EF    ; Rand. spell: Battle or Battle or Special
F1 36          ; Targeting: self
F6 00 EE EE    ; Use random item: <WD>Elixir or <WD>Elixir
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 43          ; Targeting: allies
F0 E5 E5 C5    ; Rand. spell: Lightning or Lightning or NorthCross
FE             ; End If and reset targeting
FC 0F 44 46    ; If random ally's level is greater or equal than 70 (random target if many)
F1 36          ; Targeting: self
91             ; Big Guard
26             ; <MG>Image
F1 43          ; Targeting: allies
C0             ; Fallen One
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE EF EF    ; Rand. spell: Battle or Special or Special
F0 EE EE E3    ; Rand. spell: Battle or Battle or Shock Wave
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 43          ; Targeting: allies
F0 13 D2 A4    ; Rand. spell: <MB>Meteor or Train or Inferno
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 43          ; Targeting: allies
F0 A4 A0 17    ; Rand. spell: Inferno or Quasar or <MB>Merton
F1 47          ; Targeting: use normal targeting
F0 EE EF EF    ; Rand. spell: Battle or Special or Special
F1 36          ; Targeting: self
F6 00 EE EE    ; Use random item: <WD>Elixir or <WD>Elixir
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 43          ; Targeting: allies
F0 D6 C4 DF    ; Rand. spell: Disaster or Mindblast or Meteo
F1 47          ; Targeting: use normal targeting
F0 EE EE EF    ; Rand. spell: Battle or Battle or Special
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 43          ; Targeting: allies
F0 13 A1 A4    ; Rand. spell: <MB>Meteor or GrandTrain or Inferno
F1 47          ; Targeting: use normal targeting
F0 EE EE EF    ; Rand. spell: Battle or Battle or Special
F1 36          ; Targeting: self
F6 00 EE EE    ; Use random item: <WD>Elixir or <WD>Elixir
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 43          ; Targeting: allies
F0 E5 E5 14    ; Rand. spell: Lightning or Lightning or <MB>Ultima
FE             ; End If and reset targeting
F1 43          ; Targeting: allies
C0             ; Fallen One
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F1 47          ; Targeting: use normal targeting
F0 EE FE EF    ; Rand. spell: Battle or Nothing or Special
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F0 09 D2 EF    ; Rand. spell: <MB>Fire3 or Train or Special
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F0 EE A0 EF    ; Rand. spell: Battle or Quasar or Special
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F0 0A D2 EF    ; Rand. spell: <MB>Ice3 or Train or Special
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F0 EE A1 EF    ; Rand. spell: Battle or GrandTrain or Special
FD             ; Wait until the attack sequence is called upon again, then continue (reset targeting)
F0 0B E5 EF    ; Rand. spell: <MB>Bolt3 or Lightning or Special
FF             ; End first wave of attack
FC 12 00 00    ; If following monster is/are dead:
FA 0D 01 00    ; Background gets darker, sounds like boss dying
F5 11 01 FF    ; Monsters #1, #2, #3, #4, #5, #6 are killed, disintegrates, background may corrupt, screen goes black (final Kefka's death)
FE             ; End If and reset targeting
FC 0F 44 41    ; If random ally's level is greater or equal than 65 (random target if many)
FC 06 36 50    ; If target self has less or equal than 10240 HP
FC 05 00 00    ; If monster has been attacked
F1 36          ; Targeting: self
F0 93 2F 2F    ; Rand. spell: White Wind or <MW>Cure3 or <MW>Cure3
F1 43          ; Targeting: allies
F0 EF EE 14    ; Rand. spell: Special or Battle or <MB>Ultima
FE             ; End If and reset targeting
FC 06 36 50    ; If target self has less or equal than 10240 HP
FC 15 00 00    ; If VAR000 has all the following bit cleared: 0
FC 05 00 00    ; If monster has been attacked
F1 47          ; Targeting: use normal targeting
F0 FE EE 14    ; Rand. spell: Nothing or Battle or <MB>Ultima
FE             ; End If and reset targeting
FC 0F 44 63    ; If random ally's level is greater or equal than 99 (random target if many)
FC 06 36 EB    ; If target self has less or equal than 30080 HP
FC 05 00 00    ; If monster has been attacked
F1 36          ; Targeting: self
F0 93 2F 2F    ; Rand. spell: White Wind or <MW>Cure3 or <MW>Cure3
F1 45          ; Targeting: last ally/monster who attacked (random ally if N/A)
F0 EE EE EF    ; Rand. spell: Battle or Battle or Special
FE             ; End If and reset targeting
FC 0F 44 63    ; If random ally's level is greater or equal than 99 (random target if many)
FC 05 00 00    ; If monster has been attacked
F1 36          ; Targeting: self
F0 2F 2F FE    ; Rand. spell: <MW>Cure3 or <MW>Cure3 or Nothing
F1 45          ; Targeting: last ally/monster who attacked (random ally if N/A)
F0 EE E3 D1    ; Rand. spell: Battle or Shock Wave or HyperDrive
FE             ; End If and reset targeting
FC 0F 44 41    ; If random ally's level is greater or equal than 65 (random target if many)
FC 06 36 EB    ; If target self has less or equal than 30080 HP
FC 05 00 00    ; If monster has been attacked
F1 36          ; Targeting: self
F0 93 2F 2F    ; Rand. spell: White Wind or <MW>Cure3 or <MW>Cure3
F1 45          ; Targeting: last ally/monster who attacked (random ally if N/A)
F0 EE EE D1    ; Rand. spell: Battle or Battle or HyperDrive
FE             ; End If and reset targeting
FC 06 36 EB    ; If target self has less or equal than 30080 HP
FC 15 00 00    ; If VAR000 has all the following bit cleared: 0
FC 05 00 00    ; If monster has been attacked
F1 47          ; Targeting: use normal targeting
F0 FE EE D1    ; Rand. spell: Nothing or Battle or HyperDrive
FF             ; End
  Find
Quote  



Forum Jump:

Users browsing this thread: 3 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite