Let's make this happen:
Find 'Game_Character' script. Then, inside the script, find this code:
And below that code, paste:
Now, replace 'def turnGeneric(dir)' to:
Now, replace 'update_stop' to:
Finally, replace 'def update' to:
See ya!
![[PokeCommunity.com] [Essentials v17.2] Turn Around Animation (like HGSS) [PokeCommunity.com] [Essentials v17.2] Turn Around Animation (like HGSS)](https://i.imgur.com/XA3w85l.gif)
Find 'Game_Character' script. Then, inside the script, find this code:
Code:
def jumping?
return @jump_count > 0
end
Code:
def pattern=(value)
@pattern=value
end
Now, replace 'def turnGeneric(dir)' to:
Code:
def turnGeneric(dir)
unless @direction_fix
oldDirection=@direction
@direction=dir
if dir!=oldDirection
if @pattern == 0 && @walk_anime
@pattern = 3
end
@stop_count=0
pbCheckEventTriggerAfterTurning
end
end
end
Now, replace 'update_stop' to:
Code:
def update_stop
if @step_anime
@anime_count += 1
elsif @pattern != @original_pattern
@anime_count += 1.5
end
unless @starting or lock?
@stop_count += 1
end
end
Finally, replace 'def update' to:
Code:
def update
if !$game_temp.in_menu
if jumping?; update_jump
elsif moving?; update_move
else; update_stop
end
if @anime_count > 18-@move_speed*3
if !@step_anime && @stop_count>0
@pattern = @original_pattern
else
@pattern = (@pattern+1)%4
end
@anime_count = 0
end
if @wait_count>0
@wait_count -= 1
elsif @move_route_forcing
move_type_custom
elsif !@starting && !lock?
if @stop_count>(40-@move_frequency*2)*(6-@move_frequency)
case @move_type
when 1; move_type_random
when 2; move_type_toward_player
when 3; move_type_custom
end
end
end
end
end
See ya!
Last edited: