summaryrefslogtreecommitdiff
path: root/engine/battle/misc.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/misc.asm')
-rwxr-xr-xengine/battle/misc.asm19
1 files changed, 0 insertions, 19 deletions
diff --git a/engine/battle/misc.asm b/engine/battle/misc.asm
index 33af6f6f..df9145f2 100755
--- a/engine/battle/misc.asm
+++ b/engine/battle/misc.asm
@@ -101,22 +101,3 @@ InitList:
ld a, b
ld [wItemPrices + 1], a
ret
-
-; get species of mon e in list [wMonDataLocation] for LoadMonData
-GetMonSpecies:
- ld hl, wPartySpecies
- ld a, [wMonDataLocation]
- and a
- jr z, .getSpecies
- dec a
- jr z, .enemyParty
- ld hl, wBoxSpecies
- jr .getSpecies
-.enemyParty
- ld hl, wEnemyPartyMons
-.getSpecies
- ld d, 0
- add hl, de
- ld a, [hl]
- ld [wcf91], a
- ret