mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
Enabled BallBurst common animations to be played during other battle animations
This commit is contained in:
@@ -368,6 +368,11 @@ class PBAnimations < Array
|
||||
@array[i] = value
|
||||
end
|
||||
|
||||
def get_from_name(name)
|
||||
@array.each { |i| return i if i&.name == name }
|
||||
return nil
|
||||
end
|
||||
|
||||
def compact
|
||||
@array.compact!
|
||||
end
|
||||
@@ -751,6 +756,17 @@ class PBAnimationPlayerX
|
||||
@foColor.dispose
|
||||
end
|
||||
|
||||
# Makes the original user and target sprites be uninvolved with the animation.
|
||||
# The animation shows just its particles.
|
||||
def discard_user_and_target_sprites
|
||||
@animsprites[0] = nil
|
||||
@animsprites[1] = nil
|
||||
end
|
||||
|
||||
def set_target_origin(x, y)
|
||||
@targetOrig = [x, y]
|
||||
end
|
||||
|
||||
def start
|
||||
@frame = 0
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user