summaryrefslogtreecommitdiff
path: root/engine/pokedex
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-07-29 16:00:11 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-07-29 16:00:11 -0400
commitb5a9e83a94f54c43fedca004fbd7223d6f144fc0 (patch)
treeda9ffb3daec46b2121abf08468f2bba9844b6627 /engine/pokedex
parentc9cb67141bd13db51b8f6cb79f158cbca21660d0 (diff)
Fix reviewed issues.
Pokedex_PrintListing has a comment noting how it depends on wCurSpecies == wNamedObjectIndexBuffer; an assert would be more convenient, but is not possible since WRAM label addresses are not defined yet here.
Diffstat (limited to 'engine/pokedex')
-rw-r--r--engine/pokedex/pokedex.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/pokedex/pokedex.asm b/engine/pokedex/pokedex.asm
index d62997c9b..10508833f 100644
--- a/engine/pokedex/pokedex.asm
+++ b/engine/pokedex/pokedex.asm
@@ -1492,7 +1492,7 @@ Pokedex_PrintListing:
.loop
push af
ld a, [de]
- ld [wTempSpecies], a
+ ld [wTempSpecies], a ; also sets wNamedObjectIndexBuffer
push de
push hl
call .PrintEntry