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

27 lines
790 B
VB.net
Raw Normal View History

Namespace Items.Mail
2016-09-07 18:50:38 +02:00
<Item(315, "Brick Mail")>
2016-09-07 18:50:38 +02:00
Public Class BrickMail
Inherits MailItem
2016-09-07 18:50:38 +02:00
2016-09-20 06:18:09 +02:00
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."
2016-09-07 18:50:38 +02:00
Public Sub New()
2016-09-20 06:18:09 +02:00
_textureRectangle = New Rectangle(336, 456, 24, 24)
2016-09-07 18:50:38 +02:00
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
2016-09-07 18:50:38 +02:00
End Class
End Namespace