You can either add this to the existing plugin (If you're sure editing is/was allowed), or you could add it to it's own document, save it as a .js file and add it to your plugin list
beneath the Quasi Plugins.
To toggle the setting, you can now use
$gamePlayer.toggleABSHud(true) to show it and
$gamePlayer.toggleABSHUd() to remove it.
These settings should remain in place until you change them.
i.e. if you toggle it off once, it should stay off until you toggle it on again.
Let me know if there are any issues that you find
Code:
//This is a small plugin to add toggle functionality to QuasiABSHudB.js
Game_Player.prototype._absOn = false;
Game_Player.prototype.toggleABSHud = function(turnOn){
this._absOn = turnOn ? true : false;
if(this._absOn){
SceneManager._scene.addChild(SceneManager._scene._absKeys)
} else {
SceneManager._scene.removeChild(SceneManager._scene._absKeys)
}
}
let sp_alias_SceneMap_OnMapLoaded = Scene_Map.prototype.onMapLoaded;
Scene_Map.prototype.onMapLoaded = function(){
sp_alias_SceneMap_OnMapLoaded.call(this);
if($gamePlayer._absOn){
this.addChild(this._absKeys)
} else {
this.removeChild(this._absKeys)
}
}