ref: 418b73bc6d5c811bff464ee45a105b9c01248a89
parent: e56a9f7962fa2c17bad0fddc4cb27993111c177c
author: mid-kid <esteve.varela@gmail.com>
date: Tue Feb 15 13:27:12 EST 2022
Use constants for PartyAttr in move_effects/thief.asm
--- a/engine/battle/move_effects/thief.asm
+++ b/engine/battle/move_effects/thief.asm
@@ -96,7 +96,7 @@
jp StdBattleTextbox
.playeritem
- ld a, 1
+ ld a, MON_ITEM
call BattlePartyAttr
ld d, h
ld e, l
@@ -104,7 +104,7 @@
ret
.enemyitem
- ld a, 1
+ ld a, MON_ITEM
call OTPartyAttr
ld d, h
ld e, l