$game_map.events[number].x == $game_map.events[number2].x
$game_map.events[number].y == $game_map.events[number2].y
if ($game_map.events[id].x - $game_map.events[other id].x).abs <= 1 and ($game_map.events[id].y - $game_map.events[other id].y).abs <= 1
if (($game_map.events[id].x - $game_map.events[other id].x).abs <= 1 and $game_map.events[id].y == $game_map.events[other id].y) or (($game_map.events[id].y - $game_map.events[other id].y).abs <= 1 and $game_map.events[id].x == $game_map.events[other id].x
Variable[Rock's X] = Rock X Tile
Variable[Rock's Y] = Rock Y Tile
Condition Branch: Variable[Rock's X] = (x)
Conditional Branch: Variable[Rock's Y] = (y)
Message: LOL GOTTCHA!
Else
End
Else
End