handling of room sprites