summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2022-07-16 08:54:50 +0300
committerTal Hayon <talhayon1@gmail.com>2022-07-16 08:54:50 +0300
commitae8dd3048a31a705d94d8a162e6d5ce0998c72a6 (patch)
treeb3858a388e7597fa17c861e25aa6e5b3ba381e81 /src
parente04505657e33275a4003cafb055523727f855181 (diff)
Match sub_080263B4
Diffstat (limited to 'src')
-rw-r--r--src/enemy/chuchuBoss.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/enemy/chuchuBoss.c b/src/enemy/chuchuBoss.c
index 9eac27a3..0ca3bf18 100644
--- a/src/enemy/chuchuBoss.c
+++ b/src/enemy/chuchuBoss.c
@@ -579,3 +579,18 @@ void sub_08026358(ChuchuBossEntity* this) {
}
}
}
+
+void sub_080263B4(ChuchuBossEntity* this) {
+ u32 bVar2;
+ u32 bVar3;
+
+ if (this->unk_7d-- == 0) {
+ bVar3 = this->unk_7d = gUnk_080CC234[this->unk_7c[0]++];
+ if ((bVar3 & 0xff) == 0xff) {
+ this->unk_7c[0] = 0x78;
+ this->unk_84->unk_03++;
+ } else {
+ CreateObjectWithParent(super, OBJECT_49, super->type2, 0);
+ }
+ }
+}