made sure that i have the right cordinants and i still have the same problem also for me the in cordenets are'nt x34 y40 but x34 y101 is that normal?
inn=tavern. It's a specific location.
Each location has its own coordinates where tilemap is.
To check coordinates on any map: decrypt game, open rpgmaker, make an Game.rvproj2 file, open that map, then check coordinates.
Or you could type a long line and checking output in console to check your own coordinates:
p "#{$game_player.x} #{$game_player.y}"
it will show something like
"31" "40" in console where first number is x and second is y.
Or, you can just spawn under yourself:
$game_map.summon_event("GoblinCommoner",$game_player.x,$game_player.y)