mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Many more Rubocop-inspired code improvements
This commit is contained in:
@@ -490,9 +490,10 @@ class Battle::Move::CureUserPartyStatus < Battle::Move
|
||||
|
||||
def pbShowAnimation(id, user, targets, hitNum = 0, showAnimation = true)
|
||||
super
|
||||
if @id == :AROMATHERAPY
|
||||
case @id
|
||||
when :AROMATHERAPY
|
||||
@battle.pbDisplay(_INTL("A soothing aroma wafted through the area!"))
|
||||
elsif @id == :HEALBELL
|
||||
when :HEALBELL
|
||||
@battle.pbDisplay(_INTL("A bell chimed!"))
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user