Users browsing this thread: 1 Guest(s)
A Guide to Ability Learning

#37
Posts: 377
Threads: 34
Thanks Received: 10
Thanks Given: 7
Joined: Dec 2018
Reputation: 18
Status
Moog
(07-20-2020, 09:55 PM)Mutteo Wrote: Anyway I plugged in all the information you gave me and it seems to be working fine as far as I can tell.  I am extremely grateful that you went out of your way to do this for me.  It is very much appreciated.  I wish I could return the favor somehow, though coding is not my strong suit.

No problem, I was glad to help.  You've had the courage to actually attack the animation code (your harp thing), so you've got coding talents that I don't.  I understand the hesitation, too, when I started just a year ago (or has it been two?) I wasn't even going to jump into this stuff: I thought it was like learning to speak robot.

As for hacking assembly in hex, there are a lot of documents on the Wiki that will help explain what each op code is actually doing.
https://www.ff6hacking.com/wiki/doku.php...s:doc:snes

If you're going to be doing more coding with hex, try to think of it like a logic flow chart.  You've got a few variables (A, X, and Y mostly), you test to see if they've got the value you want, and then you modify or record something.  In the case of the dance code above, we're basically doing the following:

A) Making a copy of the "Learn SwdTech" code
B) Replacing JSR $6222 with the block of code found at C26222, since we're in the D0 bank
C) Replacing instances of $E6F490 with our Dance Level table, $D096A2
D) Replacing instances of SwdTech RAM location $1CF7 with the Dance RAM location $1D4C
E) Replacing JMPs with JMLs to the appropriate spots, since we're in the D0 bank
F) Making sure all short jumps (BNE, BEQ, BCC, BCS) are pointing to the starts of the right lines, since we had to insert extra bytes to make room for the JMLs relative to the code we're patterning.
  Find
Quote  



Messages In This Thread
A Guide to Ability Learning - by Sutebenukun - 10-18-2010, 05:10 PM
RE: Hacking: A Guide to Ability Learning - by Mudkippower1 - 02-05-2012, 07:05 PM
RE: Hacking: A Guide to Ability Learning - by Mudkippower1 - 02-06-2012, 08:57 AM
RE: Hacking: A Guide to Ability Learning - by Mudkippower1 - 02-06-2012, 05:26 PM
RE: Hacking: A Guide to Ability Learning - by Mudkippower1 - 02-07-2012, 07:57 AM
RE: Hacking: A Guide to Ability Learning - by Mudkippower1 - 02-07-2012, 08:48 AM
RE: A Guide to Ability Learning - by Mutteo - 07-09-2020, 03:00 PM
RE: A Guide to Ability Learning - by madsiur - 07-10-2020, 10:46 PM
RE: A Guide to Ability Learning - by GrayShadows - 07-11-2020, 10:39 PM
RE: A Guide to Ability Learning - by Mutteo - 07-18-2020, 08:40 PM
RE: A Guide to Ability Learning - by C-Dude - 07-19-2020, 01:49 PM
RE: A Guide to Ability Learning - by Mutteo - 07-19-2020, 08:52 PM
RE: A Guide to Ability Learning - by C-Dude - 07-20-2020, 12:56 AM
RE: A Guide to Ability Learning - by Mutteo - 07-20-2020, 09:55 PM
RE: A Guide to Ability Learning - by C-Dude - 07-20-2020, 10:57 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite