/**
* Return the effect that vetoes the use of a particular one of this pokemon's
* moves.
*/
public StatusEffect getVetoingEffect(int idx) throws MoveQueueException {
if ((idx < 0) || (idx >= m_move.length)) { throw new MoveQueueException(
"No such move."); }
MoveListEntry entry = m_move[idx];
if (entry == null) { throw new MoveQueueException("No such move."); }
synchronized (m_statuses) {
Iterator<StatusEffect> i = m_statuses.iterator();
while (i.hasNext()) {
StatusEffect j = i.next();
if ((j == null) || !j.isActive()) {