diff options
| author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2025-01-28 23:31:27 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-28 23:31:27 -0500 |
| commit | ec37f6117da6c550e70f466118731e8f752e3afb (patch) | |
| tree | 3dc48ad754a31ed08770943ff9053146f05b9cf9 /home | |
| parent | Miscellaneous cleanup (#488) (diff) | |
| download | pokeyellow-ec37f6117da6c550e70f466118731e8f752e3afb.tar.gz pokeyellow-ec37f6117da6c550e70f466118731e8f752e3afb.tar.xz pokeyellow-ec37f6117da6c550e70f466118731e8f752e3afb.zip | |
Consistently capitalize `ASSERT` directives (#489)
Diffstat (limited to 'home')
| -rw-r--r-- | home/list_menu.asm | 4 | ||||
| -rw-r--r-- | home/text_script.asm | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/home/list_menu.asm b/home/list_menu.asm index f04684a3..646e7b7f 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? diff --git a/home/text_script.asm b/home/text_script.asm index c1606371..f3015b66 100644 --- a/home/text_script.asm +++ b/home/text_script.asm @@ -1,7 +1,7 @@ ; this function is used to display sign messages, sprite dialog, etc. ; INPUT: [hSpriteIndex] = sprite ID or [hTextID] = text ID DisplayTextID:: - assert hSpriteIndex == hTextID ; these are at the same memory location + ASSERT hSpriteIndex == hTextID ; these are at the same memory location ldh a, [hLoadedROMBank] push af farcall DisplayTextIDInit ; initialization |
