use switches. In the common event where he transforms, set a "player has transformed" switch to ON.
In all your events that initiate battle, right after the Battle Processing line, add a condition - IF "player has transformed" (use the switch here), turn the switch off, and change their graphic back.
This might make the player appear very briefly on the map as transformed, before they change back.