Fixed replacement battler being invisible if its predecessor fainted and used the same sprite, refactoring

This commit is contained in:
Maruno17
2024-04-01 23:41:54 +01:00
parent a2af2c36f9
commit 494e646fd5
6 changed files with 64 additions and 84 deletions

View File

@@ -10,9 +10,7 @@ class Window_CharacterEntry < Window_DrawableCommand
@charset = charset
@othercharset = ""
super(0, 96, 480, 192)
colors = getDefaultTextColors(self.windowskin)
self.baseColor = colors[0]
self.shadowColor = colors[1]
self.baseColor, self.shadowColor = getDefaultTextColors(self.windowskin)
self.columns = XSIZE
refresh
end