summaryrefslogtreecommitdiff
path: root/engine/give_pokemon.asm
diff options
context:
space:
mode:
authorDaniel Harding <corrnondacqb@yahoo.com>2015-07-16 14:36:48 -0500
committerDaniel Harding <corrnondacqb@yahoo.com>2015-07-16 14:36:48 -0500
commit9e77982bc8658c09df187b4598f8cbabb427a271 (patch)
treed88ff7a45f7b8a80a02f099052da9b4eb2e14d21 /engine/give_pokemon.asm
parentb1cb3788938fa981e65619f022a41f1c1d91ae3b (diff)
parentbd7d9815936decc5b636f4235c0ee745812dcb48 (diff)
Merge pull request #101 from YamaArashi/master
Misc changes
Diffstat (limited to 'engine/give_pokemon.asm')
-rwxr-xr-xengine/give_pokemon.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/give_pokemon.asm b/engine/give_pokemon.asm
index 0d451bf6..45e88b9c 100755
--- a/engine/give_pokemon.asm
+++ b/engine/give_pokemon.asm
@@ -16,7 +16,7 @@ _GivePokemon: ; 4fda5 (13:7da5)
call SetPokedexOwnedFlag
callab SendNewMonToBox
ld hl, wcf4b
- ld a, [wd5a0]
+ ld a, [wCurrentBoxNum]
and $7f
cp 9
jr c, .asm_4fdec