Final Fantasy IV Research & Development / Re: Question about Cover command
« on: October 30, 2016, 02:35:17 PM »It's tough to zero in on, for a few reasons:
1) I don't know when the check for DK Cecil is performed (that is, when the command is selected, when the command is executed, or when the covered character is attacked)
2) I don't know exactly what in RAM is being read to perform the check. I mean during a battle, the characters' IDs are stored in 7e:2000, 2080, 2100, 2180 and 2200, and each of those values is read several times per second throughout the course of a battle. I figured, no matter, I'll set a breakpoint to the first character's ID and despite the slowness of the process note each part of ROM that reads it and see if I can find any differences between what happens when DK Cecil is in or not in the party. Found none. Which leads me to believe that somehow the game is using an entirely different method to determine whether or not to disable the cover command. Furthermore, if I begin a battle without DK Cecil and then hack him in mid-battle, the Cover command still works. So... maybe there's a check at the beginning of the battle for DK Cecil that allows or prevents Cover for the duration of the battle?
I think I'll look into that a bit...


file attached

