summaryrefslogtreecommitdiff
path: root/src/ground.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2019-10-26 10:23:13 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2019-10-26 10:23:13 -0400
commit93f0703fcdda810062071fde4febe111146c18cc (patch)
tree241164c7e5fd5e71a9e3eca6eb8d6a918566d963 /src/ground.c
parentfd78afa5a7d4441fe0d76693e301deb6bc2557dc (diff)
parent1f569f0136952135a0e17fe22cf180c0e87dd007 (diff)
Merge branch 'master' of github.com:pret/pokefirered into script_menu
Diffstat (limited to 'src/ground.c')
-rw-r--r--src/ground.c3
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];