Users browsing this thread: 1 Guest(s)
Command Change Custom Event

#8
Posts: 380
Threads: 34
Thanks Received: 10
Thanks Given: 9
Joined: Dec 2018
Reputation: 18
Status
Moog
(09-03-2019, 11:43 AM)KefkasKronie Wrote: Hey all. Closet hacker here. Wanted to say thanks to everyone for all their hard work.

Great code here, Grayshadows. Thanks for your work. I did notice an issue though. Actions A3 and A4 caused the "Magic" command to be overwritten instead of the character unique abilities. A5 worked like a charm! But I did notice that if I rearranged commands via the shortcut way before the event, I could have this code write over any command that happend to be in the chosen slot. I'm very comfortable with hex-editing and event hacking but not at all good with SRAM. Is there any way to force the SRAM to reorder a character's command list to default before overwriting the command to ensure that the proper command gets overwritten?

Thanks again.

I think the safest way to go about this would be to simply overwrite all four command slots with the four commands you want.  So for instance, if you want to trade "Tools" for "Jump" on Edgar, you'd use A5 four times, to give the character Fight in slot 0, Jump in slot 1, Magic in slot 2, and Items in slot 3.  That way even if they're scrambled, you'll still end up with the correct four commands.  I think Berserk and Zombie actually do this in the main battle loop, overwriting commands with 'Fight' temporarily.
  Find
Quote  



Messages In This Thread
Command Change Custom Event - by GrayShadows - 10-06-2017, 12:52 AM
RE: Command Change Custom Event - by Lockirby2 - 10-12-2017, 07:24 PM
RE: Command Change Custom Event - by PowerPanda - 10-19-2017, 12:50 PM
RE: Command Change Custom Event - by GrayShadows - 10-19-2017, 01:28 PM
RE: Command Change Custom Event - by PowerPanda - 10-19-2017, 02:13 PM
RE: Command Change Custom Event - by GrayShadows - 10-19-2017, 06:11 PM
RE: Command Change Custom Event - by KefkasKronie - 09-03-2019, 11:43 AM
RE: Command Change Custom Event - by C-Dude - 09-03-2019, 11:34 PM
RE: Command Change Custom Event - by fedorajoe - 05-22-2022, 11:07 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite