mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
updates url for autogen sprites
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
module Settings
|
module Settings
|
||||||
# The version of your game. It has to adhere to the MAJOR.MINOR.PATCH format.
|
# The version of your game. It has to adhere to the MAJOR.MINOR.PATCH format.
|
||||||
GAME_VERSION = '5.0.0'
|
GAME_VERSION = '5.0.0'
|
||||||
GAME_VERSION_NUMBER = "5.3.0.7"
|
GAME_VERSION_NUMBER = "5.3.0.8"
|
||||||
|
|
||||||
POKERADAR_LIGHT_ANIMATION_RED_ID = 17
|
POKERADAR_LIGHT_ANIMATION_RED_ID = 17
|
||||||
POKERADAR_LIGHT_ANIMATION_GREEN_ID = 18
|
POKERADAR_LIGHT_ANIMATION_GREEN_ID = 18
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ end
|
|||||||
|
|
||||||
def download_autogen_sprite(head_id, body_id)
|
def download_autogen_sprite(head_id, body_id)
|
||||||
return nil if $PokemonSystem.download_sprites != 0
|
return nil if $PokemonSystem.download_sprites != 0
|
||||||
url = "https://raw.githubusercontent.com/Aegide/autogen-fusion-sprites/master/Battlers/{1}/{1}.{2}.png"
|
url = "https://raw.githubusercontent.com/infinitefusion/autogen-fusion-sprites/master/Battlers/{1}/{1}.{2}.png"
|
||||||
destPath = _INTL("{1}{2}", Settings::BATTLERS_FOLDER, head_id)
|
destPath = _INTL("{1}{2}", Settings::BATTLERS_FOLDER, head_id)
|
||||||
sprite = download_sprite(_INTL(url, head_id, body_id), head_id, body_id, destPath)
|
sprite = download_sprite(_INTL(url, head_id, body_id), head_id, body_id, destPath)
|
||||||
return sprite if sprite
|
return sprite if sprite
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user