Plugin: MOG Hunter Chrono Engine (ABS mode)
Hello! Been running into this issue with MOG's Chrono Engine ABS where the hookshot and boomerang pass through wall tiles that are marked as impassable and also through regions IDs that are marked as impassable with YEP Region Restrict.
Projectiles in the engine behaved the same way, but I was able to solve that by adding the following script:
Code:
var _mog_toolSys_gevent_updateSelfMovement = Game_Event.prototype.updateSelfMovement;
Game_Event.prototype.updateSelfMovement = function() {
if (this._tool.enabled && this.regionId() === 10) this.erase();
if (this.needStopSelfMovement()) {return};
_mog_toolSys_gevent_updateSelfMovement.call(this);
};This erases the projectile when it hits region ID 10. Unfortunately, this does nothing to change the behavior of the hookshot and the boomerang.
I've scoured through the code, and am not super great at JS, so I've been unable to come up with a solution.
Has anyone else been able to erase/end the hookshot and boomerang when they reach impassable tiles, or can someone help point me in the right direction? thanks!