summaryrefslogtreecommitdiff
path: root/src/object/stoneTablet.c
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2022-02-28 23:35:23 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2022-03-10 19:40:44 +0100
commitcffa1024ca98b517031dc6965717774e25e6482a (patch)
treeb63a0b91017c2207c96673c4808184fba6c6ba56 /src/object/stoneTablet.c
parent241c0312d93cb6940c1d5675dea4433c5a735a78 (diff)
Decompile Object74
Diffstat (limited to 'src/object/stoneTablet.c')
-rw-r--r--src/object/stoneTablet.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/object/stoneTablet.c b/src/object/stoneTablet.c
index 9216e9b8..ce0df01e 100644
--- a/src/object/stoneTablet.c
+++ b/src/object/stoneTablet.c
@@ -15,22 +15,17 @@ void StoneTablet(Entity* this) {
}
void sub_080979CC(Entity* this) {
- static const u8 gUnk_081232EC[] = {
- 0x22, 0x40, 0xFE, 0xFF, 0x22, 0x40, 0xFF, 0xFF, 0x22, 0x40, 0x0, 0x0, 0x22, 0x40, 0x1, 0x0, 0xFF, 0xFF,
- };
-
- static const u8 gUnk_081232FE[] = {
- 0x65, 0x40, 0xBF, 0xFF, 0x22, 0x40, 0xC0, 0xFF, 0x66, 0x40, 0xC1, 0xFF, 0x29,
- 0x40, 0xFF, 0xFF, 0x26, 0x40, 0x0, 0x0, 0x2A, 0x40, 0x1, 0x0, 0xFF, 0xFF,
- };
+ static const u16 gUnk_081232EC[] = { 0x4022, 0xfffe, 0x4022, 0xffff, 0x4022, 0x0, 0x4022, 0x1, 0xffff };
+ static const u16 gUnk_081232FE[] = { 0x4065, 0xffbf, 0x4022, 0xffc0, 0x4066, 0xffc1, 0x4029,
+ 0xffff, 0x4026, 0x0, 0x402a, 0x1, 0xffff };
this->action = 1;
this->spriteSettings.draw = 1;
if (this->type == 3) {
this->frameIndex = 0;
- sub_0801AF18(gUnk_081232FE, COORD_TO_TILE(this), this->collisionLayer);
+ SetMultipleTiles((u16*)gUnk_081232FE, COORD_TO_TILE(this), this->collisionLayer);
} else {
this->frameIndex = this->type;
- sub_0801AF18(gUnk_081232EC, COORD_TO_TILE(this), this->collisionLayer);
+ SetMultipleTiles((u16*)gUnk_081232EC, COORD_TO_TILE(this), this->collisionLayer);
}
}