Group: Member
Posts: 21
Type: None
RM Skill: Skilled
I've been using RMXP for about a decade now, but one thing has always bothered me in all the time I've used it. In the default script for the gold window, how come when you fix it up for the main menu, it messes up how it looks when you open the shop menu? I've looked everywhere I though I should for the cause, but found nothing. Any ideas where I should look and what I should do?
__________________________
~Tonight, tonight, he's gonna get it right. Even losers can get lucky sometimes. All the freaks go on a winning streak. In a perfect world, all the geeks get the girls.~
Group: +Gold Member
Posts: 1,007
Type: Scripter
RM Skill: Undisclosed
Both scenes rely on the same Window_Gold class to display the content of the 'Gold.' This is because there is no reason to have a duplicate class that is simply a copy/paste of the default Window_Gold class (Re-use code is good)
Just what Ty said. Make a duplicate of Window_Gold that has the edit, but make sure that the class is something like Window_MenuGold instead of Window_Gold. Then go into Scene_Menu and change (at about line 54) Window_Gold to Window_MenuGold.
Group: Member
Posts: 21
Type: None
RM Skill: Skilled
Okay, I made a duplicate gold window and I liked the results I got. Thanks you two, you guys really know what you're talking about. I mean that.
__________________________
~Tonight, tonight, he's gonna get it right. Even losers can get lucky sometimes. All the freaks go on a winning streak. In a perfect world, all the geeks get the girls.~