Add comments associating constants with data, and identify some more data

This commit is contained in:
Rangi 2020-07-20 12:23:31 -04:00
parent 0177688ad4
commit 69788c536b
45 changed files with 318 additions and 299 deletions

View file

@ -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]

View file

@ -1,4 +1,5 @@
NamePointers::
; entries correspond to *_NAME constants
dw MonsterNames
dw MoveNames
dw UnusedNames