EasyRPG / Player

RPG Maker 2000/2003 and EasyRPG games interpreter
https://easyrpg.org/player/
GNU General Public License v3.0
965 stars 183 forks source link

Debug menu - Value Input scenes outside of the Variables one are affected by variable range changes while they should not #3127

Open Mimigris opened 8 months ago

Mimigris commented 8 months ago

Player platform:

Windows, 64 bits continuous build of the Player.

Describe the issue in detail and how to reproduce it:

Related since said pull request is affected by this issue: #3123 When having another maximum and minimum value range set than the usual one, either by having a game set as being in 2k, 2k3 or Maniac mode, or by having set said values in the database, the debug menus Gold, Items, Goto Map, Level, Move Speed, Call MapEvent and Call BtlEvent of the playtest mode will have their input scene altered while they should not. For example, here with the Gold scene while using a 2k3 game, the menu looks as intended: screenshot_4

If the maximum possible for the variables is over the number of digits than the scene would usually use, for example here by using a Maniac game, the window will just be wider... screenshot_1

...while if the maximum possible for the variables is under the number of digits than the scene would usually use (e.g. by manually setting the maximum and minimum to 99 and -99 respectively here), the menu will be missing some digits that will not be displayed (though they can still be altered), as well as having a smaller window. screenshot_14