mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-30 19:40:31 -07:00
(cherry picked from commit e7ea2a3ae1
)
Co-authored-by: Rozelette <Rozelette@users.noreply.github.com>
This commit is contained in:
parent
c00edb928b
commit
43b7ca96d7
3 changed files with 6 additions and 3 deletions
|
@ -634,13 +634,13 @@ s32 func_80AF383C(EnRu2* this, GlobalContext* globalCtx) {
|
|||
void func_80AF3878(EnRu2* this, GlobalContext* globalCtx) {
|
||||
if (func_80AF383C(this, globalCtx) && !Gameplay_InCsMode(globalCtx)) {
|
||||
this->action = 16;
|
||||
OnePointCutscene_Init(globalCtx, 3130, -99, &this->actor, MAIN_CAM);
|
||||
this->subCamId = OnePointCutscene_Init(globalCtx, 3130, -99, &this->actor, MAIN_CAM);
|
||||
}
|
||||
}
|
||||
|
||||
void func_80AF38D0(EnRu2* this, GlobalContext* globalCtx) {
|
||||
this->action = 16;
|
||||
OnePointCutscene_Init(globalCtx, 3130, -99, &this->actor, MAIN_CAM);
|
||||
this->subCamId = OnePointCutscene_Init(globalCtx, 3130, -99, &this->actor, MAIN_CAM);
|
||||
}
|
||||
|
||||
void func_80AF390C(EnRu2* this, GlobalContext* globalCtx) {
|
||||
|
@ -703,6 +703,7 @@ void func_80AF3ADC(EnRu2* this, GlobalContext* globalCtx) {
|
|||
void func_80AF3B74(EnRu2* this, GlobalContext* globalCtx) {
|
||||
if (this->unk_2C0 > ((((u16)(kREG(3) + 0x28)) + ((u16)(kREG(2) + 0x96))) & 0xFFFF)) {
|
||||
Actor_Kill(&this->actor);
|
||||
OnePointCutscene_EndCutscene(globalCtx, this->subCamId);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -789,6 +790,7 @@ void EnRu2_Init(Actor* thisx, GlobalContext* globalCtx) {
|
|||
|
||||
this->unk_2C2 = 0;
|
||||
this->unk_2C3 = TEXT_STATE_DONE_FADING;
|
||||
this->subCamId = 0;
|
||||
}
|
||||
|
||||
void func_80AF3F14(EnRu2* this, GlobalContext* globalCtx) {
|
||||
|
|
|
@ -27,6 +27,7 @@ typedef struct EnRu2 {
|
|||
/* 0x02C3 */ u8 unk_2C3;
|
||||
/* 0x02C4 */ f32 unk_2C4;
|
||||
/* 0x02C8 */ ColliderCylinder collider;
|
||||
/* 0x02C8 */ s16 subCamId;
|
||||
} EnRu2; // size = 0x0314
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue