From f1e983149778a39d9f50d43a2d95bb3c883051ea Mon Sep 17 00:00:00 2001 From: nilllzz Date: Wed, 21 Sep 2016 00:08:06 +0200 Subject: [PATCH] Really fixed items this time I promise I hate myself fuck --- .../Pokemon/Items/Standard/AbilityCapsule.vb | 11 +++++------ .../Pokemon/Items/Standard/AmuletCoin.vb | 12 ++++++------ .../Pokemon/Items/Standard/BalmMushroom.vb | 12 ++++++------ .../Pokemon/Items/Standard/BigMushroom.vb | 13 +++++++------ .../Pokemon/Items/Standard/BigNugget.vb | 12 ++++++------ .../Pokemon/Items/Standard/BigPearl.vb | 12 ++++++------ .../Pokemon/Items/Standard/BlackBelt.vb | 12 ++++++------ .../Pokemon/Items/Standard/BlackGlasses.vb | 12 ++++++------ .../Pokemon/Items/Standard/BlackSludge.vb | 12 ++++++------ .../Pokemon/Items/Standard/BrickPiece.vb | 12 ++++++------ .../Pokemon/Items/Standard/Charcoal.vb | 12 ++++++------ .../Pokemon/Items/Standard/CleanseTag.vb | 12 ++++++------ .../Pokemon/Items/Standard/CometShard.vb | 12 ++++++------ .../Pokemon/Items/Standard/DeepSeaScale.vb | 12 ++++++------ .../Pokemon/Items/Standard/DeepSeaTooth.vb | 15 +++++++-------- .../Pokemon/Items/Standard/DragonFang.vb | 15 +++++++-------- .../Pokemon/Items/Standard/DragonScale.vb | 12 ++++++------ .../Pokemon/Items/Standard/DubiousDisc.vb | 15 +++++++-------- .../Pokemon/Items/Standard/Electirizer.vb | 15 +++++++-------- .../Pokemon/Items/Standard/EscapeRope.vb | 11 +++++------ .../Pokemon/Items/Standard/ExpShare.vb | 12 ++++++------ .../Pokemon/Items/Standard/FocusBand.vb | 18 ++++++++---------- .../Pokemon/Items/Standard/GoldLeaf.vb | 12 ++++++------ .../Pokemon/Items/Standard/GripClaw.vb | 15 +++++++-------- .../Pokemon/Items/Standard/HardStone.vb | 15 +++++++-------- .../Pokemon/Items/Standard/HeartScale.vb | 12 ++++++------ .../2.5DHero/Pokemon/Items/Standard/Honey.vb | 13 +++++++------ .../Pokemon/Items/Standard/KingsRock.vb | 15 +++++++-------- .../Pokemon/Items/Standard/LaggingTail.vb | 15 +++++++-------- .../Pokemon/Items/Standard/Leftovers.vb | 18 ++++++++---------- .../2.5DHero/Pokemon/Items/Standard/LifeOrb.vb | 12 ++++++------ .../Pokemon/Items/Standard/LightBall.vb | 12 ++++++------ .../Pokemon/Items/Standard/LuckyEgg.vb | 12 ++++++------ .../Pokemon/Items/Standard/LuckyPunch.vb | 15 +++++++-------- .../Pokemon/Items/Standard/Magmarizer.vb | 15 +++++++-------- .../2.5DHero/Pokemon/Items/Standard/Magnet.vb | 12 ++++++------ .../Pokemon/Items/Standard/MetalCoat.vb | 12 ++++++------ .../Pokemon/Items/Standard/MetalPowder.vb | 15 +++++++-------- .../Pokemon/Items/Standard/MiracleSeed.vb | 12 ++++++------ .../Pokemon/Items/Standard/MysticWater.vb | 12 ++++++------ .../Pokemon/Items/Standard/NeverMeltIce.vb | 12 ++++++------ .../2.5DHero/Pokemon/Items/Standard/Nugget.vb | 12 ++++++------ .../Pokemon/Items/Standard/OddIncense.vb | 15 +++++++-------- .../Pokemon/Items/Standard/OvalStone.vb | 15 +++++++-------- .../2.5DHero/Pokemon/Items/Standard/Pearl.vb | 12 ++++++------ .../Pokemon/Items/Standard/PearlString.vb | 12 ++++++------ .../2.5DHero/Pokemon/Items/Standard/PinkBow.vb | 12 ++++++------ .../Pokemon/Items/Standard/PoisonBarb.vb | 15 +++++++-------- .../Pokemon/Items/Standard/PokeDoll.vb | 15 +++++++-------- .../Pokemon/Items/Standard/PolkadotBow.vb | 12 ++++++------ .../Pokemon/Items/Standard/PrismScale.vb | 12 ++++++------ .../Pokemon/Items/Standard/Protector.vb | 15 +++++++-------- .../Pokemon/Items/Standard/QuickClaw.vb | 18 ++++++++---------- .../Pokemon/Items/Standard/QuickPowder.vb | 15 +++++++-------- .../Pokemon/Items/Standard/RareBone.vb | 12 ++++++------ .../Pokemon/Items/Standard/RazorClaw.vb | 18 ++++++++---------- .../Pokemon/Items/Standard/RazorFang.vb | 15 +++++++-------- .../Pokemon/Items/Standard/ReaperCloth.vb | 15 +++++++-------- .../2.5DHero/Pokemon/Items/Standard/Sachet.vb | 12 ++++++------ .../Pokemon/Items/Standard/ScopeLens.vb | 15 +++++++-------- .../Pokemon/Items/Standard/SeaIncense.vb | 15 +++++++-------- .../Pokemon/Items/Standard/SharpBeak.vb | 15 +++++++-------- .../Pokemon/Items/Standard/ShedShell.vb | 15 +++++++-------- .../Pokemon/Items/Standard/SilkScarf.vb | 15 +++++++-------- .../Pokemon/Items/Standard/SilverLeaf.vb | 12 ++++++------ .../Pokemon/Items/Standard/SilverPowder.vb | 15 +++++++-------- .../Pokemon/Items/Standard/SlowPokeTail.vb | 12 ++++++------ .../Pokemon/Items/Standard/SmokeBall.vb | 12 ++++++------ .../Pokemon/Items/Standard/SoftSand.vb | 15 +++++++-------- .../Pokemon/Items/Standard/SootheBell.vb | 16 +++++++--------- .../Pokemon/Items/Standard/SpellTag.vb | 12 ++++++------ .../Pokemon/Items/Standard/StarPiece.vb | 12 ++++++------ .../Pokemon/Items/Standard/Stardust.vb | 12 ++++++------ .../2.5DHero/Pokemon/Items/Standard/Stick.vb | 15 +++++++-------- .../Pokemon/Items/Standard/StickyBarb.vb | 15 +++++++-------- .../Pokemon/Items/Standard/ThickClub.vb | 15 +++++++-------- .../Pokemon/Items/Standard/TinyMushroom.vb | 13 +++++++------ .../Pokemon/Items/Standard/ToxicOrb.vb | 15 +++++++-------- .../Pokemon/Items/Standard/TwistedSpoon.vb | 12 ++++++------ .../2.5DHero/Pokemon/Items/Standard/UpGrade.vb | 12 ++++++------ .../Pokemon/Items/Standard/WaveIncense.vb | 15 +++++++-------- .../Pokemon/Items/Standard/WhippedDream.vb | 12 ++++++------ .../Pokemon/Items/Standard/WhiteFlute.vb | 12 ++++++------ .../Pokemon/Items/Standard/WideLens.vb | 15 +++++++-------- .../Pokemon/Items/Standard/ZoomLens.vb | 15 +++++++-------- 85 files changed, 553 insertions(+), 595 deletions(-) diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/AbilityCapsule.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/AbilityCapsule.vb index 11a6a58a4..fb5405ef1 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/AbilityCapsule.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/AbilityCapsule.vb @@ -5,13 +5,12 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Ability Capsule", 1000, ItemTypes.Standard, 187, 1, 1, New Rectangle(0, 240, 24, 24), "A capsule that allows a Pokémon with two Abilities to switch between these Abilities when it is used.") + Public Overrides ReadOnly Property Description As String = "A capsule that allows a Pokémon with two Abilities to switch between these Abilities when it is used." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 1000 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = True - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(0, 240, 24, 24) End Sub Public Overrides Sub Use() diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/AmuletCoin.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/AmuletCoin.vb index 0be691e66..207599754 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/AmuletCoin.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/AmuletCoin.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Amulet Coin", 100, ItemTypes.Standard, 91, 1, 1, New Rectangle(360, 72, 24, 24), "An item to be held by a Pokémon. It doubles any prize money received if the holding Pokémon joins in a battle.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It doubles any prize money received if the holding Pokémon joins in a battle." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(360, 72, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BalmMushroom.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BalmMushroom.vb index 22f8c37fe..db07fe68b 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BalmMushroom.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BalmMushroom.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Balm Mushroom", 50000, ItemTypes.Standard, 153, 1, 0, New Rectangle(48, 216, 24, 24), "A rare mushroom which gives off a nice fragrance. A maniac will buy it for a high price.") + Public Overrides ReadOnly Property Description As String = "A rare mushroom which gives off a nice fragrance. A maniac will buy it for a high price." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 50000 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(48, 216, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BigMushroom.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BigMushroom.vb index 944ff9358..61d91890d 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BigMushroom.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BigMushroom.vb @@ -5,13 +5,14 @@ Namespace Items.Plants Inherits Item - Public Sub New() - MyBase.New("Big Mushroom", 5000, ItemTypes.Plants, 87, 1, 73, New Rectangle(288, 72, 24, 24), "A very large and rare mushroom. It's popular with a certain class of collectors and sought out by them.") + Public Overrides ReadOnly Property ItemType As ItemTypes = ItemTypes.Plants + Public Overrides ReadOnly Property Description As String = "A very large and rare mushroom. It's popular with a certain class of collectors and sought out by them." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 5000 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(288, 72, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BigNugget.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BigNugget.vb index 8d5897379..25559b443 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BigNugget.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BigNugget.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Big Nugget", 20000, ItemTypes.Standard, 189, 1, 1, New Rectangle(48, 240, 24, 24), "A big nugget of pure gold that gives off a lustrous gleam. It can be sold at a high price to shops.") + Public Overrides ReadOnly Property Description As String = "A big nugget of pure gold that gives off a lustrous gleam. It can be sold at a high price to shops." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 20000 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(48, 240, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BigPearl.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BigPearl.vb index 5160dd8a3..bf86ef68c 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BigPearl.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BigPearl.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Big Pearl", 7500, ItemTypes.Standard, 111, 1, 0, New Rectangle(288, 96, 24, 24), "A rather large pearl that has a very nice silvery sheen. It can be sold to shops for a high price.") + Public Overrides ReadOnly Property Description As String = "A rather large pearl that has a very nice silvery sheen. It can be sold to shops for a high price." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 7500 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(288, 96, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BlackBelt.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BlackBelt.vb index 8651f1fdc..42281241c 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BlackBelt.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BlackBelt.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Black Belt", 100, ItemTypes.Standard, 98, 1, 0, New Rectangle(24, 96, 24, 24), "An item to be held by a Pokémon. This belt helps the wearer to focus and boosts the power of Fighting-type moves.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. This belt helps the wearer to focus and boosts the power of Fighting-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True + Public Sub New() + _textureRectangle = New Rectangle(24, 96, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BlackGlasses.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BlackGlasses.vb index f5e801b6f..3b7af593b 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BlackGlasses.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BlackGlasses.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Black Glasses", 100, ItemTypes.Standard, 102, 1, 0, New Rectangle(96, 96, 24, 24), "An item to be held by a Pokemon. A pair of shady-looking glasses that boost the power of Dark-type moves.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokemon. A pair of shady-looking glasses that boost the power of Dark-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True + Public Sub New() + _textureRectangle = New Rectangle(96, 96, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BlackSludge.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BlackSludge.vb index b55b27b8f..a694fff12 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BlackSludge.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BlackSludge.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Black Sludge", 200, ItemTypes.Standard, 182, 1, 0, New Rectangle(432, 144, 24, 24), "A held item that gradually restores the HP of Poison-type Pokémon. It inflicts damage on all other types.") + Public Overrides ReadOnly Property Description As String = "A held item that gradually restores the HP of Poison-type Pokémon. It inflicts damage on all other types." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 200 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(432, 144, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BrickPiece.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BrickPiece.vb index 6d4befcce..8812d515e 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/BrickPiece.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/BrickPiece.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Brick Piece", 100, ItemTypes.Standard, 180, 1, 1, New Rectangle(72, 240, 24, 24), "A rare chunk of brick.") + Public Overrides ReadOnly Property Description As String = "A rare chunk of brick." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(72, 240, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Charcoal.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Charcoal.vb index c746d6fd5..a64857975 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Charcoal.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Charcoal.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Charcoal", 4900, ItemTypes.Standard, 138, 1, 0, New Rectangle(336, 120, 24, 24), "An item to be held by a Pokémon. It is a combustible fuel that boosts the power of Fire-type moves.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It is a combustible fuel that boosts the power of Fire-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 4900 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True + Public Sub New() + _textureRectangle = New Rectangle(336, 120, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/CleanseTag.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/CleanseTag.vb index f24091574..0966bf200 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/CleanseTag.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/CleanseTag.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("CleanseTag", 200, ItemTypes.Standard, 94, 1, 0, New Rectangle(432, 72, 24, 24), "An item to be held by a Pokémon. It helps keep wild Pokémon away if the holder is the head of the party.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It helps keep wild Pokémon away if the holder is the head of the party." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 200 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True + Public Sub New() + _textureRectangle = New Rectangle(432, 72, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/CometShard.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/CometShard.vb index 7c9699845..554a19a73 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/CometShard.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/CometShard.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Comet Shard", 120000, ItemTypes.Standard, 149, 1, 0, New Rectangle(24, 216, 24, 24), "A shard which fell to the ground when a comet approached. A maniac will buy it for a high price.") + Public Overrides ReadOnly Property Description As String = "A shard which fell to the ground when a comet approached. A maniac will buy it for a high price." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 120000 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(24, 216, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/DeepSeaScale.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/DeepSeaScale.vb index f3304e7a4..4217d5d98 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/DeepSeaScale.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/DeepSeaScale.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("DeepSeaScale", 200, ItemTypes.Standard, 162, 1, 1, New Rectangle(120, 216, 24, 24), "An item to be held by Clamperl. This scale shines with a faint pink and raises the holder's Sp. Def stat.") + Public Overrides ReadOnly Property Description As String = "An item to be held by Clamperl. This scale shines with a faint pink and raises the holder's Sp. Def stat." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 200 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(120, 216, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/DeepSeaTooth.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/DeepSeaTooth.vb index 9f075226f..a0bd2aa59 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/DeepSeaTooth.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/DeepSeaTooth.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by Clamperl. This fang gleams a sharp silver and raises the holder's Sp. Atk stat." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 200 + Public Overrides ReadOnly Property FlingDamage As Integer = 90 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("DeepSeaTooth", 200, ItemTypes.Standard, 167, 1, 1, New Rectangle(312, 216, 24, 24), "An item to be held by Clamperl. This fang gleams a sharp silver and raises the holder's Sp. Atk stat.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 90 + _textureRectangle = New Rectangle(312, 216, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/DragonFang.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/DragonFang.vb index bf59471fb..513e63c9d 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/DragonFang.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/DragonFang.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. This hard and sharp fang boosts the power of Dragon-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property FlingDamage As Integer = 70 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Dragon Fang", 100, ItemTypes.Standard, 144, 1, 0, New Rectangle(432, 120, 24, 24), "An item to be held by a Pokémon. This hard and sharp fang boosts the power of Dragon-type moves.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 70 + _textureRectangle = New Rectangle(432, 120, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/DragonScale.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/DragonScale.vb index 2f116286d..92f9b8704 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/DragonScale.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/DragonScale.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Dragon Scale", 2100, ItemTypes.Standard, 151, 1, 0, New Rectangle(480, 120, 24, 24), "A very tough and inflexible scale. Dragon-type Pokémon may be holding this item when caught.") + Public Overrides ReadOnly Property Description As String = "A very tough and inflexible scale. Dragon-type Pokémon may be holding this item when caught." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 2100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(480, 120, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/DubiousDisc.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/DubiousDisc.vb index 507559e9d..e1aa715f5 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/DubiousDisc.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/DubiousDisc.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "A transparent device overflowing with dubious data. Its producer is unknown." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 2100 + Public Overrides ReadOnly Property FlingDamage As Integer = 50 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Dubious Disc", 2100, ItemTypes.Standard, 185, 1, 0, New Rectangle(0, 168, 24, 24), "A transparent device overflowing with dubious data. Its producer is unknown.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 50 + _textureRectangle = New Rectangle(0, 168, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Electirizer.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Electirizer.vb index c7fe02c58..6d4ae4b21 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Electirizer.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Electirizer.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "A box packed with a tremendous amount of electric energy. It is loved by a certain Pokémon." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 2100 + Public Overrides ReadOnly Property FlingDamage As Integer = 80 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Electirizer", 2100, ItemTypes.Standard, 120, 1, 0, New Rectangle(312, 192, 24, 24), "A box packed with a tremendous amount of electric energy. It is loved by a certain Pokémon.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 80 + _textureRectangle = New Rectangle(312, 192, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/EscapeRope.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/EscapeRope.vb index efe1d1d4f..d0531f0f0 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/EscapeRope.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/EscapeRope.vb @@ -5,13 +5,12 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Escape Rope", 550, ItemTypes.Standard, 19, 1, 0, New Rectangle(408, 0, 24, 24), "A long and durable rope. Use it to escape instantly from a cave or a dungeon.") + Public Overrides ReadOnly Property Description As String = "A long and durable rope. Use it to escape instantly from a cave or a dungeon." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 550 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = True - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(408, 0, 24, 24) End Sub Public Overrides Sub Use() diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/ExpShare.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/ExpShare.vb index bfc5f207c..08a0371b3 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/ExpShare.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/ExpShare.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Exp Share", 3000, ItemTypes.Standard, 57, 1, 0, New Rectangle(216, 48, 24, 24), "An item to be held by a Pokémon. The holder gets a share of a battle's Exp. Points without battling.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. The holder gets a share of a battle's Exp. Points without battling." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 3000 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(216, 48, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/FocusBand.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/FocusBand.vb index c978c57cd..9c9902920 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/FocusBand.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/FocusBand.vb @@ -5,17 +5,15 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. The holder may endure a potential KO attack, leaving it with just 1 HP." + Public Overrides ReadOnly Property PokeDollarPrice As Integer = 200 + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 64 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Focus Band", 200, ItemTypes.Standard, 119, 1, 1, New Rectangle(480, 96, 24, 24), "An item to be held by a Pokémon. The holder may endure a potential KO attack, leaving it with just 1 HP.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 10 - - Me._battlePointsPrice = 64 + _textureRectangle = New Rectangle(480, 96, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/GoldLeaf.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/GoldLeaf.vb index 1cf5351ef..5e7756658 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/GoldLeaf.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/GoldLeaf.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Gold Leaf", 2000, ItemTypes.Standard, 75, 1, 0, New Rectangle(120, 72, 24, 24), "A strange, gold-colored leaf.") + Public Overrides ReadOnly Property Description As String = "A strange, gold-colored leaf." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 2000 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(120, 72, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/GripClaw.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/GripClaw.vb index 0d3ebaa1d..eb065c57e 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/GripClaw.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/GripClaw.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "A Pokémon hold item that extends the duration of multiturn attacks like Bind and Wrap." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 200 + Public Overrides ReadOnly Property FlingDamage As Integer = 90 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Grip Claw", 200, ItemTypes.Standard, 176, 1, 1, New Rectangle(168, 216, 24, 24), "A Pokémon hold item that extends the duration of multiturn attacks like Bind and Wrap.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 90 + _textureRectangle = New Rectangle(168, 216, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/HardStone.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/HardStone.vb index ffd6bc7b4..aad78628e 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/HardStone.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/HardStone.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It is a durable stone that boosts the power of Rock-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property FlingDamage As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("HardStone", 100, ItemTypes.Standard, 125, 1, 0, New Rectangle(96, 120, 24, 24), "An item to be held by a Pokémon. It is a durable stone that boosts the power of Rock-type moves.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 100 + _textureRectangle = New Rectangle(96, 120, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/HeartScale.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/HeartScale.vb index d16ed6d67..fc11970f4 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/HeartScale.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/HeartScale.vb @@ -4,13 +4,13 @@ Namespace Items.Standard Public Class HeartScale Inherits Item - Public Sub New() - MyBase.New("Heart Scale", 100, ItemTypes.Standard, 190, 1, 0, New Rectangle(264, 216, 24, 24), "A pretty, heart-shaped scale that is extremely rare. It glows faintly with all of the colors of the rainbow.") + Public Overrides ReadOnly Property Description As String = "A pretty, heart-shaped scale that is extremely rare. It glows faintly with all of the colors of the rainbow." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True + Public Sub New() + _textureRectangle = New Rectangle(264, 216, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Honey.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Honey.vb index 428486793..8d9a2d381 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Honey.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Honey.vb @@ -5,13 +5,14 @@ Namespace Items.Plants Inherits Item - Public Sub New() - MyBase.New("Honey", 100, ItemTypes.Plants, 253, 1, 0, New Rectangle(264, 240, 24, 24), "Honey produced by a Pokémon.") + Public Overrides ReadOnly Property ItemType As ItemTypes = ItemTypes.Plants + Public Overrides ReadOnly Property Description As String = "Honey produced by a Pokémon." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(264, 240, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/KingsRock.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/KingsRock.vb index e2dd114c9..b3e935079 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/KingsRock.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/KingsRock.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. When the holder successfully inflicts damage, the target may also flinch." + Public Overrides ReadOnly Property PokeDollarPrice As Integer = 100 + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 64 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("King's Rock", 100, ItemTypes.Standard, 82, 1, 0, New Rectangle(216, 72, 24, 24), "An item to be held by a Pokémon. When the holder successfully inflicts damage, the target may also flinch.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._battlePointsPrice = 64 + _textureRectangle = New Rectangle(216, 72, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/LaggingTail.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/LaggingTail.vb index 0955d3e9c..fb35c9fd1 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/LaggingTail.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/LaggingTail.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It is tremendously heavy and makes the holder move slower than usual." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 200 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Lagging Tail", 200, ItemTypes.Standard, 142, 1, 0, New Rectangle(432, 192, 24, 24), "An item to be held by a Pokémon. It is tremendously heavy and makes the holder move slower than usual.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 10 + _textureRectangle = New Rectangle(432, 192, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Leftovers.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Leftovers.vb index fab7a27c3..8676a8681 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Leftovers.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Leftovers.vb @@ -5,17 +5,15 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. The holder's HP is slowly but steadily restored throughout every battle." + Public Overrides ReadOnly Property PokeDollarPrice As Integer = 200 + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 64 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Leftovers", 200, ItemTypes.Standard, 146, 1, 1, New Rectangle(456, 120, 24, 24), "An item to be held by a Pokémon. The holder's HP is slowly but steadily restored throughout every battle.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 10 - - Me._battlePointsPrice = 64 + _textureRectangle = New Rectangle(456, 120, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/LifeOrb.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/LifeOrb.vb index 276e10927..3cb4059df 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/LifeOrb.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/LifeOrb.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Life Orb", 200, ItemTypes.Standard, 506, 1, 1, New Rectangle(240, 240, 24, 24), "An item to be held by a Pokémon. It boosts the power of moves, but at the cost of some HP on each hit.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It boosts the power of moves, but at the cost of some HP on each hit." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 200 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(240, 240, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/LightBall.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/LightBall.vb index 20d297207..2a8b81eb3 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/LightBall.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/LightBall.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Light Ball", 100, ItemTypes.Standard, 163, 1, 1, New Rectangle(168, 144, 24, 24), "An item to be held by Pikachu. It's a puzzling orb that boosts its Attack and Sp. Atk stats.") + Public Overrides ReadOnly Property Description As String = "An item to be held by Pikachu. It's a puzzling orb that boosts its Attack and Sp. Atk stats." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(168, 144, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/LuckyEgg.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/LuckyEgg.vb index 0afe0f6b8..1a89f8b6a 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/LuckyEgg.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/LuckyEgg.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Lucky Egg", 100, ItemTypes.Standard, 126, 1, 0, New Rectangle(120, 120, 24, 24), "An item to be held by a Pokémon. It is an egg filled with happiness that earns extra Exp. Points in battle.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It is an egg filled with happiness that earns extra Exp. Points in battle." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True + Public Sub New() + _textureRectangle = New Rectangle(120, 120, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/LuckyPunch.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/LuckyPunch.vb index d02166df5..e20690af4 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/LuckyPunch.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/LuckyPunch.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by Chansey. This pair of lucky boxing gloves will boost Chansey's critical-hit ratio." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 10 + Public Overrides ReadOnly Property FlingDamage As Integer = 40 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Lucky Punch", 10, ItemTypes.Standard, 30, 1, 0, New Rectangle(144, 24, 24, 24), "An item to be held by Chansey. This pair of lucky boxing gloves will boost Chansey's critical-hit ratio.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 40 + _textureRectangle = New Rectangle(144, 24, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Magmarizer.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Magmarizer.vb index 9d9aa1d1b..bb8ee6c42 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Magmarizer.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Magmarizer.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "A box packed with a tremendous amount of magma energy. It is loved by a certain Pokémon." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 2100 + Public Overrides ReadOnly Property FlingDamage As Integer = 80 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Magmarizer", 2100, ItemTypes.Standard, 100, 1, 0, New Rectangle(288, 192, 24, 24), "A box packed with a tremendous amount of magma energy. It is loved by a certain Pokémon.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 80 + _textureRectangle = New Rectangle(288, 192, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Magnet.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Magnet.vb index 8295f8d65..7031b1c29 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Magnet.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Magnet.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Magnet", 100, ItemTypes.Standard, 108, 1, 0, New Rectangle(240, 96, 24, 24), "An item to be held by a Pokémon. It is a powerful magnet that boosts the power of Electric-type moves.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It is a powerful magnet that boosts the power of Electric-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True + Public Sub New() + _textureRectangle = New Rectangle(240, 96, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/MetalCoat.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/MetalCoat.vb index e77139f8e..8fa13dfb1 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/MetalCoat.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/MetalCoat.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Metal Coat", 100, ItemTypes.Standard, 143, 1, 0, New Rectangle(408, 120, 24, 24), "An item to be held by a Pokémon. It is a special metallic film that can boost the power of Steel-type moves.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It is a special metallic film that can boost the power of Steel-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(408, 120, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/MetalPowder.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/MetalPowder.vb index a978f5240..f9f0695c6 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/MetalPowder.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/MetalPowder.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by Ditto. Extremely fine yet hard, this odd powder boosts the Defense stat." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 10 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Metal Powder", 10, ItemTypes.Standard, 35, 1, 1, New Rectangle(264, 24, 24, 24), "An item to be held by Ditto. Extremely fine yet hard, this odd powder boosts the Defense stat.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 10 + _textureRectangle = New Rectangle(264, 24, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/MiracleSeed.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/MiracleSeed.vb index a90ba2023..2efce21ff 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/MiracleSeed.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/MiracleSeed.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Miracle Seed", 100, ItemTypes.Standard, 117, 1, 0, New Rectangle(432, 96, 24, 24), "An item to be held by a Pokémon. It is a seed imbued with life force that boosts the power of Grass-type moves.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It is a seed imbued with life force that boosts the power of Grass-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True + Public Sub New() + _textureRectangle = New Rectangle(432, 96, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/MysticWater.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/MysticWater.vb index 7c63544dd..a550092ee 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/MysticWater.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/MysticWater.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Mystic Water", 100, ItemTypes.Standard, 95, 1, 0, New Rectangle(456, 72, 24, 24), "An item to be held by a Pokémon. This teardrop-shaped gem boosts the power of Water-type moves.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. This teardrop-shaped gem boosts the power of Water-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True + Public Sub New() + _textureRectangle = New Rectangle(456, 72, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/NeverMeltIce.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/NeverMeltIce.vb index bfb34972e..6e36bf704 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/NeverMeltIce.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/NeverMeltIce.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Never-Melt Ice", 100, ItemTypes.Standard, 107, 1, 0, New Rectangle(216, 96, 24, 24), "An item to be held by a Pokémon. It's a piece of ice that repels heat effects and boosts Ice-type moves.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It's a piece of ice that repels heat effects and boosts Ice-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True + Public Sub New() + _textureRectangle = New Rectangle(216, 96, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Nugget.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Nugget.vb index 14d371c70..44e832f06 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Nugget.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Nugget.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Nugget", 10000, ItemTypes.Standard, 36, 1, 0, New Rectangle(288, 24, 24, 24), "A nugget of the purest gold that gives off a lustrous gleam in direct light. It can be sold at a high price to shops.") + Public Overrides ReadOnly Property Description As String = "A nugget of the purest gold that gives off a lustrous gleam in direct light. It can be sold at a high price to shops." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 10000 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(288, 24, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/OddIncense.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/OddIncense.vb index d418a7512..7483fddbe 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/OddIncense.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/OddIncense.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. This exotic-smelling incense boosts the power of Psychic-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 9800 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Odd Incense", 9800, ItemTypes.Standard, 263, 1, 0, New Rectangle(0, 264, 24, 24), "An item to be held by a Pokémon. This exotic-smelling incense boosts the power of Psychic-type moves.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 10 + _textureRectangle = New Rectangle(0, 264, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/OvalStone.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/OvalStone.vb index e1eecfdec..a781ef991 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/OvalStone.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/OvalStone.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "A peculiar stone that makes certain species of Pokémon evolve. It is shaped like an egg." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 2100 + Public Overrides ReadOnly Property FlingDamage As Integer = 80 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Oval Stone", 2100, ItemTypes.Standard, 179, 1, 1, New Rectangle(192, 216, 24, 24), "A peculiar stone that makes certain species of Pokémon evolve. It is shaped like an egg.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 80 + _textureRectangle = New Rectangle(192, 216, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Pearl.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Pearl.vb index 017e580c9..0f33516f4 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Pearl.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Pearl.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Pearl", 1400, ItemTypes.Standard, 110, 1, 0, New Rectangle(264, 96, 24, 24), "A rather small pearl that has a very nice silvery sheen to it. It can be sold cheaply to shops.") + Public Overrides ReadOnly Property Description As String = "A rather small pearl that has a very nice silvery sheen to it. It can be sold cheaply to shops." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 1400 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(264, 96, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/PearlString.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/PearlString.vb index ccf040075..ff9f30170 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/PearlString.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/PearlString.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Pearl String", 50000, ItemTypes.Standard, 173, 1, 0, New Rectangle(408, 216, 24, 24), "Very large pearls that sparkle in a pretty silver color. They can be sold at a high price to shops.") + Public Overrides ReadOnly Property Description As String = "Very large pearls that sparkle in a pretty silver color. They can be sold at a high price to shops." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 50000 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(408, 216, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/PinkBow.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/PinkBow.vb index c06aa058c..ddb8e222f 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/PinkBow.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/PinkBow.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Pink Bow", 100, ItemTypes.Standard, 104, 1, 0, New Rectangle(144, 96, 24, 24), "Powers up Fairy-type moves.") + Public Overrides ReadOnly Property Description As String = "Powers up Fairy-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True + Public Sub New() + _textureRectangle = New Rectangle(144, 96, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/PoisonBarb.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/PoisonBarb.vb index 932e45bcb..dfe90e260 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/PoisonBarb.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/PoisonBarb.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. This small, poisonous barb boosts the power of Poison-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property FlingDamage As Integer = 70 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Poison Barb", 100, ItemTypes.Standard, 81, 1, 0, New Rectangle(192, 72, 24, 24), "An item to be held by a Pokémon. This small, poisonous barb boosts the power of Poison-type moves.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 70 + _textureRectangle = New Rectangle(192, 72, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/PokeDoll.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/PokeDoll.vb index 947c02612..9a6f1c60b 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/PokeDoll.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/PokeDoll.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property ItemType As ItemTypes = ItemTypes.BattleItems + Public Overrides ReadOnly Property Description As String = "A doll that attracts the attention of a Pokémon. It guarantees escape from any battle with wild Pokémon." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 1000 + Public Overrides ReadOnly Property BattleSelectPokemon As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Poké Doll", 1000, ItemTypes.BattleItems, 37, 1, 0, New Rectangle(312, 24, 24, 24), "A doll that attracts the attention of a Pokémon. It guarantees escape from any battle with wild Pokémon.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = True - - Me._requiresPokemonSelectInBattle = False + _textureRectangle = New Rectangle(312, 24, 24, 24) End Sub Public Overrides Function UseOnPokemon(PokeIndex As Integer) As Boolean diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/PolkadotBow.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/PolkadotBow.vb index 2292a34cb..fcb6b9820 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/PolkadotBow.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/PolkadotBow.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Polkadot Bow", 100, ItemTypes.Standard, 170, 1, 1, New Rectangle(192, 240, 24, 24), "A pink bow. A certain Pokémon likes this item.") + Public Overrides ReadOnly Property Description As String = "A pink bow. A certain Pokémon likes this item." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(192, 240, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/PrismScale.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/PrismScale.vb index acf56a4c5..7460bfc02 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/PrismScale.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/PrismScale.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Prism Scale", 500, ItemTypes.Standard, 83, 1, 1, New Rectangle(72, 168, 24, 24), "A mysterious scale that causes a certain Pokémon to evolve. It shines in rainbow colors.") + Public Overrides ReadOnly Property Description As String = "A mysterious scale that causes a certain Pokémon to evolve. It shines in rainbow colors." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 500 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(72, 168, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Protector.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Protector.vb index c375d3ed6..ba71f3292 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Protector.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Protector.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "A protective item of some sort. It is extremely stiff and heavy. It is loved by a certain Pokémon." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 2100 + Public Overrides ReadOnly Property FlingDamage As Integer = 80 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Protector", 2100, ItemTypes.Standard, 141, 1, 0, New Rectangle(408, 192, 24, 24), "A protective item of some sort. It is extremely stiff and heavy. It is loved by a certain Pokémon.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 80 + _textureRectangle = New Rectangle(408, 192, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/QuickClaw.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/QuickClaw.vb index 629bebb46..6c019c4c3 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/QuickClaw.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/QuickClaw.vb @@ -5,17 +5,15 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. This light, sharp claw lets the bearer move first occasionally." + Public Overrides ReadOnly Property PokeDollarPrice As Integer = 100 + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 64 + Public Overrides ReadOnly Property FlingDamage As Integer = 80 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Quick Claw", 100, ItemTypes.Standard, 73, 1, 0, New Rectangle(96, 72, 24, 24), "An item to be held by a Pokémon. This light, sharp claw lets the bearer move first occasionally.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 80 - - Me._battlePointsPrice = 64 + _textureRectangle = New Rectangle(96, 72, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/QuickPowder.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/QuickPowder.vb index 1d89de482..898ef1b3a 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/QuickPowder.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/QuickPowder.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by Ditto. Extremely fine yet hard, this odd powder boosts the Speed stat." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 10 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Quick Powder", 10, ItemTypes.Standard, 155, 1, 1, New Rectangle(96, 216, 24, 24), "An item to be held by Ditto. Extremely fine yet hard, this odd powder boosts the Speed stat.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 10 + _textureRectangle = New Rectangle(96, 216, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/RareBone.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/RareBone.vb index 26ef5f37a..ca7294415 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/RareBone.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/RareBone.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Rare Bone", 30000, ItemTypes.Standard, 109, 1, 0, New Rectangle(456, 96, 24, 24), "A rare bone that is extremely valuable for the study of Pokémon archeology. It can be sold for a high price to shops.") + Public Overrides ReadOnly Property Description As String = "A rare bone that is extremely valuable for the study of Pokémon archeology. It can be sold for a high price to shops." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 30000 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(456, 96, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/RazorClaw.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/RazorClaw.vb index 674f72ae8..92fa7b859 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/RazorClaw.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/RazorClaw.vb @@ -5,17 +5,15 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It is a sharply hooked claw that ups the holder's critical-hit ratio." + Public Overrides ReadOnly Property PokeDollarPrice As Integer = 2100 + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 48 + Public Overrides ReadOnly Property FlingDamage As Integer = 80 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Razor Claw", 2100, ItemTypes.Standard, 184, 1, 1, New Rectangle(480, 144, 24, 24), "An item to be held by a Pokémon. It is a sharply hooked claw that ups the holder's critical-hit ratio.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 80 - - Me._battlePointsPrice = 48 + _textureRectangle = New Rectangle(480, 144, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/RazorFang.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/RazorFang.vb index 283d5e190..836027984 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/RazorFang.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/RazorFang.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It may make foes and allies flinch when the holder inflicts damage." + Public Overrides ReadOnly Property PokeDollarPrice As Integer = 2100 + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 48 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Razor Fang", 2100, ItemTypes.Standard, 183, 1, 1, New Rectangle(456, 144, 24, 24), "An item to be held by a Pokémon. It may make foes and allies flinch when the holder inflicts damage.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._battlePointsPrice = 48 + _textureRectangle = New Rectangle(456, 144, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/ReaperCloth.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/ReaperCloth.vb index 5b5c11349..a0b8bd560 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/ReaperCloth.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/ReaperCloth.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "A cloth imbued with horrifyingly strong spiritual energy. It's loved by a certain Pokémon." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 2100 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Reaper Cloth", 2100, ItemTypes.Standard, 84, 1, 1, New Rectangle(96, 168, 24, 24), "A cloth imbued with horrifyingly strong spiritual energy. It's loved by a certain Pokémon.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 10 + _textureRectangle = New Rectangle(96, 168, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Sachet.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Sachet.vb index 459eb5b15..c474c86d4 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Sachet.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Sachet.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Sachet", 2100, ItemTypes.Standard, 503, 1, 1, New Rectangle(144, 240, 24, 24), "A sachet filled with fragrant perfumes that are just slightly too overwhelming. Yet it's loved by a certain Pokémon.") + Public Overrides ReadOnly Property Description As String = "A sachet filled with fragrant perfumes that are just slightly too overwhelming. Yet it's loved by a certain Pokémon." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 2100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(144, 240, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/ScopeLens.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/ScopeLens.vb index e6b9db1b2..7d383db70 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/ScopeLens.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/ScopeLens.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It is a lens that boosts the holder's critical-hit ratio." + Public Overrides ReadOnly Property PokeDollarPrice As Integer = 200 + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 64 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Scope Lens", 200, ItemTypes.Standard, 140, 1, 1, New Rectangle(384, 120, 24, 24), "An item to be held by a Pokémon. It is a lens that boosts the holder's critical-hit ratio.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._battlePointsPrice = 64 + _textureRectangle = New Rectangle(384, 120, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SeaIncense.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SeaIncense.vb index fa5e13dc8..91102cfe5 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SeaIncense.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SeaIncense.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. This incense has a curious aroma that boosts the power of Water-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 9800 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Sea Incense", 9800, ItemTypes.Standard, 264, 1, 0, New Rectangle(24, 264, 24, 24), "An item to be held by a Pokémon. This incense has a curious aroma that boosts the power of Water-type moves.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 10 + _textureRectangle = New Rectangle(24, 264, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SharpBeak.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SharpBeak.vb index 2106faaac..a212dd930 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SharpBeak.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SharpBeak.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It's a long, sharp beak that boosts the power of Flying-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property FlingDamage As Integer = 50 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Sharp Beak", 100, ItemTypes.Standard, 77, 1, 0, New Rectangle(168, 72, 24, 24), "An item to be held by a Pokémon. It's a long, sharp beak that boosts the power of Flying-type moves.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 50 + _textureRectangle = New Rectangle(168, 72, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/ShedShell.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/ShedShell.vb index 8cf0e2924..10247a091 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/ShedShell.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/ShedShell.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "A tough, discarded carapace to be held by a Pokémon. It enables the holder to switch with a waiting Pokémon in battle." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Shed Shell", 100, ItemTypes.Standard, 154, 1, 1, New Rectangle(72, 216, 24, 24), "A tough, discarded carapace to be held by a Pokémon. It enables the holder to switch with a waiting Pokémon in battle.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 10 + _textureRectangle = New Rectangle(72, 216, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SilkScarf.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SilkScarf.vb index 64a7ddb3b..9c8ad85be 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SilkScarf.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SilkScarf.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It's a sumptuous scarf that boosts the power of Normal-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Silk Scarf", 100, ItemTypes.Standard, 90, 1, 0, New Rectangle(264, 192, 24, 24), "An item to be held by a Pokémon. It's a sumptuous scarf that boosts the power of Normal-type moves.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 10 + _textureRectangle = New Rectangle(264, 192, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SilverLeaf.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SilverLeaf.vb index 92130215f..1676976f1 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SilverLeaf.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SilverLeaf.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Silver Leaf", 1000, ItemTypes.Standard, 60, 1, 0, New Rectangle(288, 48, 24, 24), "A strange, silver-colored leaf.") + Public Overrides ReadOnly Property Description As String = "A strange, silver-colored leaf." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 1000 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(288, 48, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SilverPowder.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SilverPowder.vb index 05dcbde3f..d3920958d 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SilverPowder.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SilverPowder.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It is a shiny, silver powder that will boost the power of Bug-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("SilverPowder", 100, ItemTypes.Standard, 88, 1, 0, New Rectangle(312, 72, 24, 24), "An item to be held by a Pokémon. It is a shiny, silver powder that will boost the power of Bug-type moves.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 10 + _textureRectangle = New Rectangle(312, 72, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SlowPokeTail.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SlowPokeTail.vb index bdbb3080b..2cd682c87 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SlowPokeTail.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SlowPokeTail.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Slowpoketail", 9800, ItemTypes.Standard, 103, 1, 0, New Rectangle(120, 96, 24, 24), "A very tasty tail of something. It sells for a high price.") + Public Overrides ReadOnly Property Description As String = "A very tasty tail of something. It sells for a high price." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 9800 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(120, 96, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SmokeBall.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SmokeBall.vb index 4f078dca7..d06506efc 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SmokeBall.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SmokeBall.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Smoke Ball", 200, ItemTypes.Standard, 106, 1, 0, New Rectangle(192, 96, 24, 24), "An item to be held by a Pokémon. It enables the holder to flee from any wild Pokémon encounter without fail.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It enables the holder to flee from any wild Pokémon encounter without fail." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 200 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True + Public Sub New() + _textureRectangle = New Rectangle(192, 96, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SoftSand.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SoftSand.vb index a4536bbad..ac69e5985 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SoftSand.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SoftSand.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It is a loose, silky sand that boosts the power of Ground-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Soft Sand", 100, ItemTypes.Standard, 76, 1, 0, New Rectangle(144, 72, 24, 24), "An item to be held by a Pokémon. It is a loose, silky sand that boosts the power of Ground-type moves.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 10 + _textureRectangle = New Rectangle(144, 72, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SootheBell.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SootheBell.vb index 78445c308..4abea3f9a 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SootheBell.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SootheBell.vb @@ -5,16 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. The comforting chime of this bell calms the holder, making it friendly." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - 'Tea Gardner style - MyBase.New("Soothe Bell", 100, ItemTypes.Standard, 148, 1, 0, New Rectangle(0, 216, 24, 24), "An item to be held by a Pokémon. The comforting chime of this bell calms the holder, making it friendly.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 10 + _textureRectangle = New Rectangle(0, 216, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SpellTag.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SpellTag.vb index 19f1e15b8..d69c99de1 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/SpellTag.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/SpellTag.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Spell Tag", 100, ItemTypes.Standard, 113, 1, 0, New Rectangle(336, 96, 24, 24), "An item to be held by a Pokémon. It is a sinister, eerie tag that boosts the power of Ghost-type moves.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It is a sinister, eerie tag that boosts the power of Ghost-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True + Public Sub New() + _textureRectangle = New Rectangle(336, 96, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/StarPiece.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/StarPiece.vb index dd7a79ece..69b8b51b6 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/StarPiece.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/StarPiece.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Star Piece", 9800, ItemTypes.Standard, 132, 1, 0, New Rectangle(264, 120, 24, 24), "A small shard of a beautiful gem that demonstrates a distinctly red sparkle. It can be sold at a high price to shops.") + Public Overrides ReadOnly Property Description As String = "A small shard of a beautiful gem that demonstrates a distinctly red sparkle. It can be sold at a high price to shops." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 9800 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(264, 120, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Stardust.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Stardust.vb index aaf1fba93..e9187d922 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Stardust.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Stardust.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Stardust", 2000, ItemTypes.Standard, 131, 1, 0, New Rectangle(240, 120, 24, 24), "Lovely, red sand that flows between the fingers with a loose, silky feel. It can be sold at a high price to shops.") + Public Overrides ReadOnly Property Description As String = "Lovely, red sand that flows between the fingers with a loose, silky feel. It can be sold at a high price to shops." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 2000 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(240, 120, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Stick.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Stick.vb index 6b8b174c9..24a4be61e 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/Stick.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/Stick.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by Farfetch'd. It is a very long and stiff stalk of leek that boosts the critical-hit ratio." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 200 + Public Overrides ReadOnly Property FlingDamage As Integer = 60 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Stick", 200, ItemTypes.Standard, 105, 1, 0, New Rectangle(168, 96, 24, 24), "An item to be held by Farfetch'd. It is a very long and stiff stalk of leek that boosts the critical-hit ratio.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 60 + _textureRectangle = New Rectangle(168, 96, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/StickyBarb.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/StickyBarb.vb index f08dc4647..d46582725 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/StickyBarb.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/StickyBarb.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It damages the holder every turn and may latch on to Pokémon that touch the holder." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 200 + Public Overrides ReadOnly Property FlingDamage As Integer = 80 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Sticky Barb", 200, ItemTypes.Standard, 70, 1, 0, New Rectangle(24, 168, 24, 24), "An item to be held by a Pokémon. It damages the holder every turn and may latch on to Pokémon that touch the holder.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 80 + _textureRectangle = New Rectangle(24, 168, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/ThickClub.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/ThickClub.vb index 2016bfe91..e7aa4b59b 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/ThickClub.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/ThickClub.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "A rare bone that is extremely valuable for the study of Pokémon archeology. It can be sold for a high price to shops." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 500 + Public Overrides ReadOnly Property FlingDamage As Integer = 90 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Thick Club", 500, ItemTypes.Standard, 118, 1, 1, New Rectangle(456, 96, 24, 24), "A rare bone that is extremely valuable for the study of Pokémon archeology. It can be sold for a high price to shops.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 90 + _textureRectangle = New Rectangle(456, 96, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/TinyMushroom.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/TinyMushroom.vb index 8249c225e..920578d69 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/TinyMushroom.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/TinyMushroom.vb @@ -5,13 +5,14 @@ Namespace Items.Plants Inherits Item - Public Sub New() - MyBase.New("Tiny Mushroom", 500, ItemTypes.Plants, 86, 1, 72, New Rectangle(264, 72, 24, 24), "A very small and rare mushroom. It's popular with a certain class of collectors and sought out by them.") + Public Overrides ReadOnly Property ItemType As ItemTypes = ItemTypes.Plants + Public Overrides ReadOnly Property Description As String = "A very small and rare mushroom. It's popular with a certain class of collectors and sought out by them." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 500 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(264, 72, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/ToxicOrb.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/ToxicOrb.vb index edad18b4d..cbb093dec 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/ToxicOrb.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/ToxicOrb.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It is a bizarre orb that will badly poison the holder during battle." + Public Overrides ReadOnly Property PokeDollarPrice As Integer = 200 + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 16 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Toxic Orb", 200, ItemTypes.Standard, 505, 1, 1, New Rectangle(216, 240, 24, 24), "An item to be held by a Pokémon. It is a bizarre orb that will badly poison the holder during battle.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._battlePointsPrice = 16 + _textureRectangle = New Rectangle(216, 240, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/TwistedSpoon.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/TwistedSpoon.vb index d9f353a06..9cdf7aa53 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/TwistedSpoon.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/TwistedSpoon.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Twisted Spoon", 100, ItemTypes.Standard, 96, 1, 0, New Rectangle(480, 72, 24, 24), "An item to be held by a Pokémon. It is a spoon imbued with telekinetic power that boosts Psychic-type moves.") + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It is a spoon imbued with telekinetic power that boosts Psychic-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True + Public Sub New() + _textureRectangle = New Rectangle(480, 72, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/UpGrade.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/UpGrade.vb index 1fe9335fa..5f3dad803 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/UpGrade.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/UpGrade.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Up-Grade", 2100, ItemTypes.Standard, 172, 1, 0, New Rectangle(336, 144, 24, 24), "A transparent device somehow filled with all sorts of data. It was produced by Silph Co.") + Public Overrides ReadOnly Property Description As String = "A transparent device somehow filled with all sorts of data. It was produced by Silph Co." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 2100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(336, 144, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/WaveIncense.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/WaveIncense.vb index 5878b68a4..85c421aaa 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/WaveIncense.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/WaveIncense.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. This exotic-smelling incense boots the power of Water-type moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 9800 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Wave Incense", 9800, ItemTypes.Standard, 145, 1, 0, New Rectangle(480, 192, 24, 24), "An item to be held by a Pokémon. This exotic-smelling incense boots the power of Water-type moves.") - - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True - - Me._flingDamage = 10 + _textureRectangle = New Rectangle(480, 192, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/WhippedDream.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/WhippedDream.vb index be7c17243..ccdab2a25 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/WhippedDream.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/WhippedDream.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("Whipped Dream", 2100, ItemTypes.Standard, 504, 1, 1, New Rectangle(168, 240, 24, 24), "A soft and sweet treat made of fluffy, puffy, whipped and whirled cream. It's loved by a certain Pokémon.") + Public Overrides ReadOnly Property Description As String = "A soft and sweet treat made of fluffy, puffy, whipped and whirled cream. It's loved by a certain Pokémon." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 2100 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False + Public Sub New() + _textureRectangle = New Rectangle(168, 240, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/WhiteFlute.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/WhiteFlute.vb index ac8389fda..ede474c45 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/WhiteFlute.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/WhiteFlute.vb @@ -5,13 +5,13 @@ Namespace Items.Standard Inherits Item - Public Sub New() - MyBase.New("White Flute", 500, ItemTypes.Standard, 147, 1, 0, New Rectangle(456, 192, 24, 24), "A white flute made from blown glass. Its melody makes wild Pokémon more likely to appear.") + Public Overrides ReadOnly Property Description As String = "A white flute made from blown glass. Its melody makes wild Pokémon more likely to appear." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 500 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False - Me._canBeUsed = False - Me._canBeUsedInBattle = False - Me._canBeTraded = True - Me._canBeHold = True + Public Sub New() + _textureRectangle = New Rectangle(456, 192, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/WideLens.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/WideLens.vb index 674a4f905..4dd965823 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/WideLens.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/WideLens.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. It's a magnifying lens that slightly boosts the accuracy of moves." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 200 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Wide Lens", 200, ItemTypes.Standard, 171, 1, 1, New Rectangle(144, 216, 24, 24), "An item to be held by a Pokémon. It's a magnifying lens that slightly boosts the accuracy of moves.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 10 + _textureRectangle = New Rectangle(144, 216, 24, 24) End Sub End Class diff --git a/2.5DHero/2.5DHero/Pokemon/Items/Standard/ZoomLens.vb b/2.5DHero/2.5DHero/Pokemon/Items/Standard/ZoomLens.vb index 2e8f43937..9c6603943 100644 --- a/2.5DHero/2.5DHero/Pokemon/Items/Standard/ZoomLens.vb +++ b/2.5DHero/2.5DHero/Pokemon/Items/Standard/ZoomLens.vb @@ -5,15 +5,14 @@ Namespace Items.Standard Inherits Item + Public Overrides ReadOnly Property Description As String = "An item to be held by a Pokémon. If the holder moves after its target moves, its accuracy will be boosted." + Public Overrides ReadOnly Property BattlePointsPrice As Integer = 200 + Public Overrides ReadOnly Property FlingDamage As Integer = 10 + Public Overrides ReadOnly Property CanBeUsedInBattle As Boolean = False + Public Overrides ReadOnly Property CanBeUsed As Boolean = False + Public Sub New() - MyBase.New("Zoom Lens", 200, ItemTypes.Standard, 74, 1, 1, New Rectangle(264, 144, 24, 24), "An item to be held by a Pokémon. If the holder moves after its target moves, its accuracy will be boosted.") - - Me._canBeHold = True - Me._canBeTraded = True - Me._canBeUsed = False - Me._canBeUsedInBattle = False - - Me._flingDamage = 10 + _textureRectangle = New Rectangle(264, 144, 24, 24) End Sub End Class