Decrease the width of the player sprite (via scaling)

I searched around but for some reason the only results I can find are about switching the player graphic or about using bigger graphics in general, both of which I already know how to do, and aren't what I'm looking for here.

I want to know how to, within a common event, decrease the player's width (only the width, not the height) from 100% to 0% over a set number of frames, and then the reverse, for a sort of paper flipping effect. It seems like a simple thing which is why I'm surprised I'm unable to find any talk of it or any settings that look like they would achieve that. There's opacity and such. But no scale. Is this possible at all?
Not without writing extra code.

I gave it a try and tested a bit, this is the current result. But from looking at your signature now, I guess it'd be better to have the flipping-thingy to be tied way closer to the internal movement-system instead of calling stuff through CEs.

Anyway, everything related to how to use it can be found in the script's header-area. Have fun!

Spoiler: The Code
Ruby:
#==============================================================================
# ** Paperflip Character Walking Graphic
#------------------------------------------------------------------------------
#  © 2024 KotatsuAkira / Akira Kotatsuhime
#  Do not redistribute without copyright-notice intact.
#------------------------------------------------------------------------------
#  How to use with event inline-script commands:
#    character_flip(ID, DUR, MIRROR)
#------------------------------------------------------------------------------
#  The ID can be an event, 0 (this-event), -1 (player) or -2/-3/-4 (vehicles).
#  Set DUR to the number of frames the flip-animation will need for playback.
#  To MIRROR the sprite, no third parameter is necessary, see examples below.
#  To skip mirroring by default, alter Game_CharacterBase#flip definition.
#------------------------------------------------------------------------------
#  Example: Flip EV123 for 10 frames with mirror on halftime:
#    character_flip(123, 10)
#  Example: Flip THIS_EVENT for 15 frames without mirroring:
#    character_flip(0, 10, false)
#  Example: Flip PLAYER for 12 frames with mirror:
#    character_flip(-1, 10)
#  Example: Flip AIRSHIP for 6 frames without mirroring:
#    character_flip(-4, 6, false)
#------------------------------------------------------------------------------
#  Additional commands (swap or reset mirror-display without animation):
#    character_mirror(ID)
#    character_mirror_reset(ID)
#==============================================================================

class Game_CharacterBase
  #--------------------------------------------------------------------------
  # * Swap mirrored Sprite Display
  #--------------------------------------------------------------------------
  def mirror_display
    @mirrored_display ||= false
    @mirrored_display = !@mirrored_display
  end
  #--------------------------------------------------------------------------
  # * Enforce Sprite Mirror Deactivation
  #--------------------------------------------------------------------------
  def reset_mirror
    @mirrored_display = false
  end
  #--------------------------------------------------------------------------
  # * Start Sprite Display flipping
  #--------------------------------------------------------------------------
  def flip(sd, sm=true)
    return (sm == true ? mirror_display : nil) unless sd > 0
    @flipping_duration = sd
    @flipping_frame = 0
    @flipping_mirror = sm == true
    @flipping_mirrored = false
  end
  #--------------------------------------------------------------------------
  # * Reset Flipping Properties
  #--------------------------------------------------------------------------
  def reset_flip
    @flipping_duration = 0
    @flipping_frame = 0
    @flipping_mirror = false
    @flipping_mirrored = false
  end
  #--------------------------------------------------------------------------
  # * Get Duration of Flipping Process
  #--------------------------------------------------------------------------
  def flipping_duration
    return @flipping_duration ||= 0
  end
  #--------------------------------------------------------------------------
  # * Get current Frame of Flipping Process
  #--------------------------------------------------------------------------
  def flipping_frame
    return @flipping_frame ||= 0
  end
  #--------------------------------------------------------------------------
  # * Check if Character is flipping
  #--------------------------------------------------------------------------
  def flipping?
    return flipping_duration > 0
  end
  #--------------------------------------------------------------------------
  # * Get Progress of Flipping with 1.0f-Base
  #--------------------------------------------------------------------------
  def flipping_state
    return flipping_frame.to_f / flipping_duration.to_f
  end
  #--------------------------------------------------------------------------
  # * Add 1 if Flipping Duration is uneven
  #--------------------------------------------------------------------------
  def flipping_correction
    return flipping_duration + (flipping_duration % 2)
  end
  #--------------------------------------------------------------------------
  # * Catch Frame of Flipping Process' Halftime
  #--------------------------------------------------------------------------
  def flipping_halftime?
    return flipping_frame == flipping_correction / 2
  end
  #--------------------------------------------------------------------------
  # * Calculate Zoom Rate from Progress of Flipping
  #--------------------------------------------------------------------------
  def flipping_zoom
    return ((flipping_state * 2.0) - 1.0).abs
  end
  #--------------------------------------------------------------------------
  # * Update Flipping Mirror Setting
  #--------------------------------------------------------------------------
  def update_flipping_mirror
    return unless @flipping_mirror
    return if @flipping_mirrored
    return unless flipping_halftime?
    mirror_display
    @flipping_mirrored = true
  end
  #--------------------------------------------------------------------------
  # * Update Flipping Animation
  #--------------------------------------------------------------------------
  def update_flipping_animation
    return unless flipping?
    @flipping_frame += 1
    update_flipping_mirror
    reset_flip if @flipping_frame >= @flipping_duration
  end
  #--------------------------------------------------------------------------
  # * Update all Animation-related Properties
  #--------------------------------------------------------------------------
  alias __original_update_animation update_animation unless $@
  def update_animation
    __original_update_animation
    update_flipping_animation
  end
  #--------------------------------------------------------------------------
  # * Get current Mirror Setting for Sprite
  #--------------------------------------------------------------------------
  def screen_mirror
    return @mirrored_display || false
  end
  #--------------------------------------------------------------------------
  # * Get current Width Scale for Sprite
  #--------------------------------------------------------------------------
  def screen_zoom_x
    return flipping? ? flipping_zoom : 1.0
  end
  #--------------------------------------------------------------------------
  # * Get current Height Scale for Sprite
  #--------------------------------------------------------------------------
  def screen_zoom_y
    return 1.0
  end
end

class Game_Interpreter
  #--------------------------------------------------------------------------
  # * Get Character Object
  #--------------------------------------------------------------------------
  def get_character(si)
    return nil if $game_party.in_battle
    return nil if si + 1 < -$game_map.vehicles.size
    return $game_map.vehicles[-si - 1] if si < -1
    return $game_player if si == -1
    se = same_map? ? $game_map.events : {}
    return se[si > 0 ? si : @event_id]
  end
  #--------------------------------------------------------------------------
  # * Flip Character
  #--------------------------------------------------------------------------
  def character_flip(si, sd, sm=true)
    se = get_character(si)
    se.flip(sd, sm) if se
  end
  #--------------------------------------------------------------------------
  # * Mirror Character Display
  #--------------------------------------------------------------------------
  def character_mirror(si)
    se = get_character(si)
    se.mirror_display if se
  end
  #--------------------------------------------------------------------------
  # * Reset Character's Mirror Display
  #--------------------------------------------------------------------------
  def character_mirror_reset(si)
    se = get_character(si)
    se.reset_mirror if se
  end
end

class Sprite_Character < Sprite_Base
  #--------------------------------------------------------------------------
  # * Update Character Position related Properties
  #--------------------------------------------------------------------------
  alias __original_update_position update_position unless $@
  def update_position
    __original_update_position
    self.mirror = @character.screen_mirror
    self.zoom_x = @character.screen_zoom_x
    self.zoom_y = @character.screen_zoom_y
  end
end

~炬燵あ
Had a few issues pasting the entire script for some reason but once I got it all in there, this worked like a charm! Thanks!

EDIT: Well, for the most part it works but I ran into an issue where sometimes the flipping happens without the mirroring or vice versa. IDK i walked through a loading zone while turning around and my character was walking backwards and had the opposite orientation from intended. It was fixed when I walked back through the loading zone while rapidly hitting left and right, so I definitely think the loading zones can interrupt the process and do that.
I've made a new block of code that is meant to work as an addon for the previous one (which means: the code from before is still required, not to be replaced/deleted). This is for what I had mentioned earlier, implementing the flip mechanic right into the engine's base movement system, making overcomplicated handling through CEs unnecessary.

The script will always display every eventoid character (including player, vehicles and followers) on the map (except those with tile-graphic or "!" prefix which signal a static object) with the graphic for right-direction. If an event on the map is set to face left, it will still display right, but mirrored from the start.

It also should fix your issue with flipping while transfer, but I'm not fully sure about.

There still is a little problem about all of this that I'm not able to provide a solution for right now:
For example, when you walk upward and the player-graphic is facing right, and there is a character on the next tile to the right, you won't be able to talk to them until pressing right to make the player facing right. If that's okay for you, this should be useable by now.

Spoiler: THE CODE
Ruby:
#==============================================================================
# ** Paperflip Character Walking Graphic: Direct Bridge to Movement System
#------------------------------------------------------------------------------
#  © 2024 KotatsuAkira / Akira Kotatsuhime
#  Do not redistribute without copyright-notice intact.
#------------------------------------------------------------------------------
#  This is an addon for "Paperflip Character Walking Graphic".
#  The original script is required for this to actually work.
#------------------------------------------------------------------------------
#  This script will make all eventoid objects that are NOT recognized as
#  object-character (objects based on tile-content or files with "!" prefix)
#  automatically flip when they turn left or right after facing the opposite.
#  They will not be able to display any other graphic than right-face, left is
#  displayed by mirroring, just like in THAT ONE well-known paper-game-series.
#------------------------------------------------------------------------------
#  Events that are set to left by default are displayed with mirrored right
#  graphic when entering map, any other direction displays right unmirrored.
#==============================================================================

class Game_CharacterBase
  #--------------------------------------------------------------------------
  # * Get Facing Direction
  #--------------------------------------------------------------------------
  def face_direction
    @face_direction ||= @mirrored_display ? 4 : 6
  end
  #--------------------------------------------------------------------------
  # * Set Direction
  #--------------------------------------------------------------------------
  def set_direction(sd)
    @stop_count = 0
    return if sd.zero?
    @direction = sd unless @direction_fix
    return if object_character? || @direction_fix
    if face_direction == 4 && sd == 6
      flip(Graphics.frame_rate / 6)
    elsif face_direction == 6 && sd == 4
      flip(Graphics.frame_rate / 6)
    end
    @face_direction = sd if sd == 4 || sd == 6
  end
  #--------------------------------------------------------------------------
  # * Clear Flipping Process
  #--------------------------------------------------------------------------
  def clear_flipping
    return unless flipping?
    mirror_display if @flipping_mirror && !@flipping_mirrored
    reset_flip
  end
  #--------------------------------------------------------------------------
  # * Straighten Character
  #--------------------------------------------------------------------------
  alias __original_straighten straighten unless $@
  def straighten
    clear_flipping
    __original_straighten
  end
end

class Game_Event < Game_Character
  #--------------------------------------------------------------------------
  # * Setup Page Settings
  #--------------------------------------------------------------------------
  alias __original_setup_page_settings setup_page_settings unless $@
  def setup_page_settings
    __original_setup_page_settings
    @mirrored_display = !object_character? && @direction == 4
  end
end

class Game_Player < Game_Character
  #--------------------------------------------------------------------------
  # * Perform Position/Map Transfer
  #--------------------------------------------------------------------------
  alias __original_perform_transfer perform_transfer unless $@
  def perform_transfer
    __original_perform_transfer
    clear_flipping if transfer?
  end
end

class Sprite_Character < Sprite_Base
  #--------------------------------------------------------------------------
  # * Update Source Graphic Area
  #--------------------------------------------------------------------------
  def update_src_rect
    if @tile_id == 0
      si = @character.character_index
      sp = @character.pattern < 3 ? @character.pattern : 1
      sd = @character.object_character? ? @character.direction : 6
      sx = (si % 4 * 3 + sp) * @cw
      sy = (si / 4 * 4 + (sd - 2) / 2) * @ch
      self.src_rect.set(sx, sy, @cw, @ch)
    end
  end
end

~炬燵あ
Is there a way to keep the ability to use the up sprite too? I have up sprites that I'd like to use, this addition locks them out.
Just to be sure before I look into that: Am I getting it right you want to handle two sprites that both look to the right and can flip to left, but are swapped when you walk up/down?

~炬燵あ
Yeah, basically how Mario looks in Paper Mario, he has a back sprite that faces diagonally up when walking away from the camera (or in a top-down view, up). It flips the same way when changing horizontal direction. I have those incorporated, at least for the player. I'm also using a script that allows 8 directions of movement, so I'd like that sprite to be also used when walking diagonally up. Actually if at all possible it would be nice to be able to flip for that transition too, so whenever he swaps between the side-facing and back-facing sprites, like the games do starting with Sticker Star.

Here's a video demonstrating it (just watch how Mario's sprite flips as he walks around, the fancier stuff outside that is irrelevant)

If that's too complex, that's fine, but I would like to at least have the backsprites.
I think I got it working now. Just let me know if there's still something odd. To add this script, delete the previous ones. Also, it now includes its own code for player's diagonal input movement (and diagonal move itself now does a dir-change way more often than before), so if you already got something for that, consider removing said stuff.

It now works the following: The mirror-feature of sprite-objects I had utilized in previous tries is not in use anymore, you'll need to create characters with a repurposed order of directions:

Spoiler: EXAMPLE GRAPHIC
This is my debugging-character, a diagonal arrow (hopping up and down a bit while "walking"). Basically, the DOWN-row is DOWNRIGHT, LEFT is DOWNLEFT, RIGHT is UPRIGHT and UP is UPLEFT.

PaperTestCharacter.png

Static objects (those with a tile or the "!"-prefix) still should work absolutely normal.
If not, I may have messed up something.

Spoiler: THE CODE
Ruby:
#==============================================================================
# ** Paperflip Character Walking Graphic EX
#------------------------------------------------------------------------------
#  © 2024 KotatsuAkira / Akira Kotatsuhime
#  Do not redistribute without copyright-notice intact.
#------------------------------------------------------------------------------
#  Makes a character (except tiles and "!"-objects) flip at direction-change.
#------------------------------------------------------------------------------
#  Direction-graphics will change their purpose as they now will be displayed
#  depending on their character's diagonal alignment. Before and after:
#    DOWN   >>>  DOWNRIGHT
#    LEFT   >>>  DOWNLEFT
#    RIGHT  >>>  UPRIGHT
#    UP     >>>  UPLEFT
#------------------------------------------------------------------------------
#  Adjusted diagonal movement with more often direction-change is included,
#  additionally the player-character can move diagonally through input.
#==============================================================================

class Game_CharacterBase
  #--------------------------------------------------------------------------
  # * Start Sprite Display flipping
  #--------------------------------------------------------------------------
  def flip(sd)
    return nil unless sd > 0
    @flipping_duration = sd
    @flipping_frame = 0
    @flipping_mirrored = false
  end
  #--------------------------------------------------------------------------
  # * Reset Flipping Properties
  #--------------------------------------------------------------------------
  def reset_flip
    @flipping_duration = 0
    @flipping_frame = 0
    @flipping_mirrored = false
  end
  #--------------------------------------------------------------------------
  # * Get Duration of Flipping Process
  #--------------------------------------------------------------------------
  def flipping_duration
    return @flipping_duration ||= 0
  end
  #--------------------------------------------------------------------------
  # * Get current Frame of Flipping Process
  #--------------------------------------------------------------------------
  def flipping_frame
    return @flipping_frame ||= 0
  end
  #--------------------------------------------------------------------------
  # * Check if Character is flipping
  #--------------------------------------------------------------------------
  def flipping?
    return flipping_duration > 0
  end
  #--------------------------------------------------------------------------
  # * Get Progress of Flipping with 1.0f-Base
  #--------------------------------------------------------------------------
  def flipping_state
    return flipping_frame.to_f / flipping_duration.to_f
  end
  #--------------------------------------------------------------------------
  # * Add 1 if Flipping Duration is uneven
  #--------------------------------------------------------------------------
  def flipping_correction
    return flipping_duration + (flipping_duration % 2)
  end
  #--------------------------------------------------------------------------
  # * Catch Frame of Flipping Process' Halftime
  #--------------------------------------------------------------------------
  def flipping_halftime?
    return flipping_frame == flipping_correction / 2
  end
  #--------------------------------------------------------------------------
  # * Calculate Zoom Rate from Progress of Flipping
  #--------------------------------------------------------------------------
  def flipping_zoom
    return ((flipping_state * 2.0) - 1.0).abs
  end
  #--------------------------------------------------------------------------
  # * Get swapped Display Direction
  #--------------------------------------------------------------------------
  def flipped_direction
    case @direction
    when 2
      return @horizontal_direction == 4 ? 4 : 2
    when 4
      return @vertical_direction == 2 ? 4 : 8
    when 6
      return @vertical_direction == 8 ? 6 : 2
    when 8
      return @horizontal_direction == 6 ? 6 : 8
    end
    return @direction
  end
  #--------------------------------------------------------------------------
  # * Check if Direction Flip can be done
  #--------------------------------------------------------------------------
  def flip_possible?
    return @screen_direction != flipped_direction
  end
  #--------------------------------------------------------------------------
  # * Set Direction
  #--------------------------------------------------------------------------
  def set_direction(sd)
    @stop_count = 0
    return if sd.zero?
    @horizontal_direction ||= 4
    @vertical_direction ||= 2
    @horizontal_direction = @direction if @direction == 4 || @direction == 6
    @vertical_direction = @direction if @direction == 2 || @direction == 8
    @screen_direction ||= @direction
    return if @direction == sd
    @direction = sd unless @direction_fix
    return if object_character? || @direction_fix
    flip(Graphics.frame_rate / 6) if flip_possible?
  end
  #--------------------------------------------------------------------------
  # * Move diagonal
  #--------------------------------------------------------------------------
  def move_diagonal(sh, sv)
    @move_succeed = diagonal_passable?(x, y, sh, sv)
    if @move_succeed
      @x = $game_map.round_x_with_direction(@x, sh)
      @y = $game_map.round_y_with_direction(@y, sv)
      @real_x = $game_map.x_with_direction(@x, reverse_dir(sh))
      @real_y = $game_map.y_with_direction(@y, reverse_dir(sv))
      increase_steps
    end
    set_direction(sh) if @horizontal_direction == reverse_dir(sh)
    set_direction(sv) if @vertical_direction == reverse_dir(sv)
    @horizontal_direction = sh
    @vertical_direction = sv
  end
  #--------------------------------------------------------------------------
  # * Straighten Character
  #--------------------------------------------------------------------------
  alias __original_straighten straighten unless $@
  def straighten
    reset_flip
    __original_straighten
  end
  #--------------------------------------------------------------------------
  # * Update Flipping Mirror Setting
  #--------------------------------------------------------------------------
  def update_flipping_mirror
    return if @flipping_mirrored
    return unless flipping_halftime?
    @screen_direction = flipped_direction
    @flipping_mirrored = true
  end
  #--------------------------------------------------------------------------
  # * Update Flipping Animation
  #--------------------------------------------------------------------------
  def update_flipping_animation
    return unless flipping?
    @flipping_frame += 1
    update_flipping_mirror
    reset_flip if @flipping_frame >= @flipping_duration
  end
  #--------------------------------------------------------------------------
  # * Update all Animation-related Properties
  #--------------------------------------------------------------------------
  alias __original_update_animation update_animation unless $@
  def update_animation
    __original_update_animation
    update_flipping_animation
  end
  #--------------------------------------------------------------------------
  # * Get Flipping Sprite Swap ready State
  #--------------------------------------------------------------------------
  def screen_flip
    return flipping? ? @flipping_mirrored : true
  end
  #--------------------------------------------------------------------------
  # * Get current Width Scale for Sprite
  #--------------------------------------------------------------------------
  def screen_zoom_x
    return flipping? ? flipping_zoom : 1.0
  end
  #--------------------------------------------------------------------------
  # * Get current Height Scale for Sprite
  #--------------------------------------------------------------------------
  def screen_zoom_y
    return 1.0
  end
  #--------------------------------------------------------------------------
  # * Get current Display delayed Direction
  #--------------------------------------------------------------------------
  def screen_direction
    return object_character? ? @direction : @screen_direction || @direction
  end
end

class Game_Player < Game_Character
  #--------------------------------------------------------------------------
  # * Move by Input
  #--------------------------------------------------------------------------
  def move_by_input
    return if !movable? || $game_map.interpreter.running?
    case Input.dir8
    when 2, 4, 6, 8
      return move_straight(Input.dir4)
    when 1, 7
      sh = 4
    when 3, 9
      sh = 6
    else
      return nil
    end
    case Input.dir8
    when 1, 3
      sv = 2
    when 7, 9
      sv = 8
    else
      return nil
    end
    move_diagonal(sh, sv)
  end
  #--------------------------------------------------------------------------
  # * Perform Position/Map Transfer
  #--------------------------------------------------------------------------
  alias __original_perform_transfer perform_transfer unless $@
  def perform_transfer
    __original_perform_transfer
    return unless transfer?
    clear_flipping
    @followers.each {|sf| sf.clear_flipping }
  end
end

class Sprite_Character < Sprite_Base
  #--------------------------------------------------------------------------
  # * Update Character Position related Properties
  #--------------------------------------------------------------------------
  alias __original_update_position update_position unless $@
  def update_position
    __original_update_position
    self.zoom_x = @character.screen_zoom_x
    self.zoom_y = @character.screen_zoom_y
  end
  #--------------------------------------------------------------------------
  # * Update Source Graphic Area
  #--------------------------------------------------------------------------
  def update_src_rect
    return unless @tile_id == 0
    si = @character.character_index
    sp = @character.pattern < 3 ? @character.pattern : 1
    sx = (si % 4 * 3 + sp) * @cw
    sy = (si / 4 * 4 + (@character.screen_direction - 2) / 2) * @ch
    self.src_rect.set(sx, sy, @cw, @ch)
  end
end

~炬燵あ
That worked perfectly, I can't find any issues. Thanks!

EDIT: After cutscenes, the player is stuck facing one direction until I go back and forth a bit. Also in cutscenes meant to transport the player to a position facing right, he doesn't face right.
Alrighty, let's check if this will do the job, or at least fix teleport-problems. Just replace it.

And to add a little question about details, the direction-force of transfer currently should work the same way as walking around, so you can set it to RIGHT, but won't know if it ends up as DOWNRIGHT or UPRIGHT (except when you insert a waitless move-route just before transfer that sets dir to UP or DOWN).

Should I change this in a way that the setting for RIGHT would always make the player look UPRIGHT because RIGHT is the direction that represents UPRIGHT on the graphic-sheet, etc?

Spoiler: THE CODE
Ruby:
#==============================================================================
# ** Paperflip Character Walking Graphic EX (rv20240430-fix0)
#------------------------------------------------------------------------------
#  © 2024 KotatsuAkira / Akira Kotatsuhime
#  Do not redistribute without copyright-notice intact.
#------------------------------------------------------------------------------
#  Makes a character (except tiles and "!"-objects) flip at direction-change.
#------------------------------------------------------------------------------
#  Direction-graphics will change their purpose as they now will be displayed
#  depending on their character's diagonal alignment. Before and after:
#    DOWN   >>>  DOWNRIGHT
#    LEFT   >>>  DOWNLEFT
#    RIGHT  >>>  UPRIGHT
#    UP     >>>  UPLEFT
#------------------------------------------------------------------------------
#  Adjusted diagonal movement with more often direction-change is included,
#  additionally the player-character can move diagonally through input.
#==============================================================================

class Game_CharacterBase
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  attr_accessor :horizontal_direction
  attr_accessor :vertical_direction
  #--------------------------------------------------------------------------
  # * Start Sprite Display flipping
  #--------------------------------------------------------------------------
  def flip(sd)
    return nil unless sd > 0
    @flipping_duration = sd
    @flipping_frame = 0
    @flipping_mirrored = false
  end
  #--------------------------------------------------------------------------
  # * Reset Flipping Properties
  #--------------------------------------------------------------------------
  def reset_flip
    @flipping_duration = 0
    @flipping_frame = 0
    @flipping_mirrored = false
  end
  #--------------------------------------------------------------------------
  # * Get Duration of Flipping Process
  #--------------------------------------------------------------------------
  def flipping_duration
    return @flipping_duration ||= 0
  end
  #--------------------------------------------------------------------------
  # * Get current Frame of Flipping Process
  #--------------------------------------------------------------------------
  def flipping_frame
    return @flipping_frame ||= 0
  end
  #--------------------------------------------------------------------------
  # * Check if Character is flipping
  #--------------------------------------------------------------------------
  def flipping?
    return flipping_duration > 0
  end
  #--------------------------------------------------------------------------
  # * Get Progress of Flipping with 1.0f-Base
  #--------------------------------------------------------------------------
  def flipping_state
    return flipping_frame.to_f / flipping_duration.to_f
  end
  #--------------------------------------------------------------------------
  # * Add 1 if Flipping Duration is uneven
  #--------------------------------------------------------------------------
  def flipping_correction
    return flipping_duration + (flipping_duration % 2)
  end
  #--------------------------------------------------------------------------
  # * Catch Frame of Flipping Process' Halftime
  #--------------------------------------------------------------------------
  def flipping_halftime?
    return flipping_frame == flipping_correction / 2
  end
  #--------------------------------------------------------------------------
  # * Calculate Zoom Rate from Progress of Flipping
  #--------------------------------------------------------------------------
  def flipping_zoom
    return ((flipping_state * 2.0) - 1.0).abs
  end
  #--------------------------------------------------------------------------
  # * Get swapped Display Direction
  #--------------------------------------------------------------------------
  def flipped_direction
    case @direction
    when 2
      return @horizontal_direction == 4 ? 4 : 2
    when 4
      return @vertical_direction == 2 ? 4 : 8
    when 6
      return @vertical_direction == 8 ? 6 : 2
    when 8
      return @horizontal_direction == 6 ? 6 : 8
    end
    return @direction
  end
  #--------------------------------------------------------------------------
  # * Check if Direction Flip can be done
  #--------------------------------------------------------------------------
  def flip_possible?
    return @screen_direction != flipped_direction
  end
  #--------------------------------------------------------------------------
  # * Check if current Direction Swap is already done
  #--------------------------------------------------------------------------
  def flip_swapped?
    return @flipping_mirrored
  end
  #--------------------------------------------------------------------------
  # * Set Direction
  #--------------------------------------------------------------------------
  def set_direction(sd)
    @stop_count = 0
    return if sd.zero?
    @horizontal_direction ||= 4
    @vertical_direction ||= 2
    @horizontal_direction = @direction if @direction == 4 || @direction == 6
    @vertical_direction = @direction if @direction == 2 || @direction == 8
    @screen_direction ||= @direction
    return if @direction == sd
    @direction = sd unless @direction_fix
    return if object_character? || @direction_fix
    flip(Graphics.frame_rate / 6) if flip_possible?
  end
  #--------------------------------------------------------------------------
  # * Move diagonal
  #--------------------------------------------------------------------------
  def move_diagonal(sh, sv)
    @move_succeed = diagonal_passable?(x, y, sh, sv)
    if @move_succeed
      @x = $game_map.round_x_with_direction(@x, sh)
      @y = $game_map.round_y_with_direction(@y, sv)
      @real_x = $game_map.x_with_direction(@x, reverse_dir(sh))
      @real_y = $game_map.y_with_direction(@y, reverse_dir(sv))
      increase_steps
    end
    set_direction(sh) if @horizontal_direction == reverse_dir(sh)
    set_direction(sv) if @vertical_direction == reverse_dir(sv)
    @horizontal_direction = sh
    @vertical_direction = sv
  end
  #--------------------------------------------------------------------------
  # * Straighten Character
  #--------------------------------------------------------------------------
  alias __original_straighten straighten unless $@
  def straighten
    reset_flip
    __original_straighten
  end
  #--------------------------------------------------------------------------
  # * Perform Flipping Mirror
  #--------------------------------------------------------------------------
  def perform_flipping_mirror
    @screen_direction = flipped_direction
  end
  #--------------------------------------------------------------------------
  # * Update Flipping Mirror Setting
  #--------------------------------------------------------------------------
  def update_flipping_mirror
    return if flip_swapped?
    return unless flipping_halftime?
    perform_flipping_mirror
    @flipping_mirrored = true
  end
  #--------------------------------------------------------------------------
  # * Update Flipping Animation
  #--------------------------------------------------------------------------
  def update_flipping_animation
    return unless flipping?
    @flipping_frame += 1
    update_flipping_mirror
    reset_flip if @flipping_frame >= @flipping_duration
  end
  #--------------------------------------------------------------------------
  # * Update all Animation-related Properties
  #--------------------------------------------------------------------------
  alias __original_update_animation update_animation unless $@
  def update_animation
    __original_update_animation
    update_flipping_animation
  end
  #--------------------------------------------------------------------------
  # * Get current Width Scale for Sprite
  #--------------------------------------------------------------------------
  def screen_zoom_x
    return flipping? ? flipping_zoom : 1.0
  end
  #--------------------------------------------------------------------------
  # * Get current Height Scale for Sprite
  #--------------------------------------------------------------------------
  def screen_zoom_y
    return 1.0
  end
  #--------------------------------------------------------------------------
  # * Get current Display delayed Direction
  #--------------------------------------------------------------------------
  def screen_direction
    return object_character? ? @direction : @screen_direction || @direction
  end
end

class Game_Player < Game_Character
  #--------------------------------------------------------------------------
  # * Move by Input
  #--------------------------------------------------------------------------
  def move_by_input
    return if !movable? || $game_map.interpreter.running?
    case Input.dir8
    when 2, 4, 6, 8
      return move_straight(Input.dir4)
    when 1, 7
      sh = 4
    when 3, 9
      sh = 6
    else
      return nil
    end
    case Input.dir8
    when 1, 3
      sv = 2
    when 7, 9
      sv = 8
    else
      return nil
    end
    move_diagonal(sh, sv)
  end
  #--------------------------------------------------------------------------
  # * Perform Transfer to other Position or Map
  #--------------------------------------------------------------------------
  alias __original_perform_transfer perform_transfer unless $@
  def perform_transfer
    return unless transfer?
    __original_perform_transfer
    perform_flipping_mirror if flip_possible? && !flip_swapped?
    reset_flip
    @followers.each do |sf|
      sf.perform_flipping_mirror if sf.flip_possible? && !sf.flip_swapped?
      sf.reset_flip
    end
  end
end

class Sprite_Character < Sprite_Base
  #--------------------------------------------------------------------------
  # * Update Character Position related Properties
  #--------------------------------------------------------------------------
  alias __original_update_position update_position unless $@
  def update_position
    __original_update_position
    self.zoom_x = @character.screen_zoom_x
    self.zoom_y = @character.screen_zoom_y
  end
  #--------------------------------------------------------------------------
  # * Update Source Graphic Area
  #--------------------------------------------------------------------------
  def update_src_rect
    return unless @tile_id == 0
    si = @character.character_index
    sp = @character.pattern < 3 ? @character.pattern : 1
    sx = (si % 4 * 3 + sp) * @cw
    sy = (si / 4 * 4 + (@character.screen_direction - 2) / 2) * @ch
    self.src_rect.set(sx, sy, @cw, @ch)
  end
end

~炬燵あ
I want him to only use the up-facing sprites if the last movement was up (diagonal or straight). If he walks directly to the right or left he should have the down facing one.
You mean while walking? That's very easy, this new ver will just enforce a downfacing before everything else when moving straight if the direction is not up.

But that lefts my question if a dir-change when teleporting should be handled different either unanswered or I may have misunderstood.

Spoiler: THE CODE
Ruby:
#==============================================================================
# ** Paperflip Character Walking Graphic EX (rv20240430-fix1)
#------------------------------------------------------------------------------
#  © 2024 KotatsuAkira / Akira Kotatsuhime
#  Do not redistribute without copyright-notice intact.
#------------------------------------------------------------------------------
#  Makes a character (except tiles and "!"-objects) flip at direction-change.
#------------------------------------------------------------------------------
#  Direction-graphics will change their purpose as they now will be displayed
#  depending on their character's diagonal alignment. Before and after:
#    DOWN   >>>  DOWNRIGHT
#    LEFT   >>>  DOWNLEFT
#    RIGHT  >>>  UPRIGHT
#    UP     >>>  UPLEFT
#------------------------------------------------------------------------------
#  Adjusted diagonal movement with more often direction-change is included,
#  additionally the player-character can move diagonally through button input.
#  Since it's based on that one well known paper-game-series, moving straight
#  to left or right will force a character face downleft or downright.
#==============================================================================

class Game_CharacterBase
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  attr_accessor :horizontal_direction
  attr_accessor :vertical_direction
  #--------------------------------------------------------------------------
  # * Start Sprite Display flipping
  #--------------------------------------------------------------------------
  def flip(sd)
    return nil unless sd > 0
    @flipping_duration = sd
    @flipping_frame = 0
    @flipping_mirrored = false
  end
  #--------------------------------------------------------------------------
  # * Reset Flipping Properties
  #--------------------------------------------------------------------------
  def reset_flip
    @flipping_duration = 0
    @flipping_frame = 0
    @flipping_mirrored = false
  end
  #--------------------------------------------------------------------------
  # * Get Duration of Flipping Process
  #--------------------------------------------------------------------------
  def flipping_duration
    return @flipping_duration ||= 0
  end
  #--------------------------------------------------------------------------
  # * Get current Frame of Flipping Process
  #--------------------------------------------------------------------------
  def flipping_frame
    return @flipping_frame ||= 0
  end
  #--------------------------------------------------------------------------
  # * Check if Character is flipping
  #--------------------------------------------------------------------------
  def flipping?
    return flipping_duration > 0
  end
  #--------------------------------------------------------------------------
  # * Get Progress of Flipping with 1.0f-Base
  #--------------------------------------------------------------------------
  def flipping_state
    return flipping_frame.to_f / flipping_duration.to_f
  end
  #--------------------------------------------------------------------------
  # * Add 1 if Flipping Duration is uneven
  #--------------------------------------------------------------------------
  def flipping_correction
    return flipping_duration + (flipping_duration % 2)
  end
  #--------------------------------------------------------------------------
  # * Catch Frame of Flipping Process' Halftime
  #--------------------------------------------------------------------------
  def flipping_halftime?
    return flipping_frame == flipping_correction / 2
  end
  #--------------------------------------------------------------------------
  # * Calculate Zoom Rate from Progress of Flipping
  #--------------------------------------------------------------------------
  def flipping_zoom
    return ((flipping_state * 2.0) - 1.0).abs
  end
  #--------------------------------------------------------------------------
  # * Get swapped Display Direction
  #--------------------------------------------------------------------------
  def flipped_direction
    case @direction
    when 2
      return @horizontal_direction == 4 ? 4 : 2
    when 4
      return @vertical_direction == 2 ? 4 : 8
    when 6
      return @vertical_direction == 8 ? 6 : 2
    when 8
      return @horizontal_direction == 6 ? 6 : 8
    end
    return @direction
  end
  #--------------------------------------------------------------------------
  # * Check if Direction Flip can be done
  #--------------------------------------------------------------------------
  def flip_possible?
    return @screen_direction != flipped_direction
  end
  #--------------------------------------------------------------------------
  # * Check if current Direction Swap is already done
  #--------------------------------------------------------------------------
  def flip_swapped?
    return @flipping_mirrored
  end
  #--------------------------------------------------------------------------
  # * Set Direction
  #--------------------------------------------------------------------------
  def set_direction(sd)
    @stop_count = 0
    return if sd.zero?
    @horizontal_direction ||= 4
    @vertical_direction ||= 2
    @horizontal_direction = @direction if @direction == 4 || @direction == 6
    @vertical_direction = @direction if @direction == 2 || @direction == 8
    @screen_direction ||= @direction
    return if @direction == sd
    @direction = sd unless @direction_fix
    return if object_character? || @direction_fix
    flip(Graphics.frame_rate / 6) if flip_possible?
  end
  #--------------------------------------------------------------------------
  # * Move straight
  #--------------------------------------------------------------------------
  alias __original_move_straight move_straight unless $@
  def move_straight(sd, st=true)
    set_direction(2) unless sd == 8
    __original_move_straight(sd, st)
  end
  #--------------------------------------------------------------------------
  # * Move diagonal
  #--------------------------------------------------------------------------
  def move_diagonal(sh, sv)
    @move_succeed = diagonal_passable?(x, y, sh, sv)
    if @move_succeed
      @x = $game_map.round_x_with_direction(@x, sh)
      @y = $game_map.round_y_with_direction(@y, sv)
      @real_x = $game_map.x_with_direction(@x, reverse_dir(sh))
      @real_y = $game_map.y_with_direction(@y, reverse_dir(sv))
      increase_steps
    end
    set_direction(sh) if @horizontal_direction == reverse_dir(sh)
    set_direction(sv) if @vertical_direction == reverse_dir(sv)
    @horizontal_direction = sh
    @vertical_direction = sv
  end
  #--------------------------------------------------------------------------
  # * Straighten Character
  #--------------------------------------------------------------------------
  alias __original_straighten straighten unless $@
  def straighten
    reset_flip
    __original_straighten
  end
  #--------------------------------------------------------------------------
  # * Perform Flipping Mirror
  #--------------------------------------------------------------------------
  def perform_flipping_mirror
    @screen_direction = flipped_direction
  end
  #--------------------------------------------------------------------------
  # * Update Flipping Mirror Setting
  #--------------------------------------------------------------------------
  def update_flipping_mirror
    return if flip_swapped?
    return unless flipping_halftime?
    perform_flipping_mirror
    @flipping_mirrored = true
  end
  #--------------------------------------------------------------------------
  # * Update Flipping Animation
  #--------------------------------------------------------------------------
  def update_flipping_animation
    return unless flipping?
    @flipping_frame += 1
    update_flipping_mirror
    reset_flip if @flipping_frame >= @flipping_duration
  end
  #--------------------------------------------------------------------------
  # * Update all Animation-related Properties
  #--------------------------------------------------------------------------
  alias __original_update_animation update_animation unless $@
  def update_animation
    __original_update_animation
    update_flipping_animation
  end
  #--------------------------------------------------------------------------
  # * Get current Width Scale for Sprite
  #--------------------------------------------------------------------------
  def screen_zoom_x
    return flipping? ? flipping_zoom : 1.0
  end
  #--------------------------------------------------------------------------
  # * Get current Height Scale for Sprite
  #--------------------------------------------------------------------------
  def screen_zoom_y
    return 1.0
  end
  #--------------------------------------------------------------------------
  # * Get current Display delayed Direction
  #--------------------------------------------------------------------------
  def screen_direction
    return object_character? ? @direction : @screen_direction || @direction
  end
end

class Game_Player < Game_Character
  #--------------------------------------------------------------------------
  # * Move by Input
  #--------------------------------------------------------------------------
  def move_by_input
    return if !movable? || $game_map.interpreter.running?
    case Input.dir8
    when 2, 4, 6, 8
      return move_straight(Input.dir4)
    when 1, 7
      sh = 4
    when 3, 9
      sh = 6
    else
      return nil
    end
    case Input.dir8
    when 1, 3
      sv = 2
    when 7, 9
      sv = 8
    else
      return nil
    end
    move_diagonal(sh, sv)
  end
  #--------------------------------------------------------------------------
  # * Perform Transfer to other Position or Map
  #--------------------------------------------------------------------------
  alias __original_perform_transfer perform_transfer unless $@
  def perform_transfer
    return unless transfer?
    __original_perform_transfer
    perform_flipping_mirror if flip_possible? && !flip_swapped?
    reset_flip
    @followers.each do |sf|
      sf.perform_flipping_mirror if sf.flip_possible? && !sf.flip_swapped?
      sf.reset_flip
    end
  end
end

class Sprite_Character < Sprite_Base
  #--------------------------------------------------------------------------
  # * Update Character Position related Properties
  #--------------------------------------------------------------------------
  alias __original_update_position update_position unless $@
  def update_position
    __original_update_position
    self.zoom_x = @character.screen_zoom_x
    self.zoom_y = @character.screen_zoom_y
  end
  #--------------------------------------------------------------------------
  # * Update Source Graphic Area
  #--------------------------------------------------------------------------
  def update_src_rect
    return unless @tile_id == 0
    si = @character.character_index
    sp = @character.pattern < 3 ? @character.pattern : 1
    sx = (si % 4 * 3 + sp) * @cw
    sy = (si / 4 * 4 + (@character.screen_direction - 2) / 2) * @ch
    self.src_rect.set(sx, sy, @cw, @ch)
  end
end

~炬燵あ
That works well for the movement. What I want in terms of the character in a cutscene though is for him to face right if set to face right in the scene. As it currently stands, if he entered the room from the bottom (thus is facing up), he will be facing up right for the cutscene, when I want him to be facing down right (the sprite used for any direction other than an upward direction. But at least his left/right position seems to be correctly updating now.
Direction-select for the transfer should now result in:
★ 【RETAIN】 ➤ Still leaves direction untouched
★ 【DOWN】 ➤ DOWNLEFT or DOWNRIGHT (depends on previous looking)
★ 【LEFT】 ➤ Guaranteed DOWNLEFT (UPLEFT gets excluded)
★ 【RIGHT】 ➤ Guaranteed DOWNRIGHT (UPRIGHT gets excluded)
★ 【UP】 ➤ UPLEFT or UPRIGHT

Spoiler: THE CODE
Ruby:
#==============================================================================
# ** Paperflip Character Walking Graphic EX (rv20240430-fix2)
#------------------------------------------------------------------------------
#  © 2024 KotatsuAkira / Akira Kotatsuhime
#  Do not redistribute without copyright-notice intact.
#------------------------------------------------------------------------------
#  Makes a character (except tiles and "!"-objects) flip at direction-change.
#------------------------------------------------------------------------------
#  Direction-graphics will change their purpose as they now will be displayed
#  depending on their character's diagonal alignment. Before and after:
#    DOWN   >>>  DOWNRIGHT
#    LEFT   >>>  DOWNLEFT
#    RIGHT  >>>  UPRIGHT
#    UP     >>>  UPLEFT
#------------------------------------------------------------------------------
#  Adjusted diagonal movement with more often direction-change is included,
#  additionally the player-character can move diagonally through button input.
#------------------------------------------------------------------------------
#  Since it's based on that one well-known paper-game-series, moving straight
#  to left or right will force a character to face DOWNLEFT or DOWNRIGHT.
#------------------------------------------------------------------------------
#  Transfering the player-character will force either DOWNLEFT or DOWNRIGHT
#  facing unless RETAIN or UP was chosen in the command.
#==============================================================================

class Game_CharacterBase
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  attr_accessor :horizontal_direction
  attr_accessor :vertical_direction
  #--------------------------------------------------------------------------
  # * Start Sprite Display flipping
  #--------------------------------------------------------------------------
  def flip(sd)
    return nil unless sd > 0
    @flipping_duration = sd
    @flipping_frame = 0
    @flipping_mirrored = false
  end
  #--------------------------------------------------------------------------
  # * Reset Flipping Properties
  #--------------------------------------------------------------------------
  def reset_flip
    @flipping_duration = 0
    @flipping_frame = 0
    @flipping_mirrored = false
  end
  #--------------------------------------------------------------------------
  # * Get Duration of Flipping Process
  #--------------------------------------------------------------------------
  def flipping_duration
    return @flipping_duration ||= 0
  end
  #--------------------------------------------------------------------------
  # * Get current Frame of Flipping Process
  #--------------------------------------------------------------------------
  def flipping_frame
    return @flipping_frame ||= 0
  end
  #--------------------------------------------------------------------------
  # * Check if Character is flipping
  #--------------------------------------------------------------------------
  def flipping?
    return flipping_duration > 0
  end
  #--------------------------------------------------------------------------
  # * Get Progress of Flipping with 1.0f-Base
  #--------------------------------------------------------------------------
  def flipping_state
    return flipping_frame.to_f / flipping_duration.to_f
  end
  #--------------------------------------------------------------------------
  # * Add 1 if Flipping Duration is uneven
  #--------------------------------------------------------------------------
  def flipping_correction
    return flipping_duration + (flipping_duration % 2)
  end
  #--------------------------------------------------------------------------
  # * Catch Frame of Flipping Process' Halftime
  #--------------------------------------------------------------------------
  def flipping_halftime?
    return flipping_frame == flipping_correction / 2
  end
  #--------------------------------------------------------------------------
  # * Calculate Zoom Rate from Progress of Flipping
  #--------------------------------------------------------------------------
  def flipping_zoom
    return ((flipping_state * 2.0) - 1.0).abs
  end
  #--------------------------------------------------------------------------
  # * Get swapped Display Direction
  #--------------------------------------------------------------------------
  def flipped_direction
    case @direction
    when 2
      return @horizontal_direction == 4 ? 4 : 2
    when 4
      return @vertical_direction == 2 ? 4 : 8
    when 6
      return @vertical_direction == 8 ? 6 : 2
    when 8
      return @horizontal_direction == 6 ? 6 : 8
    end
    return @direction
  end
  #--------------------------------------------------------------------------
  # * Check if Direction Flip can be done
  #--------------------------------------------------------------------------
  def flip_possible?
    return @screen_direction != flipped_direction
  end
  #--------------------------------------------------------------------------
  # * Check if current Direction Swap is already done
  #--------------------------------------------------------------------------
  def flip_swapped?
    return @flipping_mirrored
  end
  #--------------------------------------------------------------------------
  # * Set Direction
  #--------------------------------------------------------------------------
  def set_direction(sd)
    @stop_count = 0
    return if sd.zero?
    @horizontal_direction ||= 4
    @vertical_direction ||= 2
    @horizontal_direction = @direction if @direction == 4 || @direction == 6
    @vertical_direction = @direction if @direction == 2 || @direction == 8
    @screen_direction ||= @direction
    return if @direction == sd
    @direction = sd unless @direction_fix
    return if object_character? || @direction_fix
    flip(Graphics.frame_rate / 6) if flip_possible?
  end
  #--------------------------------------------------------------------------
  # * Move straight
  #--------------------------------------------------------------------------
  alias __original_move_straight move_straight unless $@
  def move_straight(sd, st=true)
    set_direction(2) unless sd == 8
    __original_move_straight(sd, st)
  end
  #--------------------------------------------------------------------------
  # * Move diagonal
  #--------------------------------------------------------------------------
  def move_diagonal(sh, sv)
    @move_succeed = diagonal_passable?(x, y, sh, sv)
    if @move_succeed
      @x = $game_map.round_x_with_direction(@x, sh)
      @y = $game_map.round_y_with_direction(@y, sv)
      @real_x = $game_map.x_with_direction(@x, reverse_dir(sh))
      @real_y = $game_map.y_with_direction(@y, reverse_dir(sv))
      increase_steps
    end
    set_direction(sh) if @horizontal_direction == reverse_dir(sh)
    set_direction(sv) if @vertical_direction == reverse_dir(sv)
    @horizontal_direction = sh
    @vertical_direction = sv
  end
  #--------------------------------------------------------------------------
  # * Straighten Character
  #--------------------------------------------------------------------------
  alias __original_straighten straighten unless $@
  def straighten
    reset_flip
    __original_straighten
  end
  #--------------------------------------------------------------------------
  # * Perform Flipping Mirror
  #--------------------------------------------------------------------------
  def perform_flipping_mirror
    @screen_direction = flipped_direction
  end
  #--------------------------------------------------------------------------
  # * Update Flipping Mirror Setting
  #--------------------------------------------------------------------------
  def update_flipping_mirror
    return if flip_swapped?
    return unless flipping_halftime?
    perform_flipping_mirror
    @flipping_mirrored = true
  end
  #--------------------------------------------------------------------------
  # * Update Flipping Animation
  #--------------------------------------------------------------------------
  def update_flipping_animation
    return unless flipping?
    @flipping_frame += 1
    update_flipping_mirror
    reset_flip if @flipping_frame >= @flipping_duration
  end
  #--------------------------------------------------------------------------
  # * Update all Animation-related Properties
  #--------------------------------------------------------------------------
  alias __original_update_animation update_animation unless $@
  def update_animation
    __original_update_animation
    update_flipping_animation
  end
  #--------------------------------------------------------------------------
  # * Get current Width Scale for Sprite
  #--------------------------------------------------------------------------
  def screen_zoom_x
    return flipping? ? flipping_zoom : 1.0
  end
  #--------------------------------------------------------------------------
  # * Get current Height Scale for Sprite
  #--------------------------------------------------------------------------
  def screen_zoom_y
    return 1.0
  end
  #--------------------------------------------------------------------------
  # * Get current Display delayed Direction
  #--------------------------------------------------------------------------
  def screen_direction
    return object_character? ? @direction : @screen_direction || @direction
  end
end

class Game_Player < Game_Character
  #--------------------------------------------------------------------------
  # * Move by Input
  #--------------------------------------------------------------------------
  def move_by_input
    return if !movable? || $game_map.interpreter.running?
    case Input.dir8
    when 2, 4, 6, 8
      return move_straight(Input.dir4)
    when 1, 7
      sh = 4
    when 3, 9
      sh = 6
    else
      return nil
    end
    case Input.dir8
    when 1, 3
      sv = 2
    when 7, 9
      sv = 8
    else
      return nil
    end
    move_diagonal(sh, sv)
  end
  #--------------------------------------------------------------------------
  # * Perform Transfer to other Position or Map
  #--------------------------------------------------------------------------
  alias __original_perform_transfer perform_transfer unless $@
  def perform_transfer
    return unless transfer?
    set_direction(2) if @new_direction == 4 || @new_direction == 6
    __original_perform_transfer
    perform_flipping_mirror if flip_possible? && !flip_swapped?
    reset_flip
    @followers.each do |sf|
      sf.perform_flipping_mirror if sf.flip_possible? && !sf.flip_swapped?
      sf.reset_flip
    end
  end
end

class Sprite_Character < Sprite_Base
  #--------------------------------------------------------------------------
  # * Update Character Position related Properties
  #--------------------------------------------------------------------------
  alias __original_update_position update_position unless $@
  def update_position
    __original_update_position
    self.zoom_x = @character.screen_zoom_x
    self.zoom_y = @character.screen_zoom_y
  end
  #--------------------------------------------------------------------------
  # * Update Source Graphic Area
  #--------------------------------------------------------------------------
  def update_src_rect
    return unless @tile_id == 0
    si = @character.character_index
    sp = @character.pattern < 3 ? @character.pattern : 1
    sx = (si % 4 * 3 + sp) * @cw
    sy = (si / 4 * 4 + (@character.screen_direction - 2) / 2) * @ch
    self.src_rect.set(sx, sy, @cw, @ch)
  end
end

~炬燵あ
That works, thanks again. Only one more thing I noticed, when going down ladders the flip animation plays repeatedly. I actually want to make a separate graphic specifically for climbing ladders, that basically plays the same animation whether going up or down. If it's possible to disable the flip animation when on a ladder, that would be helpful.
First thing that comes into mind is:

Try adding a direction-fix command when entering a ladder (and unlock when leaving).

~炬燵あ

Original thread: https://forums.rpgmakerweb.com/threads/decrease-the-width-of-the-player-sprite-via-scaling.168029/