       break;
     
     case 0x42505f87:
-      set_state_bit (true, GM_CMD_MOVE_W, &state);
+      set_state_bit (true, GM_CMD_MOVE_E, &state);
       // left 
+      break;
+    
+    default
+      reset_states();
       break;
     }
 

      break;

    case 0xd5055bb4:
      set_state_bit (true, GM_CMD_MOVE_E, &state);
      break;
    
    case 0x8e623846:

  }
}

void reset_states(){
  set_state_bit (false, GM_CMD_GRAB, &state);
  set_state_bit (false, GM_CMD_MOVE_N, &state);
  set_state_bit (false, GM_CMD_MOVE_W, &state);
  set_state_bit (false, GM_CMD_MOVE_S, &state);
  set_state_bit (false, GM_CMD_MOVE_E, &state);
}
