Change screenHeight Mid-Game?

A section of my project is in a 17x17 map, and I want the whole thing to be visible to the player without having it pan around as they walk due to the default 17x13 view. I figured out how to accomplish that using the Community Basic plugin... however, the prior section that takes place in smaller maps is now weirdly zoomed out as well. Is there any way I can bend the game into changing this parameter via an event, so that certain maps will have a different screenHeight?
I could simply remake the other maps to work better with the new size, obviously, but I want to try this first. If if would just make only that map zoomed out, it would have the effect I want, but if it would actually change the window size on your screen that would be cool and impactful too. On a grander scale, being able to choose screenHeight and screenWidth per-map would mean I have a great deal of creative freedom when it comes to further maps in this project which is exciting. Bigger squares! Smaller squares. Endless possibilities.

(I don't care if it breaks in fullscreen or mobile. I don't intend to put this on mobile (obviously, I don't have a hundred thousand dollars to throw away), and I can just ask people not to use fullscreen.)
I don't know the JavaScript for it off the top of my head, but a quick Google shows a number of plugins that add selecting resolution to the options menu - the code could probably be easily gotten from one of those, or they might provide a script call/plugin command.

I wonder if you really want what you're asking for. Have you played a computer game and changed the resolution in the options? It's not some visually pleasing, seamless process; at very best the window obviously flickers as it closes and is redrawn.

I find it hard to imagine that's the experience you want for your players during the game (I know I would probably be put off by it, as a player).

Do you realize that if you simply make your resolution larger than your largest map, it won't scroll as the player walks around?

I'm not sure I understand why you feel the need for the window to exactly match the size of the map...again, if I were playing a game, I would find it much less obtrusive to have a fullscreen window with some black borders around the game map (which took up varying amounts of that black space) than to have a window in the middle of my screen that flickered and resized as I went through the game.
Maybe you're just looking for a map zoom plugin. There are quite a few of those.
While most of them are for zooming in, most (if not all) will allow for a zoom out.
This can usually be done on a per map basis.

Original thread: https://forums.rpgmakerweb.com/threads/change-screenheight-mid-game.151167/