bruddog Posted April 29, 2015 Share Posted April 29, 2015 LDY #$08 ; LOAD PLAYER ID LDA ($3E),Y ; JSR L_DD8D ; GET ACTUAL PLAYER AND TEAM(A=PLAYER ID) RET X=TEAM A= PLAYER() LDY #$89 ; LOAD AVOID PASS BLOCK SKILL INDEX JSR L_DDAA ; GET SKILL RATING(Y=SKILL TO GET) RETURNS SKILL INDEX IN Y Y REGISTER HOLDS THE CORRECT SKILL INDEX LDA $B6 ; Load random with 8 possible values AND #$20 ; BNE L_21_AD3E ; 35% to check for block with cutscene WITH NO CUT-SCENE THE Y REGISTER STILL HOLDS THE CORRECT PASS BLOCK INDEX ; PASS BLOCK CHECK NO CUTSCENE LDA $3D ; LOAD random number CMP AVOID_PASS_BLOCK_VALUES,Y ; iS random > pass block values .... .... BUG OCCURS BELOW THE Y REGISTER WHICH HELD THE AVOID PASS BLOCK INDEX HAS BEEN OVERWRITTEN AND IS NEVER RELOADED ; PASS BLOCK CHECK WITH CUT-SCENE LDY #$08 ; LOAD PLAYER ID LDA ($AE),Y ; CLC ; CONVERT PLAYER ID TO DEFENDER NOTATION ADC #$0B ; AND #$1F ; MASK out P1/P2 bit to convert to defender notation 0B=RE, 0C=NT, etc STA $0680 ; STORE DEFENDER BLOCKING PASS FOR CUTSCENE SINCE THE Y REGISTER IS NEVER RELOADED WITH THE QB'S CORRECT SKILL OUR SKILL INDEX IS Y= 08 FROM ABOVE WHICH IS EQUAL TO A 56 RATING. LDA $3D ; LOAD RANDOM NUM CMP AVOID_PASS_BLOCK_VALUES,Y ; random > pass block GameplayLoop, segathonsov and DFM 3 Quote Link to comment Share on other sites More sharing options...
bruddog Posted April 29, 2015 Author Share Posted April 29, 2015 The formatting looks shitty...unreadable on mobile basically.... but hopefully people can follow along on a desktop. Basically the game overwrites the register holding the skill value for an avoid pass block if a cutscene is triggered. A cutscene is triggered about 35% of the time for avoid pass block based a pre-determined random number. segathonsov and GameplayLoop 2 Quote Link to comment Share on other sites More sharing options...
Tecmonster Posted April 29, 2015 Share Posted April 29, 2015 Wow, that's a pretty big bug. Thanks for researching, bruddog. So, that problem can be fixed by just eliminating that cut scene, right? If so, how can I do that? Quote Link to comment Share on other sites More sharing options...
bruddog Posted April 29, 2015 Author Share Posted April 29, 2015 Well in the above code the cutscene hasn't even been played yet. So just removing the cutscene won't work. 1. Reloading the skill value in the "check for pass block and do cutscene path" 2. Not letting it branch to that path at all and thus no pass block, or pass block miss cutscene would be played. Quote Link to comment Share on other sites More sharing options...
Tecmonster Posted April 30, 2015 Share Posted April 30, 2015 OK, so it seems like #1 is the preferable fix then. I don't really understand all that language above though -- is the solution embedded in there somewhere? Quote Link to comment Share on other sites More sharing options...
buck Posted April 30, 2015 Share Posted April 30, 2015 it always seemed to me like the pass gets blocked more when the cutscreen does not occur. Quote Link to comment Share on other sites More sharing options...
bruddog Posted April 30, 2015 Author Share Posted April 30, 2015 it always seemed to me like the pass gets blocked more when the cutscreen does not occur. THat would make sense since most QBs have a APB of worse than 56. Quote Link to comment Share on other sites More sharing options...
Knobbe Posted May 22, 2015 Share Posted May 22, 2015 it always seemed to me like the pass gets blocked more when the cutscreen does not occur. Perhaps a cutscene ending with no blocked pass was purposeful Quote Link to comment Share on other sites More sharing options...
adscl84 Posted December 9, 2015 Share Posted December 9, 2015 Can anyone provide the hex code to change that would fix this bug? Quote Link to comment Share on other sites More sharing options...
Tecmonster Posted July 12, 2016 Share Posted July 12, 2016 bruddog, do you know where the table/scale is located for the Avoid Pass Block ratings? I think I want to polarize it more so that it each notch up or down has a bigger impact on the game. Quote Link to comment Share on other sites More sharing options...
bruddog Posted July 12, 2016 Author Share Posted July 12, 2016 I belive there is a link in the hacking documentation thread. Otherwise I can post later when not on mobile Quote Link to comment Share on other sites More sharing options...
Tecmonster Posted July 12, 2016 Share Posted July 12, 2016 Yep, thanks, I see it -- sorry. Rookie mistake. Quote Link to comment Share on other sites More sharing options...
bruddog Posted July 12, 2016 Author Share Posted July 12, 2016 Cool you found it. Quote Link to comment Share on other sites More sharing options...
Darth RockMan Posted February 10, 2018 Share Posted February 10, 2018 (edited) Based on the info I've read from others on here I made a probability chart for reference. Odds may not be exact. Please excuse the crudity of this model. If something does not look right let me know and I can update. It the cut scene does not come up below are the APB odds. " If the cut scene does come up it uses 50APB" or 20.3% Updated the below chart based on Bruddog's HSTL discord post. Thanks Bruddog! Edited February 10, 2018 by Darth RockMan Upated info... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.