summaryrefslogtreecommitdiff
path: root/src/enemy/fallingBoulder.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2022-01-24 18:41:48 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2022-01-24 18:41:48 +0100
commitc7c6c6010c058dc4191daaf5fde446451f88484d (patch)
tree5fdb9bfc2a2ad3bfb951e59a3a4cbe1f4d3dc03a /src/enemy/fallingBoulder.c
parent97164d57cdbab0455d110cf811d6ae5254ceb871 (diff)
Decompile PushableLever
Diffstat (limited to 'src/enemy/fallingBoulder.c')
-rw-r--r--src/enemy/fallingBoulder.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/enemy/fallingBoulder.c b/src/enemy/fallingBoulder.c
index a9dfc7d6..3e81632d 100644
--- a/src/enemy/fallingBoulder.c
+++ b/src/enemy/fallingBoulder.c
@@ -137,14 +137,13 @@ void nullsub_148(Entity* this) {
/* ... */
}
-extern u32 sub_080001DA(u32, u32);
void sub_0802C4B0(Entity* this) {
u32 offset;
u32 index;
u32 rand;
- switch (sub_080001DA(this->field_0x7c.HALF_U.HI, this->collisionLayer)) {
+ switch (GetTileIndex(this->field_0x7c.HALF_U.HI, this->collisionLayer)) {
case 0x1ab ... 0x1af:
offset = 8;
break;