From c9b778fb008ebc845219a2b787ea6beb04ae29f8 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 7 Feb 2015 04:23:34 -0800 Subject: documented bide bug --- engine/battle/core.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engine') 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 -- cgit v1.2.3