mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-07-22 15:47:00 +00:00
Update 6.8
This commit is contained in:
@@ -112,6 +112,8 @@ class Bitmap
|
||||
|
||||
|
||||
def hue_changecolors(dex_number, bodyShiny, headShiny, alt = "")
|
||||
|
||||
return if !bodyShiny && !headShiny
|
||||
if isFusion(dex_number)
|
||||
body_id = getBodyID(dex_number)
|
||||
head_id = getHeadID(dex_number, body_id)
|
||||
@@ -135,7 +137,10 @@ class Bitmap
|
||||
|
||||
|
||||
offset = offsets.compact.max_by { |o| o.keys.count }
|
||||
return unless offset
|
||||
if !offset
|
||||
hue_change(GameData::Species.calculateShinyHueOffset(dex_number, bodyShiny, headShiny))
|
||||
return
|
||||
end
|
||||
onetime = true
|
||||
offset.keys.each do |version|
|
||||
value = offset&.dig(version)
|
||||
|
||||
Reference in New Issue
Block a user