diff options
| author | Tal Hayon <talhayon1@gmail.com> | 2022-07-19 04:16:54 +0300 |
|---|---|---|
| committer | Tal Hayon <talhayon1@gmail.com> | 2022-07-19 04:16:54 +0300 |
| commit | bb05f2da36bc4ade85c8f489d9d8365bb04645c5 (patch) | |
| tree | 1a902a71dc032d27a35007d85242c0b97d1b7d67 /src | |
| parent | 92287593acff2a4e01b68b0005b22aac44173157 (diff) | |
Match sub_08027A60
Diffstat (limited to 'src')
| -rw-r--r-- | src/enemy/chuchuBoss.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/enemy/chuchuBoss.c b/src/enemy/chuchuBoss.c index 9e586661..8595feef 100644 --- a/src/enemy/chuchuBoss.c +++ b/src/enemy/chuchuBoss.c @@ -1674,3 +1674,19 @@ bool32 sub_080279E8(ChuchuBossEntity* this) { } return FALSE; } + +void sub_08027A60(ChuchuBossEntity* this) { + int iVar1; + int iVar2; + u32 bVar3; + + if ((this->unk_7c & 0x80) != 0) { + this->unk_74.WORD += Q_16_16(0.25); + } else { + this->unk_74.WORD -= Q_16_16(0.25); + } + this->unk_7c++; + if ((this->unk_7c & 0x7f) == 0x28) { + this->unk_7c = (this->unk_7c & 0x80) ^ 0x80; + } +} |
