// Token: 0x06000EB9 RID: 3769 RVA: 0x0012C1CC File Offset: 0x0012A3CC
 public override int moveCursorInDirection(int direction)
 {
     if (this.currentRegion == 0)
     {
         int result = this.inventory.moveCursorInDirection(direction);
         if (result == 0)
         {
             return(0);
         }
         if (result == 2)
         {
             this.currentRegion = 1;
             this.equipmentIcons[0].snapMouseCursor();
         }
     }
     else if (this.currentRegion == 1)
     {
         if (direction == 0)
         {
             this.currentRegion = 0;
             ClickableComponent c = base.getLastClickableComponentInThisListThatContainsThisXCoord(this.inventory.inventory, Game1.getMousePosition().X);
             if (c != null)
             {
                 c.snapMouseCursor();
             }
         }
         else if (direction == 2)
         {
             this.currentRegion = 2;
             this.equipmentIcons[1].snapMouseCursor();
         }
     }
     else if (this.currentRegion == 2)
     {
         if (direction == 0)
         {
             this.currentRegion = 1;
             this.equipmentIcons[0].snapMouseCursor();
         }
         else if (direction == 2)
         {
             this.currentRegion = 3;
             this.equipmentIcons[2].snapMouseCursor();
         }
     }
     else if (this.currentRegion == 3)
     {
         if (direction == 0)
         {
             this.currentRegion = 2;
             this.equipmentIcons[1].snapMouseCursor();
         }
         else if (direction == 2)
         {
             this.currentRegion = 4;
             this.equipmentIcons[3].snapMouseCursor();
         }
     }
     else if (this.currentRegion == 4 && direction == 0)
     {
         this.currentRegion = 3;
         this.equipmentIcons[2].snapMouseCursor();
     }
     return(-1);
 }