Battling triggers from a single function; battling up to showing an opposing wild pokemon