Does anyone know what variable monitors whether or not an attack has hit a target? I'm trying to make a character who can extend a limited-time move by successfully attacking opponents. My original guess was RA-Bit[17], since when Ike uses his Final Smash, he only proceeds into the second phase if RA-Bit[17] was set to 'true' while doing his first slash. Also, since RA-Bit[16] is used in practically every special move, my guess is that it monitors whether or not the character is using an attack. So it seems logical that the next variable the programmers would have added would monitor whether or not the attack was successful. I still haven't been able to call RA-Bit[17] to do anything in an action, though, so I'm not sure if I've got the wrong variable or I'm just calling it in the wrong place. Anyone able to help?
EDIT: Looks like RA-Bit[17] isn't the right variable after all - lots of special moves incorporate it that don't do anything unusual when they connect, so I'm guessing that it's different for each attack. For clarification, though, I'm looking for a variable that can monitor normal moves, not specials. That should probably be the same variable for every basic attack, right? I'm assuming the variable has to exist somewhere, because something has to tell the game when to load the data contained in the collision boxes...
Also, has anyone figured out the variable containing the data for which direction the control stick is held? It would be helpful for making a teleportation move...