✨ General: How to fix Pushable bug from DotMoveSystem FunctionEx

 Find this code block:


const _Game_Event_initialize = Game_Event.prototype.initialize;
        Game_Event.prototype.initialize = function (mapId, eventId) {
            _Game_Event_initialize.call(this, mapId, eventId);
            if (this.event().meta.PushableEvent) {
                this._pushableEvent = true;
            }
            else {
                const values = this.getAnnotationValues(0);
                if (values.PushableEvent) {
                    this._pushableEvent = true;
                }
            }
        };


And replace with:


const _Game_Event_initialize = Game_Event.prototype.initialize;
        Game_Event.prototype.initialize = function (mapId, eventId) {
            _Game_Event_initialize.call(this, mapId, eventId);
            const event = this.event();
            if (event && event.meta && event.meta.PushableEvent) {
                this._pushableEvent = true;
            }
            else {
                const values = this.getAnnotationValues(0);
                if (values.PushableEvent) {
                    this._pushableEvent = true;
                }
            }
        };
5 RPG Maker Action Combat Manual: ✨ General: How to fix Pushable bug from DotMoveSystem FunctionEx  Find this code block: const _Game_Event_initialize = Game_Event . prototype . initialize ;         Game_Event . prototype . initialize ...
< >