Revert "moving player functions to generic scripts"

This reverts commit 969c5ead134b3efd893ab745355e319dabd056e9.