The Legend of Zelda: The Wind Waker -
Once the Bokoblin is defeated, the searchlight won't work anymore, making it easier for you to sneak around the place. Head down the ladder and back down the ramp. At the bottom of the ramp (don't go down the stairs!) you will see a hallway. Head through the door to the right (the one closest to the searchlight) and drop down to the lower level in the room. Avoid the rats and move the barrels near the jail cell. Step on the switch behind them and enter the cell. Open the chest inside for Piece of Heart #1.