02-12-2012, 05:04 PM
(02-12-2012, 04:36 PM)m06 Wrote: The first part seems to be the one you are looking for based on FF6LE providing 16 possibilities available.
Then you need to find where in the main loop "LDA $087C,Y" happens (with Y at the same value as in this code snippet). That will reveal what happens to the 4 bit value.
Well this is what I call unexpected help! I almost gave up all hope so I neglected that project but to be honest I didn't thought of your solution. The value at $087C, Y is loaded in many instance in bank C0 and with a really quick look I couldn't find the right spot. I could probably find the solution by using a debugger and setting up a break point at a NPC data (C41A17,X) and see like where action 3 (moving pseudo randomly) leads too. I'll try that when I have more free time.
You have a good understanding of assembly! Thanks again!