Identify more unnamed labels

This commit is contained in:
Rangi
2020-10-04 22:34:50 -04:00
parent e475ce6fda
commit d9603e3e33
9 changed files with 89 additions and 73 deletions

View File

@@ -346,11 +346,11 @@ TakePartyItem:
call GetPartyItemLocation
ld a, [hl]
and a
jr z, .asm_12c8c
jr z, .not_holding_item
ld [wCurItem], a
call ReceiveItemFromPokemon
jr nc, .asm_12c94
jr nc, .item_storage_full
farcall ItemIsMail
call GetPartyItemLocation
@@ -360,18 +360,18 @@ TakePartyItem:
call GetItemName
ld hl, PokemonTookItemText
call MenuTextboxBackup
jr .asm_12c9a
jr .done
.asm_12c8c
.not_holding_item
ld hl, PokemonNotHoldingText
call MenuTextboxBackup
jr .asm_12c9a
jr .done
.asm_12c94
.item_storage_full
ld hl, ItemStorageFullText
call MenuTextboxBackup
.asm_12c9a
.done
ret
GiveTakeItemMenuData: