diff options
| author | Tal Hayon <talhayon1@gmail.com> | 2022-04-18 00:35:29 +0300 |
|---|---|---|
| committer | Tal Hayon <talhayon1@gmail.com> | 2022-04-18 00:35:29 +0300 |
| commit | b085c7c401358b682b720d1e89db004f0f59ae4d (patch) | |
| tree | bd07c215829668f976f39a2bfd5a296f2d09188e /src/object | |
| parent | 551c36849c528574da44d93e964fe8ded3d3307b (diff) | |
Put const data in lilypadSmall
Diffstat (limited to 'src/object')
| -rw-r--r-- | src/object/lilypadSmall.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/object/lilypadSmall.c b/src/object/lilypadSmall.c index 6cbd40e4..0a14f7f2 100644 --- a/src/object/lilypadSmall.c +++ b/src/object/lilypadSmall.c @@ -1,8 +1,6 @@ #include "object.h" #include "functions.h" -extern u16 gUnk_08123318[]; - static void sub_08097B24(Entity* this); static bool32 CheckMovePlayer(Entity* this); @@ -47,9 +45,12 @@ static bool32 CheckMovePlayer(Entity* this) { } static void sub_08097B24(Entity* this) { + static const u16 gUnk_08123318[] = { + 0x100, 0x101, 0x102, 0x101, 0x100, 0xff, 0xfe, 0xff, + }; u32 temp; u32 temp2; - u16* temp3; + const u16* temp3; if (--this->timer == 0) { this->timer = 90; |
