diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-10-26 06:45:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-26 06:45:00 -0400 |
commit | eafb77fbb912d22294f168c1e6e89575b35f0d6c (patch) | |
tree | 286f735ca16bd576926197f4f6a80ab6f0c24dc4 /src/ground.c | |
parent | 7579fc65c12bd46c045d10eb8cd9a2320fd1f3f0 (diff) | |
parent | 0ae4d58e985dcc3d265ea30505f439c34eab21ab (diff) |
Merge pull request #125 from jiangzhengwenjz/battle
battle (3rd take)
Diffstat (limited to 'src/ground.c')
-rw-r--r-- | src/ground.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ground.c b/src/ground.c index 4ae4d8370..97f42e5c5 100644 --- a/src/ground.c +++ b/src/ground.c @@ -416,8 +416,7 @@ static void sub_80B91B0(u8 taskId) task->data[12] = gBattle_BG1_X; else task->data[12] = gBattle_BG2_X; - - var0 = GetBattlerYCoordWithElevation(gBattleAnimAttacker); + var0 = GetBattlerYCoordWithElevation(gBattleAnimAttacker); task->data[14] = var0 - 32; task->data[15] = var0 + 32; ++task->data[0]; |