Glitches in Mega Man Battle Network 5

From The Rockman EXE Zone Wiki

Revision as of 18:26, 1 February 2015 by Prof. 9 (talk | contribs) (Created page with "{{nw|TODO: Add more glitches.}} This page is a list of glitches that appear in Mega Man Battle Network 2. == Minor glitches == === Powie AI glitch === In the final vers...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This section is under construction.
The information may not be complete or 100% accurate.
TODO: Add more glitches.

This page is a list of glitches that appear in Mega Man Battle Network 2.

Minor glitches

Powie AI glitch

In the final version, Powie never jumps more than two times before doing a ground pound. This behavior is carried over from Mega Man Battle Network 2, where it is actually caused by a glitch. However, this game introduces a new AI glitch: it's actually supposed to attack after one jump 20% of the time, but it only does so under extremely rare circumstances.

This glitch is caused by the way the game determines whether Powie should attack after its first jump. The game does this by generating a random number r and using the SDK function for division, which calculates both division and modulo result. However, the game then uses the division result (r / 5) which has 429496729 possible values, instead of the modulo result (r % 5) which has 5 possible values.

What should be happening:
Jumps Chance to ground pound
1 1/5 (20%)
2 1/1 (100%)
What is actually happening:
Jumps Chance to ground pound
1 5/2147483648 (~0.00%)
2 1/1 (100%)
Applies to:
Team of Blues Japanese v1.0 ?
Team of Colonel Japanese v1.0 ?
Team ProtoMan North American v1.0 ?
Team Colonel North American v1.0 Yes
Team ProtoMan European v1.0 ?
Team Colonel European v1.0 ?
DS Twin Leaders Japanese v1.0 ?
Double Team DS North American v1.0 ?
Double Team DS European v1.0 ?