dtgreene: Another question I just thought up:
If I somehow managed to win a battle with this party, what would happen when it comes time for the game to divide up the experience between the (0) survivors?
Testing this would probably take either save state editing (for example, to set the program counter for the routine that's called after battle victory) or finding and using an arbitrary code execution exploit (I think the DOS version *might* have one, based on what I read on another forum).
sambrookjm: Each character would get 65280 XP and 65280 Gold, because that where it maxed out. In BT2, anyway. (Those are burned into my memory after lots of fights with Miracle Mages, and it's also FF00 in hex.)
Actually, I have thought of another reason I am unsure what would happen; different games and hardware behave differently when division by zero is attempted. Some behaviors I am aware of are:
* Division results in the largest possible value (Final Fantasy 6; possible by using Mantra/Chakra on a single enemiy); this would lead to the outcome you mention.
* Division results in 0 (SaGa 1 and 2; possible in 1 if a human's stat overflows to 0 and you try to increase it again (it increases by +2 in this case), and in 2 it always happens if an enemy uses the DNA attack (damage = target's HP divided by 0 plus a small random amount)).
* Division crashes the game (Civilization 2; using cheat menu to set a city's size to 0 (makes it disappear from the map) and then trying to take over the city).
* Division softlocks the game (Pokemon Red/Blue/Yellow; if attacker has >= 256 attack and defender has <4 defense, the damage calculation divides both values by a factor of 4, then tries to divide the resulting attack by defense).
So, as one can see, when a computer tries to divide by zero, the resulting behavior isn't always the same.
(This is just integer division; floating point division creates infinities, which could confuse a program not expecting them.)