Please let this be the last fix

This commit is contained in:
Maruno17
2020-10-29 22:06:25 +00:00
parent c40f95838a
commit 13d67152d8

View File

@@ -90,7 +90,7 @@ class Game_Player < Game_Character
def turn_generic(dir, keep_enc_indicator = false)
old_direction = @direction
super
super(dir)
if @direction != old_direction && !@move_route_forcing && !pbMapInterpreterRunning?
Events.onChangeDirection.trigger(self, self)
$PokemonTemp.encounterTriggered = false if !keep_enc_indicator