The rest of the function, as well as some moves and statuses rely on <code>move.category</code>, so all of that would need to be changed to <code>this.getCategory(move)</code>