summaryrefslogtreecommitdiff
path: root/engine/pokerus/check_pokerus.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/pokerus/check_pokerus.asm')
-rw-r--r--engine/pokerus/check_pokerus.asm25
1 files changed, 0 insertions, 25 deletions
diff --git a/engine/pokerus/check_pokerus.asm b/engine/pokerus/check_pokerus.asm
deleted file mode 100644
index 285024754..000000000
--- a/engine/pokerus/check_pokerus.asm
+++ /dev/null
@@ -1,25 +0,0 @@
-CheckPokerus: ; 4d860
-; Return carry if a monster in your party has Pokerus
-
-; Get number of monsters to iterate over
- ld a, [PartyCount]
- and a
- jr z, .NoPokerus
- ld b, a
-; Check each monster in the party for Pokerus
- ld hl, PartyMon1PokerusStatus
- ld de, PARTYMON_STRUCT_LENGTH
-.Check:
- ld a, [hl]
- and $0f ; only the bottom nybble is used
- jr nz, .HasPokerus
-; Next PartyMon
- add hl, de
- dec b
- jr nz, .Check
-.NoPokerus:
- and a
- ret
-.HasPokerus:
- scf
- ret