Crash [Indev 0.54.2] Battle Item Crash


Starting Trainer
I was trying to use a X def in battle and it didn't work, instead I got back into the battle menu (Where you choose attack, pokemon or bag) and I decided to keep playing.
After a while, I looked at my crash log for an other reason, and realised I had this message:
Warning (18:52:25): XDefense.vb: Used outside of battle environment!

It's not a big issue but it's still good to acknowledge.