Is there a way to give Edgar Magitek but only after u get him in the world of ruin ?
#1
I would also like to do the same thing with Cyan with the shock command . They would just be to broken if they have them in the wob
Reply
#2
Please elaborate a little more.
Do you to have an item that changes SwdTech into Shock and Tools into Magitek?
If so, please refer to this Thread:https://www.ff6hacking.com/forums/showth...ion+Armlet
Shine 
Reply
#3
MrChocobo is right, the easiest way to achieve this is through an item which alters the menu options. I am unsure if you can alter a character's menu skills after the character has joined the party without just changing their actor (which is fraught with tonnes of other problems and is a terrible solution.)

Don't take my word on it as I have never looked into changing skills, but it seems like it would be far more trouble than it would be worth when the easy way is just to make a couple items.
Reply
#4
Aaaaactually, there may be a way to do this with a custom event; the character's abilities are part of their RAM/SRAM block, after all, so it shouldn't be a hard event to write. I've got a meeting in an hour, but I may take a look at this later on tonight to see if I can get it working.
Current Project: FF6: Tensei | Discord ID: TristanGrayse
Reply
#5
Okay, so this isn't tested yet, but at a glance this code should work. I've used 6D, which looks to be one of several unused general event commands (there are a number that point to C0/B91A, which is just an RTS), and it takes two parameters: first, the character ID, and second, the ID of the command you want to give the character. It just straight-up replaces the second command in the character's list, since in a normal game you're probably not wanting to mess with Fight/Magic/Item.


So, if you wanted to give Edgar the Magitek ability, you'd use: 6D 04 1D, where 6D is the event command, 04 is Edgar's character ID, and 1D is Magitek's command ID.

Code:
org $C09934     ; General action 6D
DW $D613        ; New action is being placed at C0/D613

org $C0D613
LDA $EB         ; Grab first parameter (character ID)
STA $4202       ;
LDA #$25        ; Multiply by length of character block (37/#25 bytes)
STA $4203       ;
LDA $4216       ; Load result...
TAX             ; ...and transfer to X
LDA $EC         ; Grab second parameter (Command ID)
STA $1617,X     ; Character's second command is at byte 23/#17 of the block
LDA $03         ; Set accumulator to number of bytes to advance event queue
JMP $9B5C       ; ...and jump and advance.



I haven't checked this against any free-space allocations, so if you're using other patches, or if you've got other code already added in, you may need to change the location of the new code (and subsequently where the 6D pointer points to).
Current Project: FF6: Tensei | Discord ID: TristanGrayse
Reply
#6
What I want to do is example
Edgar wob
Fight
Tools
nothing
Items
then when u get him in the wor
Fight
Tools
Magictek
Item .
Reply
#7
If you don't want to alter GrayShadows' code, you could always just make the order:

WoB:
Fight
Nothing
Tools
Item

WoR:
Fight
Magitek
Tools
Item
Confused Moogles FTW
Reply
#8
Okay, leaving everything else the same (so the two events can't be used in the same game), you'd use this code instead. The only change is to the third line from the bottom; you're storing the result in $1618,X instead of $1617,X. Everything else works exactly as before.
Code:
org $C09934     ; General action 6D
DW $D613        ; New action is being placed at C0/D613

org $C0D613
LDA $EB         ; Grab first parameter (character ID)
STA $4202       ;
LDA #$25        ; Multiply by length of character block (37/#25 bytes)
STA $4203       ;
LDA $4216       ; Load result...
TAX             ; ...and transfer to X
LDA $EC         ; Grab second parameter (Command ID)
STA $1618,X     ; Character's third command is at byte 24/#18 of the block
LDA $03         ; Set accumulator to number of bytes to advance event queue
JMP $9B5C       ; ...and jump and advance.

ETA: I will be working on a patch with a set of custom ability-related events (teaching dances/blitzes/lores/swdtech through events, for example); if I have the space (which I should do), I'll include a modified version of this code so that each of a character's four command slots can be changed.
Current Project: FF6: Tensei | Discord ID: TristanGrayse
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Edgar glitches in Kefka's end speech Kenefactor 6 4,420 01-27-2020, 04:50 PM
Last Post: PowerPanda
  Need help fixing bug in Magitek menu Rodimus Primal 4 4,442 06-24-2019, 11:12 PM
Last Post: Rodimus Primal
  Magitek Command Timbo 5 10,481 03-22-2017, 07:55 AM
Last Post: B-Run
  World of Ruin racing randomizer MrEntity 2 3,497 03-22-2016, 07:10 PM
Last Post: Tenkarider
  So, how did you get rid of these Magitek Armor glitches? Kugawattan 9 12,530 12-21-2015, 09:03 AM
Last Post: Catone
  terra's magitek luxador 36 30,744 11-30-2015, 03:12 PM
Last Post: Zozma
  Trying to re-do the Edgar entrance scene Kugawattan 9 9,482 11-28-2015, 08:39 AM
Last Post: Catone
  Magitek Armor equipable from airship Catone 16 18,113 01-20-2015, 07:47 AM
Last Post: Catone
  Final Fantasy VI - Magitek command menu problem. FlamePurge 2 3,983 10-20-2014, 10:25 PM
Last Post: FlamePurge
  Problems with modifying Edgar's Tools BohepansTheFirst 2 3,355 04-10-2014, 03:54 PM
Last Post: Xenovant

Forum Jump:


Users browsing this thread: 1 Guest(s)