MZ Visustella Core Engine Menu Cursor Quirk

By default in MZ if you are at the top of a list (like the main menu) and press up, the cursor will wrap back down to the bottom of the list. It also does this if you are the bottom of the list (pressing down takes you to the top of the list).

For some reason, with Visustella Core enabled, this behavior changes. Pressing down at the bottom of the list takes you to the top, but pressing up does not take you down to the bottom. I've been tearing my hair out about this, it seems like such an obvious thing but I can't find any parameters in the Core plugin that dictates this behavior. I'm almost wondering if this is a bug? Has anyone else had this issue or had any luck with fixing it?
Doesn't happen with me (though my plugins aren't updated), did you check that happens if you only have the Core Engine plugin (and that you haven't modified the core files)? If so, I guess it's bug report time.
Doesn't happen with me (though my plugins aren't updated), did you check that happens if you only have the Core Engine plugin (and that you haven't modified the core files)? If so, I guess it's bug report time.

I turned everything off except the core engine plugin and the behavior persists. I did not make any edits to the core files.

Do you use the "Modern Controls" option in the Quality of Life settings? If I turn that on, the problem goes away. But that also makes a bunch of other changes that I don't want.
Hmmm yeah it happens to me if I turn Modern Controls off. Comparing the up/down cursor functions, there seems to be missing parenthesis (though like I said my plugins aren't updated)
At work now and can't check my project.
Maybe you can try main menu core's option?
Hmmm yeah it happens to me if I turn Modern Controls off. Comparing the up/down cursor functions, there seems to be missing parenthesis (though like I said my plugins aren't updated)

One of the first things I did was make sure I was on the most current version, so it seems this never got fixed. I tried cracking open the js file itself to see what you meant by missing parenthesis but the code is all a jumbled mess (I heard Visustella does something to obscure it's source code, presumably this is it?).

If it's as simple as adding some parenthesis I'd love to know where lol. In the meantime I'll report this as a bug to Visustella.
If you check the console for Window_Selectable cursor down / cursor up related methods, there's like:

DOWN:
if (this[_0x2a3e5b(0x385)]() && (_0x5e8b7f < _0x5dd42a || _0x1b6c88 && _0x49aad0 === 0x1))

UP:
if (this[_0x5abadf(0x385)]() && _0x107bd1 > 0x0 || _0x36bdcf && _0xc5a90f === 0x1)

The up has no parentheses after && or second ones at the end
I tried to CTRL + F those lines in the js file but nothing came up. I ended up finding the Cursor Up function in the rmmz_windows file and just saving it as it's own plugin so it overwrites whatever Visustella is doing and it fixes the issue.
Yeah, the scrambled lines change based on your plugin version, so they're different, but the logic is the same. Also, not sure if you can find them like that in the file or if you need to look them up from the console. Good that you got it working though by just overwriting with the original.

Original thread: https://forums.rpgmakerweb.com/threads/visustella-core-engine-menu-cursor-quirk.181769/