- 91
- Posts
- 14
- Years
- Seen Sep 5, 2015
I want to create a new encounter if the player is in a different type of tile, and found this:
https://pokemonessentials.wikia.com/wiki/Forum:Encounters_for_different_types_of_grass?
and
https://pokemonessentials.wikia.com/wiki/Adding_new_encounter_methods
Which wants me to add this
enctype=EncounterTypes::[custom encounter name] if self.hasEncounter?(EncounterTypes::LandSymbol) && $game_map.map_id==42 &&
$game_player.x>5 && $game_player.x<12 &&
$game_player.y>15 && $game_player.y<21
in pbEncounterType (in PokemonEncounters) but I dont know exactly where. Can someone help with this?
(Those $game map id blabla and player.x and y are just the coords and map id to apply the encounter type to a specific point in a map that I have to manually set)
How the encounter should work:
- In an outdoor map (that also uses Land/LandNight etc) there should be a specific part with different encounters that ignore any other encounter types. Won't be using it in Caves so compatibility isn't needed.
Additional info: My custom "grass" tile, the one that I want to be different to common grass (much like dark grass in Unova) doesn't make the Player half transparent and does not show the grass graphic when I walk, even though in the tileset editor it is set with the "bush" tag. Should it also be set terrain tag 2? Then it's just common grass and wouldn't work with the encounter type Im trying to set up, would it? :/
Halp
https://pokemonessentials.wikia.com/wiki/Forum:Encounters_for_different_types_of_grass?
and
https://pokemonessentials.wikia.com/wiki/Adding_new_encounter_methods
Which wants me to add this
enctype=EncounterTypes::[custom encounter name] if self.hasEncounter?(EncounterTypes::LandSymbol) && $game_map.map_id==42 &&
$game_player.x>5 && $game_player.x<12 &&
$game_player.y>15 && $game_player.y<21
in pbEncounterType (in PokemonEncounters) but I dont know exactly where. Can someone help with this?
(Those $game map id blabla and player.x and y are just the coords and map id to apply the encounter type to a specific point in a map that I have to manually set)
How the encounter should work:
- In an outdoor map (that also uses Land/LandNight etc) there should be a specific part with different encounters that ignore any other encounter types. Won't be using it in Caves so compatibility isn't needed.
Additional info: My custom "grass" tile, the one that I want to be different to common grass (much like dark grass in Unova) doesn't make the Player half transparent and does not show the grass graphic when I walk, even though in the tileset editor it is set with the "bush" tag. Should it also be set terrain tag 2? Then it's just common grass and wouldn't work with the encounter type Im trying to set up, would it? :/
Halp
Last edited: