Skip to content

Commit

Permalink
Revert -1 -> $ff changes in substatus.asm
Browse files Browse the repository at this point in the history
  • Loading branch information
Sha0den committed Sep 24, 2024
1 parent fb2b749 commit 915e498
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/home/substatus.asm
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ CountTurnDuelistPokemonWithActivePkmnPower::
ld c, $0
ld a, DUELVARS_ARENA_CARD
call GetTurnDuelistVariable
cp $ff
cp -1
jr z, .check_bench
call GetCardIDFromDeckIndex
ld a, [wTempPokemonID_ce7c]
Expand All @@ -553,7 +553,7 @@ CountTurnDuelistPokemonWithActivePkmnPower::
call GetTurnDuelistVariable
.next_bench_slot
ld a, [hli]
cp $ff
cp -1
jr z, .done
call GetCardIDFromDeckIndex
ld a, [wTempPokemonID_ce7c]
Expand Down Expand Up @@ -583,7 +583,7 @@ GetLoadedCard1RetreatCost::
call GetTurnDuelistVariable
.check_bench_loop
ld a, [hli]
cp $ff
cp -1
jr z, .no_more_bench
call GetCardIDFromDeckIndex
ld a, e
Expand Down Expand Up @@ -741,7 +741,7 @@ HandleDestinyBondSubstatus::
.check_hp
ld a, DUELVARS_ARENA_CARD
call GetNonTurnDuelistVariable
cp $ff
cp -1
ret z
ld a, DUELVARS_ARENA_CARD_HP
call GetNonTurnDuelistVariable
Expand Down

0 comments on commit 915e498

Please sign in to comment.