that part is the status window, but I don't own MZ< so I cannot make
a snippet for you for it to rule it out or what it's called in MZ.
once you find it into the scene, you can copy paste that section or the
part that create its and rule it out and it wont be drawed.
this is a quick hardcode overwrite, so I cannot test if it working
and maybe more code is required to adjust the rest, depends what you exactly seek.
if it does work what you need, no need to credit me 🙂
I cannot test without MZ, but if that requires as well for basic to work.
than it's good, I re-upload with your code attached.
but it also probably need at target MZ to get rid of the error.
I might do that tomorrow or anyone with MZ to alter it better.
as there is a better way to assign it so it wouldn't conflict with any
menu plugins if he/she is using one.
Again, you are never supposed to edit the core js files. That's why the plugin system exists and that's why ShadowDragon already gave you the changes in a plugin file.
Beyond that, I can't offer any more advice unless you say whether the code given to you in the first reply does what you want or not.