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

Posts: 315
Threads: 20
Thanks Received: 0
Thanks Given: 2
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)



Messages In This Thread
RE: Some final code requests (and screenshots) - by Lightning - 02-18-2021, 06:57 AM

Forum Jump:

Users browsing this thread: 5 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite