Fixed location signpost not appearing properly when using Fly, fixed wild/trainer Pokémon with a "getForm" handler not using it

This commit is contained in:
Maruno17
2023-11-20 22:11:32 +00:00
parent e0dcdef321
commit 1080f69a0d
10 changed files with 89 additions and 88 deletions

View File

@@ -443,6 +443,7 @@ def pbGenerateWildPokemon(species, level, isRoamer = false)
end
end
# Trigger events that may alter the generated Pokémon further
genwildpoke.form_simple = genwildpoke.form if MultipleForms.hasFunction?(genwildpoke.species, "getForm")
EventHandlers.trigger(:on_wild_pokemon_created, genwildpoke)
return genwildpoke
end