Set base for code running with movement and darkness