aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/give_pokemon.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2021-09-26 22:38:47 -0500
committerdannye <33dannye@gmail.com>2021-09-26 22:43:09 -0500
commit501a21fa5dc6f01c0563316c9cd209cccb1eef45 (patch)
treec2fe5cc6caa9d8117df3008031d7a26317058acb /engine/events/give_pokemon.asm
parentSwitch from Travis CI to GitHub Actions (diff)
parentFix typos (#334) (diff)
downloadpokeyellow-501a21fa5dc6f01c0563316c9cd209cccb1eef45.tar.gz
pokeyellow-501a21fa5dc6f01c0563316c9cd209cccb1eef45.tar.xz
pokeyellow-501a21fa5dc6f01c0563316c9cd209cccb1eef45.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'engine/events/give_pokemon.asm')
-rw-r--r--engine/events/give_pokemon.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/events/give_pokemon.asm b/engine/events/give_pokemon.asm
index a65f65cc..00c642bb 100644
--- a/engine/events/give_pokemon.asm
+++ b/engine/events/give_pokemon.asm
@@ -18,7 +18,7 @@ _GivePokemon::
callfar LoadEnemyMonData
call SetPokedexOwnedFlag
callfar SendNewMonToBox
- ld hl, wcf4b
+ ld hl, wStringBuffer
ld a, [wCurrentBoxNum]
and $7f
cp 9