The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.33 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Users browsing this thread: 1 Guest(s)
Hold B to Walk

#1
Posts: 617
Threads: 49
Thanks Received: 0
Thanks Given: 5
Joined: Feb 2017
Reputation: 25
Status
None
This is a small one, but I wanted to post it. I love the idea of MasterZED's "Hold B to Run" patch, but the amount of time that I spend running vs the amount of time I spend walking made me want to only hold a button if I intended to move slowly. I took a look at his code, and realized if I swapped $C0/432F with $C0/4E33, it would have the desired effect.

Code:
ORIGINAL (Hold B to Run)
$C0/4E21 AD 19 42    LDA $4219   ;Load 2nd byte for controller 1
$C0/4E24 29 80       AND #$80    ;AND for B button only
$C0/4E26 D0 07       BNE $4E2F   ;Branch if button pressed/held
$C0/4E28 AD DF 11    LDA $11DF   ;Load offset with Sprint Shoes bit
$C0/4E2B 29 20       AND #$20    ;AND for Sprint Shoes bit only
$C0/4E2D F0 04       BEQ $4E33   ;If no Sprint Shoes, branch
$C0/4E2F A9 03       LDA #$03    ;Load sprinting walking speed...
$C0/4E31 80 02       BRA $4E35   ;and branch
$C0/4E33 A9 02       LDA #$02    ;Load normal walking speed
$C0/4E35 99 75 08    STA $0875,y ;Store walking speed

MODIFIED
$C0/4E21 AD 19 42    LDA $4219   ;Load 2nd byte for controller 1
$C0/4E24 29 80       AND #$80    ;AND for B button only
$C0/4E26 D0 07       BNE $4E2F   ;Branch if button pressed/held
$C0/4E28 AD DF 11    LDA $11DF   ;Load offset with Sprint Shoes bit
$C0/4E2B 29 20       AND #$20    ;AND for Sprint Shoes bit only
$C0/4E2D F0 04       BEQ $4E33   ;If no Sprint Shoes, branch
$C0/4E2F A9 02       LDA #$02    ;Load normal walking speed...
$C0/4E31 80 02       BRA $4E35   ;and branch
$C0/4E33 A9 03       LDA #$03    ;Load sprinting walking speed
$C0/4E35 99 75 08    STA $0875,y ;Store walking speed

I'm sure there's a way to modify his other two patches also; the ones that stack with Sprint Shoes, but since I am removing Sprint Shoes from the game, I have not tested them out.


Projects:
FFVI: Divergent Paths (Completed) - a complete storyline and gameplay hack of FF6 that adds Leo as a playable character
  Find
Quote  
[-] The following 2 users say Thank You to PowerPanda for this post:
  • Simulacrum (10-26-2017), SSJ Rick (07-16-2018)



Messages In This Thread
Hold B to Walk - by PowerPanda - 10-23-2017, 02:21 PM
RE: Hold B to Walk - by GrayShadows - 10-23-2017, 11:22 PM
RE: Hold B to Walk - by PowerPanda - 07-09-2018, 02:34 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite