Fixes diancie forcing player to release their pokemon to keep it

This commit is contained in:
infinitefusion
2024-12-25 14:20:12 -05:00
parent d9be9d17f5
commit c473e6ee72
7 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@@ -1,7 +1,7 @@
Graphics/CustomBattlers/*
Graphics/Battlers/*
Graphics/Pokemon/FusionIcons/*
Data/pokedex/*
Data/sprites/*
Data/VERSION

Binary file not shown.

Binary file not shown.

View File

@@ -84,6 +84,7 @@ SWITCH_PINKAN_SIDE_ROCKET=1099
SWITCH_PINKAN_SIDE_POLICE=1100
SWITCH_LEAVING_PINKAN_ISLAND=1113
SWITCH_BLOCK_PINKAN_WHISTLE=1111
SWITCH_PINKAN_FINISHED=1119
VAR_ORICORIO_FLOWERS = 276
#Randomizer Switches

View File

@@ -922,7 +922,7 @@ end
def promptCaughtPokemonAction(pokemon)
pickedOption = false
return pbStorePokemon(pokemon) if !$Trainer.party_full?
return promptKeepOrRelease(pokemon) if isOnPinkanIsland()
return promptKeepOrRelease(pokemon) if isOnPinkanIsland() && !$game_switches[SWITCH_PINKAN_FINISHED]
while !pickedOption
command = pbMessage(_INTL("\\ts[]Your team is full!"),
[_INTL("Add to your party"), _INTL("Store to PC"),], 2)

View File

@@ -349,6 +349,7 @@ def resetPinkanIsland()
$game_switches[SWITCH_LEAVING_PINKAN_ISLAND]=false
$game_switches[SWITCH_PINKAN_SIDE_POLICE]=false
$game_switches[SWITCH_PINKAN_SIDE_ROCKET]=false
$game_switches[SWITCH_PINKAN_FINISHED]=false
for map_id in Settings::PINKAN_ISLAND_MAPS
map = $MapFactory.getMap(map_id,false)

Binary file not shown.