mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Adds shinies
This commit is contained in:
@@ -29,6 +29,12 @@ class AnimatedBitmap
|
||||
end
|
||||
end
|
||||
|
||||
def shiftColors(offset=0)
|
||||
offset/=350 if offset >350
|
||||
offset=30 if offset <30 #this method is only used for shinies. shinies that barely shift are boring
|
||||
@bitmap.bitmap.hue_change(offset)
|
||||
end
|
||||
|
||||
def [](index)
|
||||
; @bitmap[index];
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user