Changed method for calling checkScoreSprite()

The checkScoreSprite() function is now called from comm.js. As pointed out by @Fiero99, this makes the code logic simpler than the current implementation.
Note: this line is being deleted!