Added move flag "CannnotMetronome"

This commit is contained in:
Maruno17
2022-01-12 23:15:46 +00:00
parent 25b009b344
commit 8a89b7fbf4
6 changed files with 250 additions and 268 deletions

View File

@@ -63,6 +63,10 @@ module GameData
return pbGetMessageFromHash(MessageTypes::MoveDescriptions, @real_description) return pbGetMessageFromHash(MessageTypes::MoveDescriptions, @real_description)
end end
def has_flag?(flag)
return @flags.any? { |f| f.downcase == flag.downcase }
end
def physical? def physical?
return false if @base_damage == 0 return false if @base_damage == 0
return @category == 0 if Settings::MOVE_CATEGORY_PER_MOVE return @category == 0 if Settings::MOVE_CATEGORY_PER_MOVE

View File

@@ -674,7 +674,7 @@ class Battle::Move::UseLastMoveUsed < Battle::Move
super super
@moveBlacklist = [ @moveBlacklist = [
# Struggle, Belch # Struggle, Belch
"Struggle", "Struggle", # Struggle
"FailsIfUserNotConsumedBerry", # Belch # Not listed on Bulbapedia "FailsIfUserNotConsumedBerry", # Belch # Not listed on Bulbapedia
# Moves that affect the moveset # Moves that affect the moveset
"ReplaceMoveThisBattleWithTargetLastMoveUsed", # Mimic "ReplaceMoveThisBattleWithTargetLastMoveUsed", # Mimic
@@ -949,28 +949,6 @@ class Battle::Move::UseRandomMove < Battle::Move
"DoesNothingFailsIfNoAlly", # Hold Hands "DoesNothingFailsIfNoAlly", # Hold Hands
"DoesNothingCongratulations" # Celebrate "DoesNothingCongratulations" # Celebrate
] ]
@moveBlacklistSignatures = [
:SNARL,
# Signature moves
:DIAMONDSTORM, # Diancie (Gen 6)
:FLEURCANNON, # Magearna (Gen 7)
:FREEZESHOCK, # Black Kyurem (Gen 5)
:HYPERSPACEFURY, # Hoopa Unbound (Gen 6)
:HYPERSPACEHOLE, # Hoopa Confined (Gen 6)
:ICEBURN, # White Kyurem (Gen 5)
:LIGHTOFRUIN, # Eternal Flower Floette (Gen 6)
:MINDBLOWN, # Blacephalon (Gen 7)
:PHOTONGEYSER, # Necrozma (Gen 7)
:PLASMAFISTS, # Zeraora (Gen 7)
:RELICSONG, # Meloetta (Gen 5)
:SECRETSWORD, # Keldeo (Gen 5)
:SPECTRALTHIEF, # Marshadow (Gen 7)
:STEAMERUPTION, # Volcanion (Gen 6)
:TECHNOBLAST, # Genesect (Gen 5)
:THOUSANDARROWS, # Zygarde (Gen 6)
:THOUSANDWAVES, # Zygarde (Gen 6)
:VCREATE # Victini (Gen 5)
]
end end
def pbMoveFailed?(user, targets) def pbMoveFailed?(user, targets)
@@ -982,7 +960,7 @@ class Battle::Move::UseRandomMove < Battle::Move
move_id = move_keys[@battle.pbRandom(move_keys.length)] move_id = move_keys[@battle.pbRandom(move_keys.length)]
move_data = GameData::Move.get(move_id) move_data = GameData::Move.get(move_id)
next if @moveBlacklist.include?(move_data.function_code) next if @moveBlacklist.include?(move_data.function_code)
next if @moveBlacklistSignatures.include?(move_data.id) next if move_data.has_flag?("CannnotMetronome")
next if move_data.type == :SHADOW next if move_data.type == :SHADOW
@metronomeMove = move_data.id @metronomeMove = move_data.id
break break

View File

@@ -359,7 +359,7 @@ Accuracy = 95
TotalPP = 15 TotalPP = 15
Target = AllNearFoes Target = AllNearFoes
FunctionCode = LowerTargetSpAtk1 FunctionCode = LowerTargetSpAtk1
Flags = CanProtect,CanMirrorMove,Sound Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
EffectChance = 100 EffectChance = 100
Description = The user yells as if it is ranting about something, making the target's Sp. Atk stat decrease. Description = The user yells as if it is ranting about something, making the target's Sp. Atk stat decrease.
#------------------------------- #-------------------------------
@@ -1139,7 +1139,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = NearOther Target = NearOther
FunctionCode = UseTargetDefenseInsteadOfTargetSpDef FunctionCode = UseTargetDefenseInsteadOfTargetSpDef
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user cuts with its long horn. The odd power contained in it does physical damage to the foe. Description = The user cuts with its long horn. The odd power contained in it does physical damage to the foe.
#------------------------------- #-------------------------------
[SKYUPPERCUT] [SKYUPPERCUT]
@@ -1481,7 +1481,7 @@ Accuracy = 95
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = LowerUserDefSpDefSpd1 FunctionCode = LowerUserDefSpDefSpd1
Flags = Contact,CanProtect,CanMirrorMove Flags = Contact,CanProtect,CanMirrorMove,CannotMetronome
Description = With a fiery forehead, the user hurls itself at the foe. It lowers the user's Defense, Sp. Def, and Speed. Description = With a fiery forehead, the user hurls itself at the foe. It lowers the user's Defense, Sp. Def, and Speed.
#------------------------------- #-------------------------------
[BLASTBURN] [BLASTBURN]
@@ -2881,7 +2881,7 @@ Accuracy = 90
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = TwoTurnAttackParalyzeTarget FunctionCode = TwoTurnAttackParalyzeTarget
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
EffectChance = 30 EffectChance = 30
Description = On the second turn, the user hits the foe with electrically charged ice. It may also paralyze the foe. Description = On the second turn, the user hits the foe with electrically charged ice. It may also paralyze the foe.
#------------------------------- #-------------------------------
@@ -2894,7 +2894,7 @@ Accuracy = 90
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = TwoTurnAttackBurnTarget FunctionCode = TwoTurnAttackBurnTarget
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
EffectChance = 30 EffectChance = 30
Description = On the second turn, an ultracold, freezing wind surrounds the foe. This may leave it with a burn. Description = On the second turn, an ultracold, freezing wind surrounds the foe. This may leave it with a burn.
#------------------------------- #-------------------------------
@@ -3334,7 +3334,7 @@ Accuracy = 100
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = TypeDependsOnUserDrive FunctionCode = TypeDependsOnUserDrive
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user fires a beam of light at its target. The type changes depending on the Drive the user holds. Description = The user fires a beam of light at its target. The type changes depending on the Drive the user holds.
#------------------------------- #-------------------------------
[EXTREMESPEED] [EXTREMESPEED]
@@ -3446,7 +3446,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = AllNearFoes Target = AllNearFoes
FunctionCode = SleepTargetChangeUserMeloettaForm FunctionCode = SleepTargetChangeUserMeloettaForm
Flags = CanProtect,CanMirrorMove,Sound Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
EffectChance = 10 EffectChance = 10
Description = An ancient song appeals to the hearts of those listening. It may also induce sleep. Description = An ancient song appeals to the hearts of those listening. It may also induce sleep.
#------------------------------- #-------------------------------

View File

@@ -341,7 +341,7 @@ Accuracy = 0
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = HoopaRemoveProtectionsBypassSubstituteLowerUserDef1 FunctionCode = HoopaRemoveProtectionsBypassSubstituteLowerUserDef1
Flags = CanMirrorMove Flags = CanMirrorMove,CannotMetronome
Description = Unleashes a barrage of multi-arm attacks, skipping protections. The user's Defense stat falls. Description = Unleashes a barrage of multi-arm attacks, skipping protections. The user's Defense stat falls.
#------------------------------- #-------------------------------
[FOULPLAY] [FOULPLAY]
@@ -527,7 +527,7 @@ Accuracy = 95
TotalPP = 15 TotalPP = 15
Target = AllNearFoes Target = AllNearFoes
FunctionCode = LowerTargetSpAtk1 FunctionCode = LowerTargetSpAtk1
Flags = CanProtect,CanMirrorMove,Sound Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
EffectChance = 100 EffectChance = 100
Description = The user yells as if it is ranting about something, making the target's Sp. Atk stat decrease. Description = The user yells as if it is ranting about something, making the target's Sp. Atk stat decrease.
#------------------------------- #-------------------------------
@@ -1023,7 +1023,7 @@ Accuracy = 100
TotalPP = 15 TotalPP = 15
Target = NearOther Target = NearOther
FunctionCode = NormalMovesBecomeElectric FunctionCode = NormalMovesBecomeElectric
Flags = Contact,CanProtect,CanMirrorMove,Punching Flags = Contact,CanProtect,CanMirrorMove,Punching,CannotMetronome
Description = The user attacks with electrically charged fists. Normal-type moves become Electric-type. Description = The user attacks with electrically charged fists. Normal-type moves become Electric-type.
#------------------------------- #-------------------------------
[THUNDERBOLT] [THUNDERBOLT]
@@ -1309,7 +1309,7 @@ Accuracy = 90
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = RecoilHalfOfDamageDealt FunctionCode = RecoilHalfOfDamageDealt
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = Fires a powerful beam of light drawn from the Eternal Flower. It also damages the user a lot. Description = Fires a powerful beam of light drawn from the Eternal Flower. It also damages the user a lot.
#------------------------------- #-------------------------------
[FLEURCANNON] [FLEURCANNON]
@@ -1321,7 +1321,7 @@ Accuracy = 90
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = LowerUserSpAtk2 FunctionCode = LowerUserSpAtk2
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user unleashes a strong beam. The attack's recoil harshly lowers the user's Sp. Atk stat. Description = The user unleashes a strong beam. The attack's recoil harshly lowers the user's Sp. Atk stat.
#------------------------------- #-------------------------------
[MOONBLAST] [MOONBLAST]
@@ -1671,7 +1671,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = NearOther Target = NearOther
FunctionCode = UseTargetDefenseInsteadOfTargetSpDef FunctionCode = UseTargetDefenseInsteadOfTargetSpDef
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user cuts with its long horn. The odd power contained in it does physical damage to the foe. Description = The user cuts with its long horn. The odd power contained in it does physical damage to the foe.
#------------------------------- #-------------------------------
[SKYUPPERCUT] [SKYUPPERCUT]
@@ -2048,7 +2048,7 @@ Accuracy = 95
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = LowerUserDefSpDefSpd1 FunctionCode = LowerUserDefSpDefSpd1
Flags = Contact,CanProtect,CanMirrorMove Flags = Contact,CanProtect,CanMirrorMove,CannotMetronome
Description = With a fiery forehead, the user hurls itself at the foe. It lowers the user's Defense, Sp. Def, and Speed. Description = With a fiery forehead, the user hurls itself at the foe. It lowers the user's Defense, Sp. Def, and Speed.
#------------------------------- #-------------------------------
[BLASTBURN] [BLASTBURN]
@@ -2084,7 +2084,7 @@ Accuracy = 100
TotalPP = 5 TotalPP = 5
Target = AllNearOthers Target = AllNearOthers
FunctionCode = UserLosesHalfOfTotalHPExplosive FunctionCode = UserLosesHalfOfTotalHPExplosive
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user attacks everything by causing its own head to explode. This also damages the user. Description = The user attacks everything by causing its own head to explode. This also damages the user.
#------------------------------- #-------------------------------
[SHELLTRAP] [SHELLTRAP]
@@ -2805,7 +2805,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = NearOther Target = NearOther
FunctionCode = UserStealTargetPositiveStatStages FunctionCode = UserStealTargetPositiveStatStages
Flags = Contact,CanProtect,CanMirrorMove Flags = Contact,CanProtect,CanMirrorMove,CannotMetronome
Description = The user hides in the target's shadow, steals the target's stat boosts, and then attacks. Description = The user hides in the target's shadow, steals the target's stat boosts, and then attacks.
#------------------------------- #-------------------------------
[SHADOWBONE] [SHADOWBONE]
@@ -3568,7 +3568,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = AllNearFoes Target = AllNearFoes
FunctionCode = HitsTargetInSkyGroundsTarget FunctionCode = HitsTargetInSkyGroundsTarget
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = This move also hits Pokémon that are in the air. Those Pokémon are knocked down to the ground. Description = This move also hits Pokémon that are in the air. Those Pokémon are knocked down to the ground.
#------------------------------- #-------------------------------
[THOUSANDWAVES] [THOUSANDWAVES]
@@ -3580,7 +3580,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = AllNearFoes Target = AllNearFoes
FunctionCode = TrapTargetInBattle FunctionCode = TrapTargetInBattle
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user attacks with a wave that crawls along the ground. Those it hits can't flee from battle. Description = The user attacks with a wave that crawls along the ground. Those it hits can't flee from battle.
#------------------------------- #-------------------------------
[DIG] [DIG]
@@ -3804,7 +3804,7 @@ Accuracy = 90
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = TwoTurnAttackParalyzeTarget FunctionCode = TwoTurnAttackParalyzeTarget
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
EffectChance = 30 EffectChance = 30
Description = On the second turn, the user hits the foe with electrically charged ice. It may also paralyze the foe. Description = On the second turn, the user hits the foe with electrically charged ice. It may also paralyze the foe.
#------------------------------- #-------------------------------
@@ -3817,7 +3817,7 @@ Accuracy = 90
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = TwoTurnAttackBurnTarget FunctionCode = TwoTurnAttackBurnTarget
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
EffectChance = 30 EffectChance = 30
Description = On the second turn, an ultracold, freezing wind surrounds the foe. This may leave it with a burn. Description = On the second turn, an ultracold, freezing wind surrounds the foe. This may leave it with a burn.
#------------------------------- #-------------------------------
@@ -4206,7 +4206,7 @@ Accuracy = 100
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = TypeDependsOnUserDrive FunctionCode = TypeDependsOnUserDrive
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user fires a beam of light at its target. The type changes depending on the Drive the user holds. Description = The user fires a beam of light at its target. The type changes depending on the Drive the user holds.
#------------------------------- #-------------------------------
[THRASH] [THRASH]
@@ -4440,7 +4440,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = AllNearFoes Target = AllNearFoes
FunctionCode = SleepTargetChangeUserMeloettaForm FunctionCode = SleepTargetChangeUserMeloettaForm
Flags = CanProtect,CanMirrorMove,Sound Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
EffectChance = 10 EffectChance = 10
Description = An ancient song appeals to the hearts of those listening. It may also induce sleep. Description = An ancient song appeals to the hearts of those listening. It may also induce sleep.
#------------------------------- #-------------------------------
@@ -6467,7 +6467,7 @@ Accuracy = 100
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = CategoryDependsOnHigherDamageIgnoreTargetAbility FunctionCode = CategoryDependsOnHigherDamageIgnoreTargetAbility
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user attacks with a pillar of light. This move the higher of the user's Attack or Sp. Atk stat. Description = The user attacks with a pillar of light. This move the higher of the user's Attack or Sp. Atk stat.
#------------------------------- #-------------------------------
[PSYSTRIKE] [PSYSTRIKE]
@@ -6529,7 +6529,7 @@ Accuracy = 0
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = RemoveProtectionsBypassSubstitute FunctionCode = RemoveProtectionsBypassSubstitute
Flags = CanMirrorMove Flags = CanMirrorMove,CannotMetronome
Description = Using a hyperspace hole, the user appears right next to the target and strikes. Skips protections. Description = Using a hyperspace hole, the user appears right next to the target and strikes. Skips protections.
#------------------------------- #-------------------------------
[PSYSHOCK] [PSYSHOCK]
@@ -7108,7 +7108,7 @@ Accuracy = 95
TotalPP = 5 TotalPP = 5
Target = AllNearFoes Target = AllNearFoes
FunctionCode = RaiseUserDefense2 FunctionCode = RaiseUserDefense2
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
EffectChance = 50 EffectChance = 50
Description = The user whips up a storm of diamonds to damage foes. This may also sharply raise the user's Defense stat. Description = The user whips up a storm of diamonds to damage foes. This may also sharply raise the user's Defense stat.
#------------------------------- #-------------------------------
@@ -7621,7 +7621,7 @@ Accuracy = 95
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = BurnTarget FunctionCode = BurnTarget
Flags = CanProtect,CanMirrorMove,ThawsUser Flags = CanProtect,CanMirrorMove,ThawsUser,CannotMetronome
EffectChance = 30 EffectChance = 30
Description = The user immerses the target in superheated steam. This may also leave the target with a burn. Description = The user immerses the target in superheated steam. This may also leave the target with a burn.
#------------------------------- #-------------------------------

View File

@@ -354,7 +354,7 @@ Accuracy = 0
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = HoopaRemoveProtectionsBypassSubstituteLowerUserDef1 FunctionCode = HoopaRemoveProtectionsBypassSubstituteLowerUserDef1
Flags = CanMirrorMove Flags = CanMirrorMove,CannotMetronome
Description = Unleashes a barrage of multi-arm attacks, skipping protections. The user's Defense stat falls. Description = Unleashes a barrage of multi-arm attacks, skipping protections. The user's Defense stat falls.
#------------------------------- #-------------------------------
[FOULPLAY] [FOULPLAY]
@@ -601,7 +601,7 @@ Accuracy = 95
TotalPP = 15 TotalPP = 15
Target = AllNearFoes Target = AllNearFoes
FunctionCode = LowerTargetSpAtk1 FunctionCode = LowerTargetSpAtk1
Flags = CanProtect,CanMirrorMove,Sound Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
EffectChance = 100 EffectChance = 100
Description = The user yells as if it is ranting about something, making the target's Sp. Atk stat decrease. Description = The user yells as if it is ranting about something, making the target's Sp. Atk stat decrease.
#------------------------------- #-------------------------------
@@ -1205,7 +1205,7 @@ Accuracy = 100
TotalPP = 15 TotalPP = 15
Target = NearOther Target = NearOther
FunctionCode = NormalMovesBecomeElectric FunctionCode = NormalMovesBecomeElectric
Flags = Contact,CanProtect,CanMirrorMove,Punching Flags = Contact,CanProtect,CanMirrorMove,Punching,CannotMetronome
Description = The user attacks with electrically charged fists. Normal-type moves become Electric-type. Description = The user attacks with electrically charged fists. Normal-type moves become Electric-type.
#------------------------------- #-------------------------------
[THUNDERBOLT] [THUNDERBOLT]
@@ -1539,7 +1539,7 @@ Accuracy = 90
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = RecoilHalfOfDamageDealt FunctionCode = RecoilHalfOfDamageDealt
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = Fires a powerful beam of light drawn from the Eternal Flower. It also damages the user a lot. Description = Fires a powerful beam of light drawn from the Eternal Flower. It also damages the user a lot.
#------------------------------- #-------------------------------
[FLEURCANNON] [FLEURCANNON]
@@ -1551,7 +1551,7 @@ Accuracy = 90
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = LowerUserSpAtk2 FunctionCode = LowerUserSpAtk2
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user unleashes a strong beam. The attack's recoil harshly lowers the user's Sp. Atk stat. Description = The user unleashes a strong beam. The attack's recoil harshly lowers the user's Sp. Atk stat.
#------------------------------- #-------------------------------
[MISTYEXPLOSION] [MISTYEXPLOSION]
@@ -1974,7 +1974,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = NearOther Target = NearOther
FunctionCode = UseTargetDefenseInsteadOfTargetSpDef FunctionCode = UseTargetDefenseInsteadOfTargetSpDef
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user cuts with its long horn. The odd power contained in it does physical damage to the foe. Description = The user cuts with its long horn. The odd power contained in it does physical damage to the foe.
#------------------------------- #-------------------------------
[SKYUPPERCUT] [SKYUPPERCUT]
@@ -2395,7 +2395,7 @@ Accuracy = 95
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = LowerUserDefSpDefSpd1 FunctionCode = LowerUserDefSpDefSpd1
Flags = Contact,CanProtect,CanMirrorMove Flags = Contact,CanProtect,CanMirrorMove,CannotMetronome
Description = With a fiery forehead, the user hurls itself at the foe. It lowers the user's Defense, Sp. Def, and Speed. Description = With a fiery forehead, the user hurls itself at the foe. It lowers the user's Defense, Sp. Def, and Speed.
#------------------------------- #-------------------------------
[BLASTBURN] [BLASTBURN]
@@ -2431,7 +2431,7 @@ Accuracy = 100
TotalPP = 5 TotalPP = 5
Target = AllNearOthers Target = AllNearOthers
FunctionCode = UserLosesHalfOfTotalHPExplosive FunctionCode = UserLosesHalfOfTotalHPExplosive
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user attacks everything by causing its own head to explode. This also damages the user. Description = The user attacks everything by causing its own head to explode. This also damages the user.
#------------------------------- #-------------------------------
[SHELLTRAP] [SHELLTRAP]
@@ -3213,7 +3213,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = NearOther Target = NearOther
FunctionCode = UserStealTargetPositiveStatStages FunctionCode = UserStealTargetPositiveStatStages
Flags = Contact,CanProtect,CanMirrorMove Flags = Contact,CanProtect,CanMirrorMove,CannotMetronome
Description = The user hides in the target's shadow, steals the target's stat boosts, and then attacks. Description = The user hides in the target's shadow, steals the target's stat boosts, and then attacks.
#------------------------------- #-------------------------------
[SHADOWBONE] [SHADOWBONE]
@@ -4061,7 +4061,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = AllNearFoes Target = AllNearFoes
FunctionCode = HitsTargetInSkyGroundsTarget FunctionCode = HitsTargetInSkyGroundsTarget
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = This move also hits Pokémon that are in the air. Those Pokémon are knocked down to the ground. Description = This move also hits Pokémon that are in the air. Those Pokémon are knocked down to the ground.
#------------------------------- #-------------------------------
[THOUSANDWAVES] [THOUSANDWAVES]
@@ -4073,7 +4073,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = AllNearFoes Target = AllNearFoes
FunctionCode = TrapTargetInBattle FunctionCode = TrapTargetInBattle
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user attacks with a wave that crawls along the ground. Those it hits can't flee from battle. Description = The user attacks with a wave that crawls along the ground. Those it hits can't flee from battle.
#------------------------------- #-------------------------------
[DIG] [DIG]
@@ -4310,7 +4310,7 @@ Accuracy = 90
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = TwoTurnAttackParalyzeTarget FunctionCode = TwoTurnAttackParalyzeTarget
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
EffectChance = 30 EffectChance = 30
Description = On the second turn, the user hits the foe with electrically charged ice. It may also paralyze the foe. Description = On the second turn, the user hits the foe with electrically charged ice. It may also paralyze the foe.
#------------------------------- #-------------------------------
@@ -4323,7 +4323,7 @@ Accuracy = 90
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = TwoTurnAttackBurnTarget FunctionCode = TwoTurnAttackBurnTarget
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
EffectChance = 30 EffectChance = 30
Description = On the second turn, an ultracold, freezing wind surrounds the foe. This may leave it with a burn. Description = On the second turn, an ultracold, freezing wind surrounds the foe. This may leave it with a burn.
#------------------------------- #-------------------------------
@@ -4748,7 +4748,7 @@ Accuracy = 100
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = TypeDependsOnUserDrive FunctionCode = TypeDependsOnUserDrive
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user fires a beam of light at its target. The type changes depending on the Drive the user holds. Description = The user fires a beam of light at its target. The type changes depending on the Drive the user holds.
#------------------------------- #-------------------------------
[THRASH] [THRASH]
@@ -4970,7 +4970,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = AllNearFoes Target = AllNearFoes
FunctionCode = SleepTargetChangeUserMeloettaForm FunctionCode = SleepTargetChangeUserMeloettaForm
Flags = CanProtect,CanMirrorMove,Sound Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
EffectChance = 10 EffectChance = 10
Description = An ancient song appeals to the hearts of those listening. It may also induce sleep. Description = An ancient song appeals to the hearts of those listening. It may also induce sleep.
#------------------------------- #-------------------------------
@@ -7066,7 +7066,7 @@ Accuracy = 100
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = CategoryDependsOnHigherDamageIgnoreTargetAbility FunctionCode = CategoryDependsOnHigherDamageIgnoreTargetAbility
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user attacks with a pillar of light. This move the higher of the user's Attack or Sp. Atk stat. Description = The user attacks with a pillar of light. This move the higher of the user's Attack or Sp. Atk stat.
#------------------------------- #-------------------------------
[PSYSTRIKE] [PSYSTRIKE]
@@ -7165,7 +7165,7 @@ Accuracy = 0
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = RemoveProtectionsBypassSubstitute FunctionCode = RemoveProtectionsBypassSubstitute
Flags = CanMirrorMove Flags = CanMirrorMove,CannotMetronome
Description = Using a hyperspace hole, the user appears right next to the target and strikes. Skips protections. Description = Using a hyperspace hole, the user appears right next to the target and strikes. Skips protections.
#------------------------------- #-------------------------------
[PSYSHOCK] [PSYSHOCK]
@@ -7768,7 +7768,7 @@ Accuracy = 95
TotalPP = 5 TotalPP = 5
Target = AllNearFoes Target = AllNearFoes
FunctionCode = RaiseUserDefense2 FunctionCode = RaiseUserDefense2
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
EffectChance = 50 EffectChance = 50
Description = The user whips up a storm of diamonds to damage foes. This may also sharply raise the user's Defense stat. Description = The user whips up a storm of diamonds to damage foes. This may also sharply raise the user's Defense stat.
#------------------------------- #-------------------------------
@@ -8340,7 +8340,7 @@ Accuracy = 95
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = BurnTarget FunctionCode = BurnTarget
Flags = CanProtect,CanMirrorMove,ThawsUser Flags = CanProtect,CanMirrorMove,ThawsUser,CannotMetronome
EffectChance = 30 EffectChance = 30
Description = The user immerses the target in superheated steam. This may also leave the target with a burn. Description = The user immerses the target in superheated steam. This may also leave the target with a burn.
#------------------------------- #-------------------------------

View File

@@ -354,7 +354,7 @@ Accuracy = 0
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = HoopaRemoveProtectionsBypassSubstituteLowerUserDef1 FunctionCode = HoopaRemoveProtectionsBypassSubstituteLowerUserDef1
Flags = CanMirrorMove Flags = CanMirrorMove,CannotMetronome
Description = Unleashes a barrage of multi-arm attacks, skipping protections. The user's Defense stat falls. Description = Unleashes a barrage of multi-arm attacks, skipping protections. The user's Defense stat falls.
#------------------------------- #-------------------------------
[FOULPLAY] [FOULPLAY]
@@ -601,7 +601,7 @@ Accuracy = 95
TotalPP = 15 TotalPP = 15
Target = AllNearFoes Target = AllNearFoes
FunctionCode = LowerTargetSpAtk1 FunctionCode = LowerTargetSpAtk1
Flags = CanProtect,CanMirrorMove,Sound Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
EffectChance = 100 EffectChance = 100
Description = The user yells as if it is ranting about something, making the target's Sp. Atk stat decrease. Description = The user yells as if it is ranting about something, making the target's Sp. Atk stat decrease.
#------------------------------- #-------------------------------
@@ -1205,7 +1205,7 @@ Accuracy = 100
TotalPP = 15 TotalPP = 15
Target = NearOther Target = NearOther
FunctionCode = NormalMovesBecomeElectric FunctionCode = NormalMovesBecomeElectric
Flags = Contact,CanProtect,CanMirrorMove,Punching Flags = Contact,CanProtect,CanMirrorMove,Punching,CannotMetronome
Description = The user attacks with electrically charged fists. Normal-type moves become Electric-type. Description = The user attacks with electrically charged fists. Normal-type moves become Electric-type.
#------------------------------- #-------------------------------
[THUNDERBOLT] [THUNDERBOLT]
@@ -1539,7 +1539,7 @@ Accuracy = 90
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = RecoilHalfOfDamageDealt FunctionCode = RecoilHalfOfDamageDealt
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = Fires a powerful beam of light drawn from the Eternal Flower. It also damages the user a lot. Description = Fires a powerful beam of light drawn from the Eternal Flower. It also damages the user a lot.
#------------------------------- #-------------------------------
[FLEURCANNON] [FLEURCANNON]
@@ -1551,7 +1551,7 @@ Accuracy = 90
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = LowerUserSpAtk2 FunctionCode = LowerUserSpAtk2
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user unleashes a strong beam. The attack's recoil harshly lowers the user's Sp. Atk stat. Description = The user unleashes a strong beam. The attack's recoil harshly lowers the user's Sp. Atk stat.
#------------------------------- #-------------------------------
[MISTYEXPLOSION] [MISTYEXPLOSION]
@@ -1974,7 +1974,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = NearOther Target = NearOther
FunctionCode = UseTargetDefenseInsteadOfTargetSpDef FunctionCode = UseTargetDefenseInsteadOfTargetSpDef
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user cuts with its long horn. The odd power contained in it does physical damage to the foe. Description = The user cuts with its long horn. The odd power contained in it does physical damage to the foe.
#------------------------------- #-------------------------------
[SKYUPPERCUT] [SKYUPPERCUT]
@@ -2395,7 +2395,7 @@ Accuracy = 95
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = LowerUserDefSpDefSpd1 FunctionCode = LowerUserDefSpDefSpd1
Flags = Contact,CanProtect,CanMirrorMove Flags = Contact,CanProtect,CanMirrorMove,CannotMetronome
Description = With a fiery forehead, the user hurls itself at the foe. It lowers the user's Defense, Sp. Def, and Speed. Description = With a fiery forehead, the user hurls itself at the foe. It lowers the user's Defense, Sp. Def, and Speed.
#------------------------------- #-------------------------------
[BLASTBURN] [BLASTBURN]
@@ -2431,7 +2431,7 @@ Accuracy = 100
TotalPP = 5 TotalPP = 5
Target = AllNearOthers Target = AllNearOthers
FunctionCode = UserLosesHalfOfTotalHPExplosive FunctionCode = UserLosesHalfOfTotalHPExplosive
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user attacks everything by causing its own head to explode. This also damages the user. Description = The user attacks everything by causing its own head to explode. This also damages the user.
#------------------------------- #-------------------------------
[SHELLTRAP] [SHELLTRAP]
@@ -3213,7 +3213,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = NearOther Target = NearOther
FunctionCode = UserStealTargetPositiveStatStages FunctionCode = UserStealTargetPositiveStatStages
Flags = Contact,CanProtect,CanMirrorMove Flags = Contact,CanProtect,CanMirrorMove,CannotMetronome
Description = The user hides in the target's shadow, steals the target's stat boosts, and then attacks. Description = The user hides in the target's shadow, steals the target's stat boosts, and then attacks.
#------------------------------- #-------------------------------
[SHADOWBONE] [SHADOWBONE]
@@ -4061,7 +4061,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = AllNearFoes Target = AllNearFoes
FunctionCode = HitsTargetInSkyGroundsTarget FunctionCode = HitsTargetInSkyGroundsTarget
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = This move also hits Pokémon that are in the air. Those Pokémon are knocked down to the ground. Description = This move also hits Pokémon that are in the air. Those Pokémon are knocked down to the ground.
#------------------------------- #-------------------------------
[THOUSANDWAVES] [THOUSANDWAVES]
@@ -4073,7 +4073,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = AllNearFoes Target = AllNearFoes
FunctionCode = TrapTargetInBattle FunctionCode = TrapTargetInBattle
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user attacks with a wave that crawls along the ground. Those it hits can't flee from battle. Description = The user attacks with a wave that crawls along the ground. Those it hits can't flee from battle.
#------------------------------- #-------------------------------
[DIG] [DIG]
@@ -4310,7 +4310,7 @@ Accuracy = 90
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = TwoTurnAttackParalyzeTarget FunctionCode = TwoTurnAttackParalyzeTarget
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
EffectChance = 30 EffectChance = 30
Description = On the second turn, the user hits the foe with electrically charged ice. It may also paralyze the foe. Description = On the second turn, the user hits the foe with electrically charged ice. It may also paralyze the foe.
#------------------------------- #-------------------------------
@@ -4323,7 +4323,7 @@ Accuracy = 90
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = TwoTurnAttackBurnTarget FunctionCode = TwoTurnAttackBurnTarget
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
EffectChance = 30 EffectChance = 30
Description = On the second turn, an ultracold, freezing wind surrounds the foe. This may leave it with a burn. Description = On the second turn, an ultracold, freezing wind surrounds the foe. This may leave it with a burn.
#------------------------------- #-------------------------------
@@ -4748,7 +4748,7 @@ Accuracy = 100
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = TypeDependsOnUserDrive FunctionCode = TypeDependsOnUserDrive
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user fires a beam of light at its target. The type changes depending on the Drive the user holds. Description = The user fires a beam of light at its target. The type changes depending on the Drive the user holds.
#------------------------------- #-------------------------------
[THRASH] [THRASH]
@@ -4970,7 +4970,7 @@ Accuracy = 100
TotalPP = 10 TotalPP = 10
Target = AllNearFoes Target = AllNearFoes
FunctionCode = SleepTargetChangeUserMeloettaForm FunctionCode = SleepTargetChangeUserMeloettaForm
Flags = CanProtect,CanMirrorMove,Sound Flags = CanProtect,CanMirrorMove,Sound,CannotMetronome
EffectChance = 10 EffectChance = 10
Description = An ancient song appeals to the hearts of those listening. It may also induce sleep. Description = An ancient song appeals to the hearts of those listening. It may also induce sleep.
#------------------------------- #-------------------------------
@@ -7066,7 +7066,7 @@ Accuracy = 100
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = CategoryDependsOnHigherDamageIgnoreTargetAbility FunctionCode = CategoryDependsOnHigherDamageIgnoreTargetAbility
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
Description = The user attacks with a pillar of light. This move the higher of the user's Attack or Sp. Atk stat. Description = The user attacks with a pillar of light. This move the higher of the user's Attack or Sp. Atk stat.
#------------------------------- #-------------------------------
[PSYSTRIKE] [PSYSTRIKE]
@@ -7165,7 +7165,7 @@ Accuracy = 0
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = RemoveProtectionsBypassSubstitute FunctionCode = RemoveProtectionsBypassSubstitute
Flags = CanMirrorMove Flags = CanMirrorMove,CannotMetronome
Description = Using a hyperspace hole, the user appears right next to the target and strikes. Skips protections. Description = Using a hyperspace hole, the user appears right next to the target and strikes. Skips protections.
#------------------------------- #-------------------------------
[PSYSHOCK] [PSYSHOCK]
@@ -7768,7 +7768,7 @@ Accuracy = 95
TotalPP = 5 TotalPP = 5
Target = AllNearFoes Target = AllNearFoes
FunctionCode = RaiseUserDefense2 FunctionCode = RaiseUserDefense2
Flags = CanProtect,CanMirrorMove Flags = CanProtect,CanMirrorMove,CannotMetronome
EffectChance = 50 EffectChance = 50
Description = The user whips up a storm of diamonds to damage foes. This may also sharply raise the user's Defense stat. Description = The user whips up a storm of diamonds to damage foes. This may also sharply raise the user's Defense stat.
#------------------------------- #-------------------------------
@@ -8340,7 +8340,7 @@ Accuracy = 95
TotalPP = 5 TotalPP = 5
Target = NearOther Target = NearOther
FunctionCode = BurnTarget FunctionCode = BurnTarget
Flags = CanProtect,CanMirrorMove,ThawsUser Flags = CanProtect,CanMirrorMove,ThawsUser,CannotMetronome
EffectChance = 30 EffectChance = 30
Description = The user immerses the target in superheated steam. This may also leave the target with a burn. Description = The user immerses the target in superheated steam. This may also leave the target with a burn.
#------------------------------- #-------------------------------