Imagine the scarf like a light switch. everytime you kill a pokemon(wild/trainner, lets call it step one) that switch turns on, everytime u leave the game, its goes off, and in order to activate it again u need to do step one.
Not sure if it answer ur question