Fixed Rival's texture when renaming Rival

This commit is contained in:
JappaWakka 2021-10-03 11:04:11 +02:00
parent 700016dceb
commit 61fa959866
1 changed files with 2 additions and 3 deletions

View File

@ -25,9 +25,8 @@
Core.Player.HasPokegear = True
IsReady = True
Case "renamerival"
Dim RivalTexture As String = Core.Player.RivalSkin
Dim RivalName As String
RivalName = "???"
Dim RivalTexture As String = GameModeManager.ActiveGameMode.ContentPath & "Textures\" & Core.Player.RivalSkin
Dim RivalName As String = Core.Player.RivalName
Core.SetScreen(New NameObjectScreen(Core.CurrentScreen, TextureManager.GetTexture(RivalTexture, New Rectangle(0, 64, 32, 32)), False, False, RivalName, "???", AddressOf Script.NameRival))
IsReady = True
CanContinue = False