summaryrefslogtreecommitdiff
path: root/src/use_pokeblock.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-06-28 15:54:22 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-06-28 15:54:22 -0400
commit27c5faf8e0e8a0f685ed61847a30eaf51b90c497 (patch)
tree8d0c2c64dd5eed7f9f30db1a190236ca9b2f8fa5 /src/use_pokeblock.c
parent01e4381ab71c4ebf49fd66d88bfc2833ba1bffc5 (diff)
Match sub_806CF04
Diffstat (limited to 'src/use_pokeblock.c')
-rw-r--r--src/use_pokeblock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/use_pokeblock.c b/src/use_pokeblock.c
index 8fff9edee..78b5db4a8 100644
--- a/src/use_pokeblock.c
+++ b/src/use_pokeblock.c
@@ -285,7 +285,7 @@ static void sub_8136294(void)
break;
case 13:
sub_80F2E18(0);
- gPokenavStructPtr->unk8768->pos2.y = 0xffd8;
+ gPokenavStructPtr->unk8768->y2 = 0xffd8;
gUnknown_02039304->unk50++;
break;
case 14:
@@ -857,9 +857,9 @@ static void sub_8137138(void)
static void sub_81371DC(struct Sprite *sprite)
{
if (sprite->data[0] <= 5)
- sprite->pos2.y -= 2;
+ sprite->y2 -= 2;
else if (sprite->data[0] <= 11)
- sprite->pos2.y += 2;
+ sprite->y2 += 2;
if ((++sprite->data[0]) > 60)
{
DestroySprite(sprite);