Go into Player.java and add:
Code:
public boolean inEdgePk () {
if(absX >= XCOORD1 && absX <= XCOORD2 && absY >= YCOORD1 && absY <= YCOORD2) {
return true;
}
return false;
}
Run to the Start Point of your pking zone (South-West Point)
type ::coords or ::mypos and fill in XCOORD1 and YCOORD1 with those coords
then run to the end point of your pking zone (North-East Point)
type ::coords or ::mypos and fill in XCOORD2 and YCOORD2 with those coords
Then in the same class find your inWild() method and add this in there:
Code:
if(inEdgePk())
return true;