diff options
| author | octorock <79596758+octorock@users.noreply.github.com> | 2021-06-11 12:22:15 +0200 |
|---|---|---|
| committer | octorock <79596758+octorock@users.noreply.github.com> | 2021-07-04 16:03:58 +0200 |
| commit | fd640407bba87b9b69cd7707dcb88ae4f8014968 (patch) | |
| tree | 3b1e0b4e714d1f001746817f7e07cdfd90b5eee2 /src/object | |
| parent | 3664b4a37bfb48d2dc7f13597619ce2d48d8622b (diff) | |
Split item files
Diffstat (limited to 'src/object')
| -rw-r--r-- | src/object/greatFairy.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/object/greatFairy.c b/src/object/greatFairy.c index 9ad2c2a3..2a2cacf0 100644 --- a/src/object/greatFairy.c +++ b/src/object/greatFairy.c @@ -370,20 +370,17 @@ void sub_08087114(Entity* this) { } } -NONMATCH("asm/greatFairy/sub_08087150.inc", void sub_08087150(Entity* this)) { - u32 temp; - +void sub_08087150(Entity* this) { GreatFairy_InitializeAnimation(this); - this->spriteSettings.b.draw = TRUE; + this->spriteSettings.b.draw = 1; this->spriteOrientation.flipY = 0; - this->spriteRendering.b0 = 0; + this->spriteRendering.b3 = 0; this->spritePriority.b0 = 3; - this->speed = 128; + this->speed = 0x80; this->direction = 0x10; - temp = gUnk_0812079C[0]; - this->palette.raw = ((temp & 0xf) << 4) | 0xf; + this->palette.b.b4 = gUnk_0812079C[0]; + this->palette.b.b0 = gUnk_0812079C[0]; } -END_NONMATCH void nullsub_516(Entity* this) { } |
