From e1c52d9546664038fcad7f72d6ac21f9cdcdc22f Mon Sep 17 00:00:00 2001 From: infinitefusion Date: Fri, 24 Nov 2023 10:47:42 -0500 Subject: [PATCH] removes triple fusion types from pokedex search screen --- Data/Scripts/016_UI/003_UI_Pokedex_Main.rb | 7 ++++++- Data/System.rxdata | Bin 28461 -> 28462 bytes 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Data/Scripts/016_UI/003_UI_Pokedex_Main.rb b/Data/Scripts/016_UI/003_UI_Pokedex_Main.rb index 5de29d2fa..ff44d5e50 100644 --- a/Data/Scripts/016_UI/003_UI_Pokedex_Main.rb +++ b/Data/Scripts/016_UI/003_UI_Pokedex_Main.rb @@ -1038,7 +1038,12 @@ class PokemonPokedex_Scene _INTL("U"),_INTL("V"),_INTL("W"),_INTL("X"),_INTL("Y"), _INTL("Z")] @typeCommands = [] - GameData::Type.each { |t| @typeCommands.push(t) if !t.pseudo_type } + + count = 0 + GameData::Type.each do |t| + @typeCommands.push(t) if !t.pseudo_type && count <= 18 + count +=1 + end @typeCommands.sort! { |a, b| a.id_number <=> b.id_number } @heightCommands = [1,2,3,4,5,6,7,8,9,10, 11,12,13,14,15,16,17,18,19,20, diff --git a/Data/System.rxdata b/Data/System.rxdata index b09874081e47625d2af19eb3a4b19b075e3b3e86..868cfba480f03ae42f37e119503fc628cbb6d227 100644 GIT binary patch delta 27 jcmZ2`k8#~S#tp8LtSlG5Y+~H(DY-j{(QGqojs`OTq~Z!u delta 26 icmZ2?k8$li#tp8LEX<5yw>Eo8?hazSu$e7KgBbvh?g^v-