ref: 4ee7e027bea9832568bee9de84ec4c4894976a31
parent: 7c424527481af985a7b3157c274506ab9c2c2712
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sat Feb 16 09:11:33 EST 2019
Fix link
--- a/docs/bugs_and_glitches.md
+++ b/docs/bugs_and_glitches.md
@@ -68,7 +68,7 @@
- [`ChooseWildEncounter` doesn't really validate the wild Pokémon species](#choosewildencounter-doesnt-really-validate-the-wild-pokémon-species)
- [`TryObjectEvent` arbitrary code execution](#tryobjectevent-arbitrary-code-execution)
- [`ClearWRAM` only clears WRAM bank 1](#clearwram-only-clears-wram-bank-1)
-- [`BattleAnimCmd_ClearObjs` only clears the first 6⅔ objects](#battleanimcmd_clearobjs-only-clears-the-first-6⅔-objects)
+- [`BattleAnimCmd_ClearObjs` only clears the first 6⅔ objects](#battleanimcmd_clearobjs-only-clears-the-first-6-objects)
## Thick Club and Light Ball can make (Special) Attack wrap around above 1024
@@ -1597,7 +1597,7 @@
-; BUG: This function only clears the first 6⅔ objects
ld hl, wActiveAnimObjects
- ld a, $a0 ; should be NUM_ANIM_OBJECTS * BATTLEANIMSTRUCT_LENGTH
-- ld a, NUM_ANIM_OBJECTS * BATTLEANIMSTRUCT_LENGTH
++ ld a, NUM_ANIM_OBJECTS * BATTLEANIMSTRUCT_LENGTH
.loop
ld [hl], 0
inc hl