summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-02-07 04:23:34 -0800
committerYamaArashi <shadow962@live.com>2015-02-07 04:23:34 -0800
commitc9b778fb008ebc845219a2b787ea6beb04ae29f8 (patch)
tree9acd1a5ba437e52edf0e92eafa0a56b7ff2c475e
parent507fcbd26979cb79fcb9b75a18b85f4c20487a63 (diff)
documented bide bug
-rwxr-xr-xengine/battle/core.asm4
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/battle/core.asm b/engine/battle/core.asm
index 0c506e2b..64a8d44e 100755
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -1096,7 +1096,9 @@ RemoveFaintedPlayerMon: ; 3c741 (f:4741)
ld [wd083], a
call WaitForSoundToFinish
.skipWaitForSound
- ld hl, wEnemyNumHits
+; bug? if the player mon faints while the enemy mon is using bide,
+; the accumulated damage is overwritten. xxx what values can [wd083] have here?
+ ld hl, wEnemyBideAccumulatedDamage
ld [hli], a
ld [hl], a
ld [wBattleMonStatus], a