Please post a screenshot of the command in the event - I strongly suspect that you have a space there where it doesn't belong, and automatically corrected that mistake when retyping the command here.
Try to remove "s" on the event.
Just give a try 🙂
$game_map.event([$game_variables[48]).animation_id = 115
No, it's $game_map.events.
Is that EXACTLY what you have in the script call? Or have you split it onto two lines (or has it done it automatically)? If you've split it onto two lines, it will be because of where the line break occurs. Make the line break after $game_variables[ and before 48.
The script box for events won't always allow you to put your entire script on one line. Do what Shaz said and make a line break after $game_variables[ but before the 48.
yeah, that'd work too. But the way we already told you - splitting it, but at a specific place rather than an auto-line break - would have been fine.