Jump to content
jstout

NES Improved Grappling Code

Recommended Posts

Am I correct that your version has the CPU guys getting a random 0-15 presses + 0-7 presses for HP?

Yes, that's how it works...I will give a look to the code I use and try to tweak it (I don't have great skills with the NES assembly language. All that needs to happen is to replace the "add random press #" with a "add 7" - just gotta figure out how to do it)

But then again, jstout is the mastermind behind this and he could probably fix it in a second. If I knew exactly how to put the "add 7" in there, I could give you convenient TSBTOOL "SET" commands...hopefully we'll get this going for you soon.

Share this post


Link to post
Share on other sites

try this bgboud2 (it seems to be working for me - but you should give it some tests)


SET(0x2bf50, 0xA01CB1AE4A4A4AC81871AE91AE2090B1A01CB13E4A4A4AC8913EA907290718713E913EB1AE60A01CB1AE4A4A4AC81871AE91AEA01CB13E4A4A4AC818713E913EB13E60 )
SET( 0x284f4, 0x2040BFEAD13E)
SET( 0x2852e, 0x2066BFEAD1AE)

paste these three SET commands in 'TSB TOOL Supreme' onto the rom you want to mod. Make sure it's a copy, of course.

you might need to fix the line-wrap.

Share this post


Link to post
Share on other sites

Human tapping speed...

Based on what was in this thread, the range of humans was determined to be 5-10.

I made a series of roms where the CPU pressed are fixed using the code Buck posted above, and I made a series of roms with CPU presses fixed at 5,6,7....up to 13. You can download here:

http://www.tecmo.us/arena/viewtopic.php?f=35&t=19289

So far, I've been able to tap the cpu down about half the time when the cpu presses are set at 9. Since a tie goes to the ball carrier, I guess that means I'm about 9.5 presses.

Since it was posted earlier in here that humans range from 5-10, I believe the upper range of talent is a bit higher than that...perhaps 13? There's no way I'm just a half a press slower than the best tappers.

Share this post


Link to post
Share on other sites

A couple questions.

I can set a fixed cpu grapple speed, but I want to add a random number to that. Like base of 8 plus 0-4?

How can I lower offensive/defensive line popcorning from 25 hp?

Share this post


Link to post
Share on other sites

To clarify, I don't want the HP scale included, just wanting to add a small random onto the base number. No changes to the man code either. I've played around with it and now I'm getting frustrated. I understand the 62 divided by 2 and the random, but I don't see the set cpu presses anywhere. If someone could show me where that is, or just give me some code to SET it with in TSB Tool (base 8 plus 0-4 presses) I think I could understand it....

Share this post


Link to post
Share on other sites
Here is some .....

Can anybody tell me where to put this code (file, file location, location in file) or the editor/method to apply it, Or link me to the info to do it, please?

Thanks,

FW

Share this post


Link to post
Share on other sites

I figured I'd post the corrected man vs man popcorning patch (the one on page one doesn't work) in case others had as much trouble figuring out what worked and what didn't from the first few pages...

SET( 0x2851b, 0x4c95bf )
SET( 0x2bfa5, 0x2090b1a01cb1ae38f13e9007c920b00d4cacbfc9e290092036b14c0e854c26854c3385 )

This is best used in conjunction with the set patches buck posted earlier up on page 6.

Thanks to jstout and buck again!

..I feel like I should just put that in my signature at this point :)

Share this post


Link to post
Share on other sites
I figured I'd post the corrected man vs man popcorning patch (the one on page one doesn't work) in case others had as much trouble figuring out what worked and what didn't from the first few pages...

SET( 0x2851b, 0x4c95bf )
SET( 0x2bfa5, 0x2090b1a01cb1ae38f13e9007c920b00d4cacbfc9e290092036b14c0e854c26854c3385 )

This is best used in conjunction with the set patches buck posted earlier up on page 6.

wow. thanks - I could never quite figure out the MAN v MAN popcorn, so I had given up on it - I'll try this later tonight!

Share this post


Link to post
Share on other sites

In man vs. com grappling, jstout programmed 0-15 presses for the com.  My question is, how do I change his code below to change that range to 2-10? 

 

At x2BF50:
MAN VS CPU GRAPPLING:
A0 1C LDY #$1C
B1 AE LDA ($AE),Y ; LOAD PLAYER HP
4A LSR
4A LSR
4A LSR
C8 INY

18 CLC
71 AE ADC ($AE),Y ; HP/8 + Presses
91 AE STA ($AE),Y
20 90 B1 JSR $B190 ; LOAD CPU PLAYER
A0
1C LDY #$1C
B1 3E LDA ($3E),Y ; LOAD CPU HP
4A LSR
4A LSR
4A LSR
C8 INY

91 3E STA ($3E),Y ; HP/8
A5 3D LDA $003D ; RANDOM NUMBER
29 0F AND #$0F ; Make Random x0-F
18 CLC
71 3E ADC ($3E),Y ; HP/8 + RANDOM
91 3E STA ($3E),Y

Share this post


Link to post
Share on other sites

The code above uses HP for the COM as well as making presses for the COM. You know that right? Assuming you want HP included then do change the end to this

 

29 08 AND #$08 ; Make Random x0-8
18 CLC
71 3E ADC ($3E),Y ; HP/8 + 0-8 "presses"

A9 02 LDA #$02; 

18 CLC

71 3E ADC ($3E),Y ;Add 2. Total now equals HP/8+ 2-10 "presses" 
91 3E STA ($3E),Y

Share this post


Link to post
Share on other sites

Thanks Bruddog, yes, I knew that code included HP.  I'm actually using your grapple hack, which emphasizes HP over presses, but I assumed I could figure out where it was in YOUR code by just looking at jstout's, since they're similar (I couldn't find the code displayed for the bruddog-style grapple).


 


Hopefully, you'll get a chance to download and play the game I just uploaded.  I'm having a problem with your dynamic com vs. com HP hack.


Share this post


Link to post
Share on other sites

OK, I thought I could figure that out but I can't.  So exactly where would I put the code you just gave me: 29 08 18 71 3E A9 02 18 71 3E 91 3E


 


Or is the code starting with the second "18 CLC" in your message actually meant to just show me how it works, and the last bit of code actually replaces the four bytes above it (71 3E A9 02)?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×