$gamePlayer.terrainTag.value // or $gamePlayer.terrainTag.setValue ()
Machine only tells you what you tell it to do. It doesn't have any implicit knowledge as to what you want it to do. Therefore if you ask it to search for a wrong variable, it will search for wrong variable.
I can't tell you the exact name now, but search the core scripts for terrain and maybe you'll find out how terrain tags are called.
$gamePlayer.terrainTag() === 1
I'm surprised that's not actually causing your game to crash, the way you have it. Unless there's a try/catch by default.
I used the ace-to-mv converter script
The Ace-to-MV converter does not convert script calls. That's up to you to do. It does provide a list of all places where script calls are used, but you've got to fix them manually.
Ace uses $game_player; MV uses $gamePlayer.
Ace uses .terrain_tag; MV uses .terrainTag().
Ace uses ==; MV uses ===.
I thought you were saying the converter did thatI know it doesn't convert script calls
I get confused with JS's == and === so I just use === all the time.
I thought you were saying the converter did that
If you get stuck with something like that, you can always look for an event command that does it (in this case Get Location Info) and take a look at rpg_objects.js at the Game_Interpreter.prototype section way down at the bottom, and see what it does behind the scenes. In most cases, if you find Game_Interpreter.prototype (to get to the beginning of that class definition) you can then search for the exact text that shows on the event command button.