summaryrefslogtreecommitdiff
path: root/src/rock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rock.c')
-rw-r--r--src/rock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rock.c b/src/rock.c
index d39293547..3b8e505d8 100644
--- a/src/rock.c
+++ b/src/rock.c
@@ -431,7 +431,7 @@ void AnimTask_LoadSandstormBackground(u8 taskId)
}
static void sub_8110CB0(u8 taskId)
-{
+{
struct UnknownAnimStruct2 unknownStruct;
if (gTasks[taskId].data[0] == 0)
@@ -718,7 +718,7 @@ static void sub_8111214(struct Task *task)
x += (task->data[12] * 4);
spriteId = CreateSprite(spriteTemplate, x, y, 35);
- if (spriteId != 64)
+ if (spriteId != MAX_SPRITES)
{
gSprites[spriteId].data[0] = 18;
gSprites[spriteId].data[2] = ((task->data[12] * 20) + x) + (task->data[1] * 3);