aboutsummaryrefslogtreecommitdiffstats
path: root/home/list_menu.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2025-01-30 21:40:19 -0600
committerdannye <33dannye@gmail.com>2025-01-30 21:40:19 -0600
commit6cb885a9f68b9f445d7fa45279731336fe0247d4 (patch)
tree39736ab1dd8ebcc57f8e981db6103285743d5530 /home/list_menu.asm
parentIdentify unnamed functions in map_sprites.asm (#126) (diff)
parentFix some label typos, and add some constants instead of raw numbers (#492) (diff)
downloadpokeyellow-6cb885a9f68b9f445d7fa45279731336fe0247d4.tar.gz
pokeyellow-6cb885a9f68b9f445d7fa45279731336fe0247d4.tar.xz
pokeyellow-6cb885a9f68b9f445d7fa45279731336fe0247d4.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'home/list_menu.asm')
-rw-r--r--home/list_menu.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/list_menu.asm b/home/list_menu.asm
index 095cae27..49ef07ea 100644
--- a/home/list_menu.asm
+++ b/home/list_menu.asm
@@ -129,7 +129,7 @@ DisplayListMenuIDLoop::
and a ; PCPOKEMONLISTMENU?
jr z, .pokemonList
; if it's an item menu
- assert wCurListMenuItem == wCurItem
+ ASSERT wCurListMenuItem == wCurItem
push hl
call GetItemPrice
pop hl
@@ -147,7 +147,7 @@ DisplayListMenuIDLoop::
call GetName
jr .storeChosenEntry
.pokemonList
- assert wCurListMenuItem == wCurPartySpecies
+ ASSERT wCurListMenuItem == wCurPartySpecies
ld hl, wPartyCount
ld a, [wListPointer]
cp l ; is it a list of party pokemon or box pokemon?