From b5a9e83a94f54c43fedca004fbd7223d6f144fc0 Mon Sep 17 00:00:00 2001 From: Rangi Date: Sun, 29 Jul 2018 16:00:11 -0400 Subject: 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. --- engine/items/tmhm.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/items') diff --git a/engine/items/tmhm.asm b/engine/items/tmhm.asm index d249d4688..38ffa865e 100644 --- a/engine/items/tmhm.asm +++ b/engine/items/tmhm.asm @@ -381,7 +381,7 @@ TMHM_DisplayPocketItems: ld [wTempTMHM], a .okay predef GetTMHMMove - ld a, [wTempTMHM] + ld a, [wNamedObjectIndexBuffer] ld [wPutativeTMHMMove], a call GetMoveName pop hl -- cgit v1.2.3