Posted November 15, 2020 by Ramza
#update #rpgmaker #YEP_ShopCore #bugfix
Greetings all.
I have uploaded a minor bugfix to the switchable weapons extension. Users who are also using YEP_ShowMenuCore will now see the shop display no longer run into itself if the price or name are exceedingly long.
This was an interesting problem to solve, because the reason for it is that the shop window function that draws the item names does not pass the width of the cost of the item to that function, where in the default core scripts, it does. Yanfly drops the costwidth from this window, so I had to manually put it back in there.
Here's a screenshot of the difference you'll see in game. Note that you might not have noticed this if the name of the item wasn't super long, or the price wasn't several digits long.
This bug was caught by user Frostorm, thanks for the keen eye there.
-Ramza