Fixed typo in "CannotMetronome" (#171)

* Fixed typo in "CannotMetronome"

This flag had 3 N's in its name where it was supposed to be two. In the move PBS files, the flag is spelled correctly.
This commit is contained in:
Keyacom
2022-01-29 20:07:01 +01:00
committed by GitHub
parent 617f685694
commit 91c6f1f45b
2 changed files with 2 additions and 2 deletions

View File

@@ -245,7 +245,7 @@ class Battle::Move::CorrodeTargetItem < Battle::Move
end
#===============================================================================
# For 5 rounds, the target cannnot use its held item, its held item has no
# For 5 rounds, the target cannot use its held item, its held item has no
# effect, and no items can be used on it. (Embargo)
#===============================================================================
class Battle::Move::StartTargetCannotUseItem < Battle::Move

View File

@@ -960,7 +960,7 @@ class Battle::Move::UseRandomMove < Battle::Move
move_id = move_keys[@battle.pbRandom(move_keys.length)]
move_data = GameData::Move.get(move_id)
next if @moveBlacklist.include?(move_data.function_code)
next if move_data.has_flag?("CannnotMetronome")
next if move_data.has_flag?("CannotMetronome")
next if move_data.type == :SHADOW
@metronomeMove = move_data.id
break