MV Question about zooming effects (solved)

So I'm trying to make a simple transition effect for a warp event in which map A will first get compressed downwards to the bottom of the screen, and then map B will uncompress from above (as shown in gif).
transition.gif

Right now I am looking at the class $Game_Screen, specifically the effects related to zooming. However, I need to keep the width of the screen fixed, and I haven't found a way to do this yet, since the .startZoom method only have one parameter for scaling, so it will always increase/decrease the size of the entire screen with a fixed x/y ratio.

Can anyone suggest how to overcome this? Any help would be greatly appreciated. For my background, I am a few month into MV, but have only started learning Javascript.
I believe I can bump this?
***
What I want is basically a screen stretching effect, but I haven't found any codes I can use to my advantage yet. I would be very grateful if someone could point me in the right direction.
So I eventually managed to solve this problem myself. For future reference:

Game_Screen.prototype.zoomScalex = function() {
return this._zoomScalex;
};

Game_Screen.prototype.zoomScaley = function() {
return this._zoomScaley;
};

Game_Screen.prototype.clearZoom = function() {
this._zoomX = 0;
this._zoomY = 0;
this._zoomScalex = 1;
this._zoomScaley = 1;
this._zoomScaleTargetx = 1;
this._zoomScaleTargety = 1;
this._zoomDuration = 0;
};

Game_Screen.prototype.startZoom = function(x, y, scalex, scaley, duration) {
this._zoomX = x;
this._zoomY = y;
this._zoomScaleTargetx = scalex;
this._zoomScaleTargety = scaley;
this._zoomDuration = duration;
};

Game_Screen.prototype.setZoom = function(x, y, scalex, scaley) {
this._zoomX = x;
this._zoomY = y;
this._zoomScalex = scalex;
this._zoomScaley = scaley;
};

Game_Screen.prototype.updateZoom = function() {
if (this._zoomDuration > 0) {
var d = this._zoomDuration;
var t = this._zoomScaleTargetx;
var u = this._zoomScaleTargety;
this._zoomScalex = (this._zoomScalex * (d - 1) + t) / d;
this._zoomScaley = (this._zoomScaley * (d - 1) + u) / d;
this._zoomDuration--;
}
};

Spriteset_Base.prototype.updatePosition = function() {
var screen = $gameScreen;
var scalex = screen.zoomScalex();
var scaley = screen.zoomScaley();
this.scale.x = scalex;
this.scale.y = scaley;
this.x = Math.round(-screen.zoomX() * (scalex - 1));
this.y = Math.round(-screen.zoomY() * (scaley - 1));
this.x += Math.round(screen.shake());
};

This way, instead of a single parameter for scaling, the startZoom function would be able to take in two seperate parameters for zooming along the x and y axis. The function goes as:

$Game_Screen.startZoom(x, y, scalex, scaley, duration);

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/question-about-zooming-effects-solved.127937/