trainer card fixes

This commit is contained in:
infinitefusion
2022-03-13 21:09:50 -04:00
parent a8073ef6d8
commit 6794004d94
18 changed files with 271 additions and 18 deletions

View File

@@ -85,9 +85,12 @@ def pbRoamPokemonOne(idxRoamer)
if rand(32)==0
newMapChoices.push(mapIDs[rand(mapIDs.length)])
end
# Choose a random new map to roam to
if newMapChoices.length>0
$PokemonGlobal.roamPosition[idxRoamer] = newMapChoices[rand(newMapChoices.length)]
#50% chance of moving to a new map
if rand(2)==0
# Choose a random new map to roam to
if newMapChoices.length>0
$PokemonGlobal.roamPosition[idxRoamer] = newMapChoices[rand(newMapChoices.length)]
end
end
end