P3D-Legacy/P3D/Pokemon/Items/Mail/BrickMail.vb

27 lines
790 B
VB.net

Namespace Items.Mail
<Item(315, "Brick Mail")>
Public Class BrickMail
Inherits MailItem
Public Overrides ReadOnly Property Description As String = "Stationery featuring a print of a tough-looking brick pattern. Let a Pokémon hold it for delivery."
Public Sub New()
_textureRectangle = New Rectangle(336, 456, 24, 24)
End Sub
Public Overrides Sub Use()
Dim MailID As String
If Me.IsGameModeItem = True Then
MailID = Me.gmID
Else
MailID = Me.ID.ToString
End If
Core.SetScreen(New TransitionScreen(Core.CurrentScreen, New MailSystemScreen(Core.CurrentScreen, MailID), Color.Black, False))
End Sub
End Class
End Namespace