diff options
| author | luckytyphlosion <alan.rj.huang@gmail.com> | 2016-01-16 15:16:13 -0500 |
|---|---|---|
| committer | luckytyphlosion <alan.rj.huang@gmail.com> | 2016-01-16 15:16:13 -0500 |
| commit | 02598831824a605fe66fe09dcdef7ad399dc0d7d (patch) | |
| tree | f969d2a7916010308633f25c970610d1a484d981 /engine/items | |
| parent | 0962135bdbed24c53b58f8b1340b4a6d1af9ce27 (diff) | |
More bankF documentation.
PrintCriticalOHKOText to AdjustDamageForMoveType
Diffstat (limited to 'engine/items')
| -rwxr-xr-x | engine/items/items.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/items/items.asm b/engine/items/items.asm index 8a21de7c..e3e8eace 100755 --- a/engine/items/items.asm +++ b/engine/items/items.asm @@ -1693,9 +1693,9 @@ ItemUseXStat: ; df69 (3:df69) ld [wActionResultOrTookBattleTurn],a ; item not used ret .inBattle - ld hl,W_PLAYERMOVENUM + ld hl,wPlayerMoveNum ld a,[hli] - push af ; save [W_PLAYERMOVENUM] + push af ; save [wPlayerMoveNum] ld a,[hl] push af ; save [wPlayerMoveEffect] push hl @@ -1704,7 +1704,7 @@ ItemUseXStat: ; df69 (3:df69) ld [hl],a ; store player move effect call PrintItemUseTextAndRemoveItem ld a,XSTATITEM_ANIM ; X stat item animation ID - ld [W_PLAYERMOVENUM],a + ld [wPlayerMoveNum],a call LoadScreenTilesFromBuffer1 ; restore saved screen call Delay3 xor a @@ -1723,7 +1723,7 @@ ItemUseXStat: ; df69 (3:df69) pop af ld [hld],a ; restore [wPlayerMoveEffect] pop af - ld [hl],a ; restore [W_PLAYERMOVENUM] + ld [hl],a ; restore [wPlayerMoveNum] ret ItemUsePokeflute: ; dfbd (3:5fbd) |
