Users browsing this thread: 1 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
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  



Messages In This Thread
RE: Some final code requests (and screenshots) - by Lightning - 02-17-2021, 03:43 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite