diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-07-25 12:51:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-25 12:51:51 -0400 |
commit | 1150e16b68c5e6fc2c7baf56ab061cea69d69953 (patch) | |
tree | 55aafd11c76cb39fe2a83cc7839f5b0f7d7efa9c /src/oak_speech.c | |
parent | cd8ac0ed9b9e9f53979409bf1a99d62132e5001b (diff) | |
parent | aec808ac0d6266dc1c96ecf1aca998a06b11db19 (diff) |
Merge pull request #450 from PikalaxALT/flatten_sprite_pos
Flatten pos fields in struct Sprite
Diffstat (limited to 'src/oak_speech.c')
-rw-r--r-- | src/oak_speech.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/oak_speech.c b/src/oak_speech.c index 3779090a3..753943b10 100644 --- a/src/oak_speech.c +++ b/src/oak_speech.c @@ -1000,7 +1000,7 @@ static void Task_OakSpeech16(u8 taskId) { if (data[0] < 24) { - gSprites[data[4]].pos1.y--; + gSprites[data[4]].y--; } data[0]--; } @@ -1630,7 +1630,7 @@ static void CreateNidoranFSprite(u8 taskId) static void SpriteCB_PikaSync(struct Sprite * sprite) { - sprite->pos2.y = gSprites[sprite->data[0]].animCmdIndex; + sprite->y2 = gSprites[sprite->data[0]].animCmdIndex; } static void CreatePikaOrGrassPlatformSpriteAndLinkToCurrentTask(u8 taskId, u8 state) |