- 311
- Posts
- 5
- Years
- He / Him
- Under the truck
- Seen Apr 16, 2023
So, one of my routes ended up pretty big, so I decided to go with three separate encounter lists, so that as you progress through the route, the Pokemon change. The problem is the Pokemon from the two new encounter methods don't show up, but the regular 'Land' encounters do. Here's the scripts I edited. If there are any problems, or other things to try, please let me know.
I first defined the new terrain tags for the grass copies.
next I defined the encounter methods in PokemonEncounters, including the EnctypeChances, densities, and compile densities
then I attached the terrain tag to the encounter method
set up the enctype in def pbEncounterType
and finally defined it in def isEncounterPossibleHere?
Anyone know what's wrong? Please let me know.
Code:
Grass2 = 26
Grass3 = 27
Code:
Grass2 = 13
Grass3 = 14
Code:
"Grass2",
"Grass3"
Code:
[20,20,10,10,10,10,5,5,4,4,1,1],
[20,20,10,10,10,10,5,5,4,4,1,1]
Code:
25,25]
1,1]
Code:
def isGrass2?
return false if @density==nil
return @enctypes[EncounterTypes::Grass2] ? true : false
end
def isGrass3?
return false if @density==nil
return @enctypes[EncounterTypes::Grass3] ? true : false
end
Code:
elsif self.isGrass2?
enctype=EncounterTypes::Grass2
return enctype
elsif self.isGrass3?
enctype=EncounterTypes::Grass3
return enctype
Code:
elsif self.isGrass2?
return pbIsGrass2Tag?($game_map.terrain_tag($game_player.x,$game_player.y))
elsif self.isGrass3?
return pbIsGrass3Tag?($game_map.terrain_tag($game_player.x,$game_player.y))
Anyone know what's wrong? Please let me know.
Last edited: