For this of you still coming here, this does not work anymore. It will change the values, you'll wipe the field but when the battle ends it gives you an error