Enemy Specific tiles

So I know I have seen people do this and i've poked around a bit but I am unsure of what they did. I want to be able to put specific enemies on different types of tiles (For example in my oceans only have enemies that relate to the water, like fish or water sprites) Can anybody help me with this? Do I need a script or is there a way to do this with the base game?
It depends on how you made your enemies.


If you're using random enemy tables on the map, that function is already implemented by regions in the encounter table - any enemy can only be encountered on the regions it is set to.


If you're using evented enemies, then you need to restrict event movement to areas - there are scripts for doing that, again by marking the tiles with region IDs but needing the correct script/plugin to check, for example Yanfly's Move restrict region script
Alright, Thank you for the quick reply, I think I've got it now.

Original thread: https://forums.rpgmakerweb.com/threads/enemy-specific-tiles.55913/