Added client-side wall checking statements
Added the rest of client-side conditionals