- Pokémon Essentials Version
- v20.1 ➖
Just what it says on the tin!
Can be downloaded as a plugin here or added directly to the scripts.
Find this line in Minigame_Mining - 
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
And replace it with this:
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
		
			
				Ruby:
			
		
		
		if Input.trigger?(Input::UP) || Input.repeat?(Input::UP)
			
				Ruby:
			
		
		
		      if System.mouse_in_window
        if Input.mouse_x.between?(0,BOARD_WIDTH*32) && Input.mouse_y.between?(64,64+BOARD_HEIGHT*32) #Mouse is on board
          x = Input.mouse_x/32
          y = Input.mouse_y/32
          y -= 2
          newpos = x + y*BOARD_WIDTH
          @sprites["cursor"].position = newpos
          pbHit if Input.trigger?(Input::MOUSELEFT)
        elsif Input.mouse_x.between?(428,508) #mouse is by tool icons
          if Input.mouse_y.between?(98,216) #mouse is by hammer
            if Input.trigger?(Input::MOUSELEFT)
              pbSEPlay("Mining tool change")
              newmode = 1
              @sprites["cursor"].mode = newmode
              @sprites["tool"].src_rect.set(newmode * 68, 0, 68, 100)
              @sprites["tool"].y = 254 - (144 * newmode)
            end
          elsif Input.mouse_y.between?(242,360) #mouse is by pick
            if Input.trigger?(Input::MOUSELEFT)
              pbSEPlay("Mining tool change")
              newmode = 0
              @sprites["cursor"].mode = newmode
              @sprites["tool"].src_rect.set(newmode * 68, 0, 68, 100)
              @sprites["tool"].y = 254 - (144 * newmode)
            end
          end
        end
      elsif Input.trigger?(Input::UP) || Input.repeat?(Input::UP)- Credits
- Credit to TechSkylander1518, please!
 
	







