i had forgotten to throw that into the file, but thats not the issue im having. the issue im having is after a move has already been set as used and you swap the move so that it is no longer in any moveslot it stays set as used.
ive tried setting it like this
but then it permanently sets all moves as not used because at least one slot is not equal to the movenum