diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-04 19:43:19 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-10-04 20:10:31 -0400 |
commit | e128fbeadb6e9e6575581b7e5da03c9fee1ce2f6 (patch) | |
tree | e0ec2bc7bf359bf5e8e949237ed16c3e4246afc1 /engine/items | |
parent | 8443840f97d0bb15d7ba4c27a659d1a84547aba7 (diff) |
Identify some more unnamed labels
Diffstat (limited to 'engine/items')
-rw-r--r-- | engine/items/item_effects.asm | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm index 8cd5e864..a00aee8c 100644 --- a/engine/items/item_effects.asm +++ b/engine/items/item_effects.asm @@ -1345,17 +1345,16 @@ HealPowderEffect: jp c, StatusHealer_ExitMenu call UseStatusHealer + cp FALSE + jr nz, .not_used - cp $0 - jr nz, .asm_f01f ld c, HAPPINESS_BITTERPOWDER farcall ChangeHappiness - call LooksBitterMessage ld a, $0 -.asm_f01f +.not_used jp StatusHealer_Jumptable StatusHealingEffect: @@ -1369,7 +1368,7 @@ FullyHealStatus: UseStatusHealer: call IsMonFainted - ld a, $1 + ld a, TRUE ret z call GetItemHealingAction ld a, MON_STATUS @@ -1378,7 +1377,7 @@ UseStatusHealer: and c jr nz, .good call IsItemUsedOnConfusedMon - ld a, $1 + ld a, TRUE ret nc ld b, PARTYMENUTEXT_HEAL_CONFUSION .good @@ -1390,7 +1389,7 @@ UseStatusHealer: call Play_SFX_FULL_HEAL call ItemActionTextWaitButton call UseDisposableItem - ld a, $0 + ld a, FALSE ret IsItemUsedOnConfusedMon: @@ -1480,15 +1479,16 @@ RevivalHerbEffect: jp c, StatusHealer_ExitMenu call RevivePokemon - cp 0 - jr nz, .asm_f11b + cp FALSE + jr nz, .not_used ld c, HAPPINESS_REVIVALHERB farcall ChangeHappiness call LooksBitterMessage - ld a, 0 -.asm_f11b + ld a, $0 + +.not_used jp StatusHealer_Jumptable ReviveEffect: @@ -1501,7 +1501,7 @@ ReviveEffect: RevivePokemon: call IsMonFainted - ld a, 1 + ld a, TRUE ret nz ld a, [wBattleMode] and a @@ -1542,7 +1542,7 @@ RevivePokemon: ld [wPartyMenuActionText], a call ItemActionTextWaitButton call UseDisposableItem - ld a, 0 + ld a, FALSE ret FullRestoreEffect: |