diff --git a/Data/Scripts/012_Overworld/004_Overworld_FieldMoves.rb b/Data/Scripts/012_Overworld/004_Overworld_FieldMoves.rb index a3a2fff63..f9c2276d1 100644 --- a/Data/Scripts/012_Overworld/004_Overworld_FieldMoves.rb +++ b/Data/Scripts/012_Overworld/004_Overworld_FieldMoves.rb @@ -837,7 +837,7 @@ def pbSweetScent end viewport.dispose enctype = $PokemonEncounters.encounter_type - if enctype || !$PokemonEncounters.encounter_possible_here? || + if !enctype || !$PokemonEncounters.encounter_possible_here? || !pbEncounter(enctype) pbMessage(_INTL("There appears to be nothing here...")) end diff --git a/Data/Scripts/014_Pokemon/001_Pokemon.rb b/Data/Scripts/014_Pokemon/001_Pokemon.rb index 39eb7ebd1..8f3d78784 100644 --- a/Data/Scripts/014_Pokemon/001_Pokemon.rb +++ b/Data/Scripts/014_Pokemon/001_Pokemon.rb @@ -166,7 +166,7 @@ class Pokemon yield if block_given? MultipleForms.call("onSetForm", self, value, oldForm) calc_stats - $Trainer.pokedex.register(self) + $Trainer.pokedex.register(self) if $Trainer end def form_simple=(value)