From 69788c536b70060c58136b07fb3a615b285de99c Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 20 Jul 2020 12:23:31 -0400 Subject: Add comments associating constants with data, and identify some more data --- home/list_menu.asm | 8 ++++---- home/names2.asm | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'home') diff --git a/home/list_menu.asm b/home/list_menu.asm index f8ddeeef..c856e91d 100644 --- a/home/list_menu.asm +++ b/home/list_menu.asm @@ -34,7 +34,7 @@ DisplayListMenuID:: hlcoord 4, 2 ; coordinates of upper left corner of menu text box lb de, 9, 14 ; height and width of menu text box ld a, [wListMenuID] - and a ; is it a PC pokemon list? + and a ; PCPOKEMONLISTMENU? jr nz, .skipMovingSprites call UpdateSprites .skipMovingSprites @@ -126,7 +126,7 @@ DisplayListMenuIDLoop:: ld a, [hl] ld [wcf91], a ld a, [wListMenuID] - and a ; is it a PC pokemon list? + and a ; PCPOKEMONLISTMENU? jr z, .pokemonList push hl call GetItemPrice @@ -374,7 +374,7 @@ PrintListMenuEntries:: push hl push de ld a, [wListMenuID] - and a + and a ; PCPOKEMONLISTMENU? jr z, .pokemonPCMenu cp MOVESLISTMENU jr z, .movesMenu @@ -422,7 +422,7 @@ PrintListMenuEntries:: call PrintBCDNumber .skipPrintingItemPrice ld a, [wListMenuID] - and a + and a ; PCPOKEMONLISTMENU? jr nz, .skipPrintingPokemonLevel .printPokemonLevel ld a, [wd11e] diff --git a/home/names2.asm b/home/names2.asm index 8f539c31..71f6c646 100644 --- a/home/names2.asm +++ b/home/names2.asm @@ -1,4 +1,5 @@ NamePointers:: +; entries correspond to *_NAME constants dw MonsterNames dw MoveNames dw UnusedNames -- cgit v1.3.1-sl0p