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

Posts: 314
Threads: 20
Thanks Received: 0
Thanks Given: 1
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  



Messages In This Thread
RE: Some final code requests (and screenshots) - by Lightning - 03-03-2021, 03:39 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite