NPC actions
#3
(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!



Reply


Messages In This Thread
NPC actions - by madsiur - 01-16-2012, 07:21 PM
RE: NPC actions - by m06 - 02-12-2012, 04:36 PM
RE: NPC actions - by madsiur - 02-12-2012, 05:04 PM
RE: NPC actions - by m06 - 02-14-2012, 11:58 AM
RE: NPC actions - by madsiur - 02-20-2012, 01:44 AM
RE: NPC actions - by m06 - 04-02-2012, 09:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cyan's uncontrollable actions at Imperial Camp Angelo26 9 10,045 01-27-2011, 08:46 PM
Last Post: xJCSx

Forum Jump:


Users browsing this thread: 1 Guest(s)