public new void moveCursorInDirection(int direction) { int num = 0; base.moveCursorInDirection(direction); return; if (this.currentRegion == 0) { //int num = this.inventory.moveCursorInDirection(direction); if (num == 0) { return; } if (num == 2) { this.currentRegion = 1; this.equipmentIcons[0].snapMouseCursor(); } } else if (this.currentRegion == 1) { if (direction == 0) { this.currentRegion = 0; ClickableComponent lastClickableComponentInThisListThatContainsThisXCoord = base.getLastClickableComponentInThisListThatContainsThisXCoord(this.inventory.inventory, Game1.getMousePosition().X); if (lastClickableComponentInThisListThatContainsThisXCoord != null) { lastClickableComponentInThisListThatContainsThisXCoord.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; }