diff options
author | YamaArashi <shadow962@live.com> | 2015-02-08 00:17:03 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-02-08 00:17:03 -0800 |
commit | 1347023128e141dc4cfc71ee6bc689f909e96919 (patch) | |
tree | e9b5e0db057f8e912f479f7421144091458b2456 /engine/items/tmhm.asm | |
parent | 72bbaed99f725b2b8b0d2653968042ce1625354c (diff) |
move-related things
Diffstat (limited to 'engine/items/tmhm.asm')
-rwxr-xr-x | engine/items/tmhm.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/items/tmhm.asm b/engine/items/tmhm.asm index 01a48ebb..0fcc5710 100755 --- a/engine/items/tmhm.asm +++ b/engine/items/tmhm.asm @@ -1,12 +1,12 @@ -; checks if the mon in wWhichPokemon already knows the move in wd0e0 +; checks if the mon in [wWhichPokemon] already knows the move in [wMoveNum] CheckIfMoveIsKnown: ; 2fe18 (b:7e18) ld a, [wWhichPokemon] ld hl, wPartyMon1Moves - ld bc, $2c + ld bc, wPartyMon2 - wPartyMon1 call AddNTimes - ld a, [wd0e0] + ld a, [wMoveNum] ld b, a - ld c, $4 ; nubmer of moves + ld c, NUM_MOVES .loop ld a, [hli] cp b |