mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-11 07:04:59 +00:00
Added some Gen 8 item effects, added super shininess
This commit is contained in:
@@ -43,7 +43,11 @@ class PokeBattle_Scene
|
||||
for i in 0...@battle.sideSizes[1]
|
||||
idxBattler = 2*i+1
|
||||
next if !@battle.battlers[idxBattler] || !@battle.battlers[idxBattler].shiny?
|
||||
pbCommonAnimation("Shiny",@battle.battlers[idxBattler])
|
||||
if Settings::SUPER_SHINY && @battle.battlers[idxBattler].super_shiny?
|
||||
pbCommonAnimation("SuperShiny", @battle.battlers[idxBattler])
|
||||
else
|
||||
pbCommonAnimation("Shiny", @battle.battlers[idxBattler])
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -130,7 +134,11 @@ class PokeBattle_Scene
|
||||
# Play shininess animations for shiny Pokémon
|
||||
sendOuts.each do |b|
|
||||
next if !@battle.showAnims || !@battle.battlers[b[0]].shiny?
|
||||
pbCommonAnimation("Shiny",@battle.battlers[b[0]])
|
||||
if Settings::SUPER_SHINY && @battle.battlers[b[0]].super_shiny?
|
||||
pbCommonAnimation("SuperShiny", @battle.battlers[b[0]])
|
||||
else
|
||||
pbCommonAnimation("Shiny", @battle.battlers[b[0]])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user