Je ne sais pas trop comment faire puisque la couleur n'est jamais la même des points de téléportation sur 1.29
You can use a Regex colour matching to make sure to always find those points even if the colours are different. I've never made pixel bots for Retro but i'm sure you can identify some colour pallets for each zone:
- Astrub, Cania the ligther areas etc: probably the transition points will be 1 or 2 pallets, with more vibrant , lighter, green and yellow.
-The darkest areas like Brakmar would be another pallet.
-Inside some caves/mines maybe its another pallet (?) i dont know.
Take some time identifying those colours and make some regexs. Finally make a method that checks for those colour pallets (RegExpallet1 OR Regexpallet2 OR RegeXpallet3)
Example: in Incarnam
![img]()

So, checking those colours, the values on that green area are always: A3B069, A3B06A, A2B06A... so the pallet is AxBx6x make a regex with that structure and it will always identify the transition point on the map. For darker areas like Brakmar, Dark Forest, caves etc the pallet will be darker, but I'm sure with 4 or 5 pallets you can travel around 80-90% of all the maps.
Btw its not mandatory to make the regex pallets with the green. It was just an example. I think its a better idea to do the regex based on the yellow colour, because its less common than the green, that its present all over the maps.