Hi,
I guess I encountered this bug where repel doesn't work for some reason? I'm on the Moon (Hoenn) and I used a repel twice and for some reason I still get encounters every time. I added a screenshot where you can see my repel is activated and I still get encounters.
This is not the first time it happened, it also happened in Johto and I don't know what causes this. I just used my repel whenever I entered a cave, maybe it has to do something with that I don't know.