mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
Improve card title/filename logic
mystery gift editor still fails to generate a description (heldItem < 0 -> exception), the fallback behavior is fine I guess.
This commit is contained in:
parent
6140c973ae
commit
03ad20dd16
1 changed files with 1 additions and 3 deletions
|
@ -1,11 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace PKHeX.Core
|
||||
{
|
||||
|
||||
public class WR7 : MysteryGift
|
||||
{
|
||||
public const int SIZE = 0x140;
|
||||
|
@ -97,7 +95,7 @@ namespace PKHeX.Core
|
|||
public override int EggLocation { get; set; }
|
||||
public override int Ball { get; set; } = 4;
|
||||
|
||||
public override string CardTitle { get; set; } = $"{nameof(WB7)} Record";
|
||||
public override string CardTitle { get => $"{nameof(WB7)} Record ({OT_Name}) [{LanguageReceived}]"; set { } }
|
||||
|
||||
public override bool IsItem
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue