summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2022-07-16 08:37:12 +0300
committerTal Hayon <talhayon1@gmail.com>2022-07-16 08:37:12 +0300
commitefa25f2da24a941282f952734e2c2ae830be386d (patch)
tree954cdd526fcd7df43eb4af6eac8f70266601458e /src
parentfeb2565528b60f06df0ce863f5ae8d06a3db0d36 (diff)
Match sub_080262A8
Diffstat (limited to 'src')
-rw-r--r--src/enemy/chuchuBoss.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/enemy/chuchuBoss.c b/src/enemy/chuchuBoss.c
index 87ab2a3d..f6a1e040 100644
--- a/src/enemy/chuchuBoss.c
+++ b/src/enemy/chuchuBoss.c
@@ -529,3 +529,23 @@ void sub_0802626C(ChuchuBossEntity* this) {
sub_08078B48();
}
}
+
+void sub_080262A8(ChuchuBossEntity* this) {
+ this->unk_80[2] = 0x90;
+ this->unk_80[1] = 0xb0;
+ this->unk_80[0] = 8;
+ super->timer = 1;
+ sub_080276F4(super, 6, 1);
+ if (super->type2 == 0) {
+ gPlayerState.animation = 0x104;
+ this->unk_84->unk_03 = 1;
+ } else {
+ this->unk_7c[0] = 0;
+ this->unk_7d = 0x1e;
+ this->unk_84->unk_03 = 3;
+ gPlayerEntity.animationState = 0;
+ gRoomControls.camera_target = super;
+ gRoomControls.unk5 = 1;
+ SetTile(0x4022, 0x2c8, 1);
+ }
+}