I've encountered a strange bug involving keyboard conditions not working when coupled with local/instance variables. It's quite bizarre. Thankfully, due to Construct 2's ability to transfer events and objects between caps, it's MUCH easier to reproduce the problem in an isolated cap.
Basically, the "attack" option works, but you can't exit out of the attack menu with B, and space bar doesn't work when trying to select 'item'. Mouse controls work perfectly, however... Though, in my project, at some point they stopped working entirely in that one layout. Strange.
Example capx
This problem was more pronounced in earlier caps, forcing me to use workarounds (such as layer visibility, which kinda has been rather useful in other ways), but at some point it became simply unfeasible to work around stuff by the point I hit the 'item' problem.