summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2022-02-15 18:52:44 +0100
committermid-kid <esteve.varela@gmail.com>2022-02-15 18:52:44 +0100
commitc43b1f71944a64ae45e2a86d4f81e7046e51bcc9 (patch)
tree8a2e75c62d630923d477c8dee81f0c79cb4093cb
parentb74d56462cab3bc76df6bb49ac036401a04cde4f (diff)
Use constants for PartyAttr in move_effects/thief.asm
-rw-r--r--engine/battle/move_effects/thief.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/move_effects/thief.asm b/engine/battle/move_effects/thief.asm
index 03e3fb6a..73bbf595 100644
--- a/engine/battle/move_effects/thief.asm
+++ b/engine/battle/move_effects/thief.asm
@@ -96,7 +96,7 @@ BattleCommand_Thief:
jp StdBattleTextbox
.playeritem
- ld a, 1
+ ld a, MON_ITEM
call BattlePartyAttr
ld d, h
ld e, l
@@ -104,7 +104,7 @@ BattleCommand_Thief:
ret
.enemyitem
- ld a, 1
+ ld a, MON_ITEM
call OTPartyAttr
ld d, h
ld e, l