mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Pokémon sent into battle now default to the Fight option, fixed bugs in Instruct, fixed some AI bugs, fixed parameter mixup for def pbMoveCanTarget?, renamed function to function_code everywhere, fixed black party Pokémon icons in storage, added some more AI testing code
This commit is contained in:
@@ -29,12 +29,12 @@ class PokemonBoxIcon < IconSprite
|
||||
|
||||
def update
|
||||
super
|
||||
self.color = Color.new(0, 0, 0, 0)
|
||||
if releasing?
|
||||
time_now = System.uptime
|
||||
self.zoom_x = lerp(1.0, 0.0, 1.5, @release_timer_start, System.uptime)
|
||||
self.zoom_y = self.zoom_x
|
||||
self.opacity = lerp(255, 0, 1.5, @release_timer_start, System.uptime)
|
||||
self.color = Color.new(0, 0, 0, 0)
|
||||
if self.opacity == 0
|
||||
@release_timer_start = nil
|
||||
dispose
|
||||
|
||||
Reference in New Issue
Block a user