From 0433e49477f8c517ed1ac0da7cae9935d003403c Mon Sep 17 00:00:00 2001 From: infinitefusion Date: Fri, 24 Nov 2023 09:27:19 -0500 Subject: [PATCH] Removes debug line that caused crash on new games --- Data/Scripts/050_AddOns/FusionSprites.rb | 2 +- Data/System.rxdata | Bin 28462 -> 28461 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Data/Scripts/050_AddOns/FusionSprites.rb b/Data/Scripts/050_AddOns/FusionSprites.rb index 737af845b..adcbccf03 100644 --- a/Data/Scripts/050_AddOns/FusionSprites.rb +++ b/Data/Scripts/050_AddOns/FusionSprites.rb @@ -298,7 +298,7 @@ def get_fusion_sprite_path(head_id, body_id, spriteform_body = nil, spriteform_h return local_custom_path end #if the game has loaded an autogen earlier, no point in trying to redownload, so load that instead - return $PokemonGlobal.autogen_sprites_cache[substitution_id] if $PokemonGlobal.autogen_sprites_cache[substitution_id] && $PokemonGlobal + return $PokemonGlobal.autogen_sprites_cache[substitution_id] if $PokemonGlobal && $PokemonGlobal.autogen_sprites_cache[substitution_id] #Try to download custom sprite if none found locally downloaded_custom = download_custom_sprite(head_id, body_id, spriteform_body_letter, spriteform_head_letter, random_alt) diff --git a/Data/System.rxdata b/Data/System.rxdata index bbf164cf6e783e419099e075201fae1c09047243..b09874081e47625d2af19eb3a4b19b075e3b3e86 100644 GIT binary patch delta 19 bcmZ2?k8$li#tp8LEX<5yw>Eo8J_!W?P?-m> delta 20 ccmZ2`k8#~S#tp8LtSmX099NEc>n+a