Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ok, so here's how the odds are *supposed* to go for Macho's exercise programs:
- Macho does a random exercise program at...
- 6 seconds into the fight 1/4th of the time
- 9 seconds into the fight 3/8ths of the time
- 13 seconds into the fight 3/8ths of the time
- ...HOWEVER, for the first instance of this in the fight, there's apparently an error with how the code works. See, normally, the RNG for certain events in this game will iterate through a set table of 256 hexademcimal values located at "Bank 0" that have a distribution of values such that random events in the game will adhere to certain expected values. It'll select a value in that table at random (based on the number of frames from power on, the buttons pressed so far, and how long they were pressed), which will correspond to one of the delays that the game sets for Macho's exercise programs, to which that value is then stored in memory address 0x0953.
- The problem is that for Macho, the code that calls RNG at the start of each frame in the PAL version is at 00C4BB (the NTSC version's is located at 00CCB7), and that code assumes that the data bank it reads from is already set to ROM bank 0, when it's not set yet. The game ends up defaulting to reading values from either ROM bank 08 or ROM bank 11 (or 0B in hex) instead, and it flips between these two banks based on whether the frame counter is even or odd. These 2 banks are ROM banks that relate to the player boxer and opponent boxer respectively, and in terms of determining the random event, it is effectively "garbage data" instead of the intended data, which skews the randomness somewhat erratically.
- This error is consistent between the PAL *and* NTSC versions of the game and appears to work (or not work) in the exact same way, aside from the odds being slightly different because of differences in the erroneous player/opponent ROM banks. This error also only seems to happen for the very first instance of an exercise program in a fight, as the game initializes the correct bank for subsequent exercise programs for the rest of the fight.
- The true odds for PAL Macho doing a random exercise at these times end up being the following:
- 6 seconds into the fight 107/512 of the time
- 9 seconds into the fight 194/512 of the time
- 13 seconds into the fight 211/512 of the time
- The ideal scenario for this strategy to work means that we need Macho to *NOT* have his exercise program happen at 6 seconds into the fight, which is the sum of the other 2 events, which is 405/512 likely (or 79.1015625%).
- It’s pretty fortunate for speed runners of the PAL version, because this error with the RNG table actually boosts the expected odds in our favor by 4.1% compared to the intended value of 75%! However, NTSC runners are not so lucky, as these are the true odds for NTSC Macho's exercise program delays:
- 6 seconds into the fight 136/512 of the time
- 9 seconds into the fight 204/512 of the time
- 13 seconds into the fight 172/512 of the time
- This means that the odds of no exercise program 6 seconds into the fight ends up being 376/512, or about 73.43%, which is actually *lower* than the intended odds for a successful outcome here!
- This unusual error only happens in one other fight in the game, which is Macho's palette swap fight, Masked Muscle. This is way less impactful than Macho, but it still has marginal interest for full game runs, because this error affects Muscle's first delay for spitting at the player.
- The odds for Masked Muscle's spit delays are as follows:
- For NTSC, Muscle spits at the player...
- 8 seconds into the fight 90/512 of the time
- 12 seconds into the fight 256/512 of the time
- 16 seconds into the fight 166/512 of the time
- For PAL, Muscle spits at the player...
- 8 seconds into the fight 72/512 of the time
- 12 seconds into the fight 266/512 of the time
- 16 seconds into the fight 174/512 of the time
- Since Masked Muscle's WR strategy defeats him at a low 6 second time, he doesn't even get a chance to spit at the player. The only time you really even encounter this possibility is if you get the worst luck possible in terms of Muscle blocking, then you'd have a chance at him spitting at you. It's pretty rare with current strategies.
- Anyways, thanks for checking this out! Shoutouts to McHazard for going over this with me enough to where I could relay this extremely bizarre information to all of you.
Advertisement
Add Comment
Please, Sign In to add comment