Fixed X-Items functionality

This commit is contained in:
CaptainSegis 2017-08-27 21:48:05 -05:00
parent b859e5e79f
commit ca9e088ec3
9 changed files with 9 additions and 9 deletions

View File

@ -16,11 +16,11 @@ Namespace Items.XItems
Dim foundBattleScreen As Boolean = True
Dim s As Screen = Core.CurrentScreen
While s.Identification <> Screen.Identifications.BattleScreen
s = s.PreScreen
If s.PreScreen Is Nothing Then
foundBattleScreen = False
Exit While
End If
s = s.PreScreen
End While
If foundBattleScreen = True Then

View File

@ -16,11 +16,11 @@ Namespace Items.XItems
Dim foundBattleScreen As Boolean = True
Dim s As Screen = Core.CurrentScreen
While s.Identification <> Screen.Identifications.BattleScreen
s = s.PreScreen
If s.PreScreen Is Nothing Then
foundBattleScreen = False
Exit While
End If
s = s.PreScreen
End While
If foundBattleScreen = True Then

View File

@ -16,11 +16,11 @@ Namespace Items.XItems
Dim foundBattleScreen As Boolean = True
Dim s As Screen = Core.CurrentScreen
While s.Identification <> Screen.Identifications.BattleScreen
s = s.PreScreen
If s.PreScreen Is Nothing Then
foundBattleScreen = False
Exit While
End If
s = s.PreScreen
End While
If foundBattleScreen = True Then

View File

@ -16,11 +16,11 @@ Namespace Items.XItems
Dim foundBattleScreen As Boolean = True
Dim s As Screen = Core.CurrentScreen
While s.Identification <> Screen.Identifications.BattleScreen
s = s.PreScreen
If s.PreScreen Is Nothing Then
foundBattleScreen = False
Exit While
End If
s = s.PreScreen
End While
If foundBattleScreen = True Then

View File

@ -16,11 +16,11 @@ Namespace Items.XItems
Dim foundBattleScreen As Boolean = True
Dim s As Screen = Core.CurrentScreen
While s.Identification <> Screen.Identifications.BattleScreen
s = s.PreScreen
If s.PreScreen Is Nothing Then
foundBattleScreen = False
Exit While
End If
s = s.PreScreen
End While
If foundBattleScreen = True Then

View File

@ -4,7 +4,7 @@
Inherits Item
Public Overrides ReadOnly Property CanBeUsed As Boolean = False
Public Overrides ReadOnly Property BattleSelectPokemon As Boolean = True
Public Overrides ReadOnly Property BattleSelectPokemon As Boolean = False
Public Overrides ReadOnly Property ItemType As ItemTypes = ItemTypes.BattleItems
End Class

View File

@ -16,11 +16,11 @@ Namespace Items.XItems
Dim foundBattleScreen As Boolean = True
Dim s As Screen = Core.CurrentScreen
While s.Identification <> Screen.Identifications.BattleScreen
s = s.PreScreen
If s.PreScreen Is Nothing Then
foundBattleScreen = False
Exit While
End If
s = s.PreScreen
End While
If foundBattleScreen = True Then

View File

@ -16,11 +16,11 @@ Namespace Items.XItems
Dim foundBattleScreen As Boolean = True
Dim s As Screen = Core.CurrentScreen
While s.Identification <> Screen.Identifications.BattleScreen
s = s.PreScreen
If s.PreScreen Is Nothing Then
foundBattleScreen = False
Exit While
End If
s = s.PreScreen
End While
If foundBattleScreen = True Then

View File

@ -16,11 +16,11 @@ Namespace Items.XItems
Dim foundBattleScreen As Boolean = True
Dim s As Screen = Core.CurrentScreen
While s.Identification <> Screen.Identifications.BattleScreen
s = s.PreScreen
If s.PreScreen Is Nothing Then
foundBattleScreen = False
Exit While
End If
s = s.PreScreen
End While
If foundBattleScreen = True Then