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

27 lines
735 B
VB.net
Raw Normal View History

Namespace Items.Mail
2016-09-07 18:50:38 +02:00
<Item(312, "Wood Mail")>
2016-09-07 18:50:38 +02:00
Public Class WoodMail
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 = "A Slakoth-print Mail to be held by a Pokémon."
2016-09-07 18:50:38 +02:00
Public Sub New()
2016-09-20 06:18:09 +02:00
_textureRectangle = New Rectangle(264, 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