mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 14:44:58 +00:00
Please let this be the last fix
This commit is contained in:
@@ -90,7 +90,7 @@ class Game_Player < Game_Character
|
|||||||
|
|
||||||
def turn_generic(dir, keep_enc_indicator = false)
|
def turn_generic(dir, keep_enc_indicator = false)
|
||||||
old_direction = @direction
|
old_direction = @direction
|
||||||
super
|
super(dir)
|
||||||
if @direction != old_direction && !@move_route_forcing && !pbMapInterpreterRunning?
|
if @direction != old_direction && !@move_route_forcing && !pbMapInterpreterRunning?
|
||||||
Events.onChangeDirection.trigger(self, self)
|
Events.onChangeDirection.trigger(self, self)
|
||||||
$PokemonTemp.encounterTriggered = false if !keep_enc_indicator
|
$PokemonTemp.encounterTriggered = false if !keep_enc_indicator
|
||||||
|
|||||||
Reference in New Issue
Block a user