From 7ea152fbe5dc53092dea86639679c2be143c7da1 Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Sat, 18 May 2024 17:18:23 +0200 Subject: [PATCH] Make it possible to remove pokegear phone/worldmap --- P3D/Screens/Inventory/PokegearScreen.vb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/P3D/Screens/Inventory/PokegearScreen.vb b/P3D/Screens/Inventory/PokegearScreen.vb index e15037b9f..459b650fa 100644 --- a/P3D/Screens/Inventory/PokegearScreen.vb +++ b/P3D/Screens/Inventory/PokegearScreen.vb @@ -61,11 +61,15 @@ End If End If - FunctionList.Add("Phone") + If ActionScript.IsRegistered("pokegear_remove_phone") = False Then + FunctionList.Add("Phone") + End If If ActionScript.IsRegistered("pokegear_card_radio") = True Or GameController.IS_DEBUG_ACTIVE = True Then FunctionList.Add("Radio") End If - FunctionList.Add("Worldmap") + If ActionScript.IsRegistered("pokegear_remove_worldmap") = False Then + FunctionList.Add("Worldmap") + End If If ActionScript.IsRegistered("pokegear_card_minimap") = True Or GameController.IS_DEBUG_ACTIVE = True Then FunctionList.Add("Minimap") End If