An ability score check shouldn't be required at all on a charmed creature. Successfully casting animal friendship on Scratch doesn't remove the need to pass an ability check, or even give the player advantage on any ability checks in the encounter with him.