summaryrefslogtreecommitdiff
path: root/src/object/smallIceBlock.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2022-07-23 12:43:43 +0200
committeroctorock <79596758+octorock@users.noreply.github.com>2022-07-25 22:45:55 +0200
commit852effa474c159398014da736ade6f0fea454de7 (patch)
tree97da22c4758ca4156dc9fb7ac123c7a3b0a9e9f5 /src/object/smallIceBlock.c
parentccba86d292a0e4c8a0e07325ac4fb25e5a58dc89 (diff)
Rename objects
Diffstat (limited to 'src/object/smallIceBlock.c')
-rw-r--r--src/object/smallIceBlock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/object/smallIceBlock.c b/src/object/smallIceBlock.c
index 1a771c05..54a5bd7e 100644
--- a/src/object/smallIceBlock.c
+++ b/src/object/smallIceBlock.c
@@ -34,13 +34,13 @@ void SmallIceBlock_Action3(SmallIceBlockEntity*);
bool32 sub_0809953C(SmallIceBlockEntity*);
void sub_0809969C(SmallIceBlockEntity*);
-extern void (*const gUnk_08123734[])(SmallIceBlockEntity*);
+extern void (*const SmallIceBlock_Actions[])(SmallIceBlockEntity*);
extern const u16 gUnk_08123748[];
extern const u16 gUnk_08123750[];
void SmallIceBlock(SmallIceBlockEntity* this) {
if (super->type < 3) {
- gUnk_08123734[super->action](this);
+ SmallIceBlock_Actions[super->action](this);
} else {
sub_080996AC(this);
}
@@ -311,14 +311,14 @@ void sub_080996AC(SmallIceBlockEntity* this) {
}
GetNextFrame(super);
CopyPositionAndSpriteOffset(super->parent, super);
- super->y.HALF.HI += 1;
+ super->y.HALF.HI++;
super->spriteOffsetY -= 0x11;
} else {
super->spriteSettings.draw = 0;
}
}
-void (*const gUnk_08123734[])(SmallIceBlockEntity*) = {
+void (*const SmallIceBlock_Actions[])(SmallIceBlockEntity*) = {
SmallIceBlock_Init, SmallIceBlock_Action1, SmallIceBlock_Action2, SmallIceBlock_Action3, SmallIceBlock_Action4,
};
const u16 gUnk_08123748[] = {