Fixes crash because of indexes not resetting when scrolling in sprites page

This commit is contained in:
infinitefusion
2024-03-29 21:38:57 -04:00
parent 3a307cdabf
commit 5e9153a097
2 changed files with 2 additions and 0 deletions

View File

@@ -593,6 +593,7 @@ end
oldindex = @index oldindex = @index
pbGoToPrevious pbGoToPrevious
if @index != oldindex if @index != oldindex
@selected_index=0
pbUpdateDummyPokemon pbUpdateDummyPokemon
@available = pbGetAvailableForms @available = pbGetAvailableForms
pbSEStop pbSEStop
@@ -603,6 +604,7 @@ end
oldindex = @index oldindex = @index
pbGoToNext pbGoToNext
if @index != oldindex if @index != oldindex
@selected_index=0
pbUpdateDummyPokemon pbUpdateDummyPokemon
@available = pbGetAvailableForms @available = pbGetAvailableForms
pbSEStop pbSEStop

Binary file not shown.