27 lines
727 B
VB.net
27 lines
727 B
VB.net
Namespace Items.Mail
|
|
|
|
<Item(300, "Grass Mail")>
|
|
Public Class GrassMail
|
|
|
|
Inherits MailItem
|
|
|
|
Public Overrides ReadOnly Property Description As String = "Let a Pokémon hold it for delivery."
|
|
|
|
Public Sub New()
|
|
_textureRectangle = New Rectangle(408, 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
|