mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
Fill in bgm enums
This commit is contained in:
+6
-6
@@ -3895,10 +3895,10 @@ void func_801A0204(UNK_TYPE);
|
||||
// void func_801A1904(void);
|
||||
// void func_801A1A10(void);
|
||||
// void func_801A1A8C(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5, UNK_TYPE4 param_6);
|
||||
void func_801A1D44(Vec3f* vec, UNK_TYPE arg1, f32 arg2);
|
||||
void func_801A1DB8(Vec3f* vec, UNK_TYPE arg1, f32 arg2);
|
||||
void func_801A1D44(Vec3f* vec, u8 seqId, f32 arg2);
|
||||
void func_801A1DB8(Vec3f* vec, u8 seqId, f32 arg2);
|
||||
// void func_801A1E0C(void);
|
||||
void func_801A1F00(s32 arg0, s32 arg1);
|
||||
void func_801A1F00(u8 arg0, u16 seqId);
|
||||
void func_801A1F88(void);
|
||||
// void func_801A1FB4(void);
|
||||
// void func_801A2090(void);
|
||||
@@ -3916,15 +3916,15 @@ void func_801A2C20(void);
|
||||
// void func_801A2C44(void);
|
||||
// void func_801A2C88(void);
|
||||
// void func_801A2D54(void);
|
||||
s32 func_801A2DE0(UNK_TYPE4 arg1);
|
||||
s32 Audio_IsSequencePlaying(u8 seqId);
|
||||
void func_801A2E54(s32 param_1);
|
||||
void func_801A2ED8(void);
|
||||
// void func_801A2F88(void);
|
||||
// void func_801A3000(void);
|
||||
// void func_801A3038(void);
|
||||
void func_801A3098(u16 arg0);
|
||||
void func_801A3098(u16 seqId);
|
||||
// void func_801A312C(void);
|
||||
void func_801A31EC(UNK_TYPE1 arg1, UNK_TYPE4 arg2, u8 arg3);
|
||||
void func_801A31EC(u16 seqId, s8 arg1, u8 arg2);
|
||||
// void func_801A3238(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE1 param_5);
|
||||
// void func_801A32CC(void);
|
||||
// void func_801A3590(void);
|
||||
|
||||
@@ -296,7 +296,7 @@
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/code/code_8019AF00/func_801A2D54.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/code/code_8019AF00/func_801A2DE0.s")
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/code/code_8019AF00/Audio_IsSequencePlaying.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/code/code_8019AF00/func_801A2E54.s")
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ void GameOver_Update(GlobalContext* globalCtx) {
|
||||
gameOverCtx->state = GAMEOVER_DEATH_WAIT_GROUND;
|
||||
break;
|
||||
case GAMEOVER_DEATH_FADE_OUT:
|
||||
if (func_801A8A50(1) != 32) {
|
||||
if (func_801A8A50(1) != NA_BGM_GAME_OVER) {
|
||||
func_80169F78(globalCtx);
|
||||
if (gSaveContext.respawnFlag != -7) {
|
||||
gSaveContext.respawnFlag = -6;
|
||||
|
||||
+1
-1
@@ -449,7 +449,7 @@ void Scene_HeaderCmdSoundSettings(GlobalContext* globalCtx, SceneCmd* cmd) {
|
||||
globalCtx->soundCtx.seqIndex = cmd->soundSettings.musicSeq;
|
||||
globalCtx->soundCtx.nightSeqIndex = cmd->soundSettings.nighttimeSFX;
|
||||
|
||||
if (gSaveContext.seqIndex == 0xFF || func_801A8A50(0) == 0x57) {
|
||||
if (gSaveContext.seqIndex == 0xFF || func_801A8A50(0) == NA_BGM_FINAL_HOURS) {
|
||||
audio_setBGM(cmd->soundSettings.bgmId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1005,7 +1005,7 @@ void func_809DAB78(Boss02* this, GlobalContext* globalCtx) {
|
||||
}
|
||||
|
||||
if (spB0->unk_0144 >= 10) {
|
||||
Audio_QueueSeqCmd(0x8021);
|
||||
Audio_QueueSeqCmd(NA_BGM_BOSS_CLEAR | 0x8000);
|
||||
}
|
||||
|
||||
Audio_PlayActorSound2(&this->actor, NA_SE_EN_INBOSS_DEAD_OLD);
|
||||
@@ -1342,7 +1342,7 @@ void func_809DC78C(Actor* thisx, GlobalContext* globalCtx) {
|
||||
if (D_809E0430 != 0) {
|
||||
D_809E0430--;
|
||||
if (D_809E0430 == 0) {
|
||||
Audio_QueueSeqCmd(0x801B);
|
||||
Audio_QueueSeqCmd(NA_BGM_BOSS | 0x8000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -449,7 +449,7 @@ void EnBigpo_SpawnCutsceneStage6(EnBigpo* this, GlobalContext* globalCtx) {
|
||||
void EnBigpo_SpawnCutsceneStage7(EnBigpo* this) {
|
||||
this->idleTimer = 15;
|
||||
if (this->unkBool204 == false) {
|
||||
func_801A2E54(0x38);
|
||||
func_801A2E54(NA_BGM_MINI_BOSS);
|
||||
this->unkBool204 = true;
|
||||
}
|
||||
this->actionFunc = EnBigpo_SpawnCutsceneStage8;
|
||||
@@ -535,7 +535,7 @@ void EnBigpo_WarpingIn(EnBigpo* this, GlobalContext* globalCtx) {
|
||||
if (this->idleTimer == 32) {
|
||||
this->mainColor.a = 255; // fully visible
|
||||
if (this->unkBool204 == false) {
|
||||
func_801A2E54(0x38);
|
||||
func_801A2E54(NA_BGM_MINI_BOSS);
|
||||
this->unkBool204 = true;
|
||||
}
|
||||
EnBigpo_SetupIdleFlying(this);
|
||||
|
||||
@@ -528,7 +528,7 @@ void func_8089B3D4(EnDinofos* this, GlobalContext* globalCtx) {
|
||||
Math_Vec3f_StepTo(&camera->eye, &this->unk_2BC, 10.0f);
|
||||
this->unk_290++;
|
||||
if (this->unk_290 == 10) {
|
||||
func_801A2E54(0x38);
|
||||
func_801A2E54(NA_BGM_MINI_BOSS);
|
||||
}
|
||||
|
||||
sp28.x = this->actor.world.pos.x;
|
||||
@@ -547,7 +547,7 @@ void func_8089B3D4(EnDinofos* this, GlobalContext* globalCtx) {
|
||||
|
||||
void func_8089B4A4(EnDinofos* this) {
|
||||
if (this->unk_290 < 10) {
|
||||
func_801A2E54(0x38);
|
||||
func_801A2E54(NA_BGM_MINI_BOSS);
|
||||
}
|
||||
Animation_PlayOnce(&this->skelAnime, &D_0600C974);
|
||||
this->unk_2BC.x = (Math_SinS(this->actor.shape.rot.y + 0x200) * 123.0f) + this->actor.world.pos.x;
|
||||
|
||||
@@ -464,7 +464,7 @@ void EnElforg_FreeFloating(EnElforg* this, GlobalContext* globalCtx) {
|
||||
gSaveContext.inventory.strayFairies[gSaveContext.unk_48C8]++;
|
||||
func_801518B0(globalCtx, 0x11, NULL);
|
||||
if (gSaveContext.inventory.strayFairies[(void)0, gSaveContext.unk_48C8] >= 15) {
|
||||
func_801A3098(0x922);
|
||||
func_801A3098(NA_BGM_ITEM_GET | 0x900);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -804,7 +804,7 @@ void func_80962F4C(EnFu* this, GlobalContext* globalCtx) {
|
||||
func_801A2C20();
|
||||
gSaveContext.unk_3DE0[4] = 0;
|
||||
gSaveContext.unk_3DD0[4] = 5;
|
||||
func_801A3098(0x922);
|
||||
func_801A3098(NA_BGM_ITEM_GET | 0x900);
|
||||
func_8011B4E0(globalCtx, 1);
|
||||
this->unk_54A = 3;
|
||||
func_809632D0(this);
|
||||
|
||||
@@ -339,12 +339,12 @@ void EnGuruguru_Update(Actor* thisx, GlobalContext* globalCtx) {
|
||||
|
||||
if (this->actor.params == 2) {
|
||||
if (fabsf(player->actor.world.pos.y - this->actor.world.pos.y) < 100.0f) {
|
||||
func_801A1DB8(&this->actor.projectedPos, 0x2E, 540.0f);
|
||||
func_801A1DB8(&this->actor.projectedPos, NA_BGM_FUSHA, 540.0f);
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (fabsf(player->actor.world.pos.y - this->actor.world.pos.y) < 200.0f) {
|
||||
func_801A1D44(&this->actor.projectedPos, 0x2E, 540.0f);
|
||||
func_801A1D44(&this->actor.projectedPos, NA_BGM_FUSHA, 540.0f);
|
||||
}
|
||||
if (this->unusedTimer != 0) {
|
||||
this->unusedTimer--;
|
||||
|
||||
@@ -1699,7 +1699,7 @@ void func_80B4627C(EnInvadepoh* this, GlobalContext* globalCtx) {
|
||||
} else {
|
||||
func_80B454BC(this, globalCtx);
|
||||
func_80B452EC(this, globalCtx);
|
||||
Audio_QueueSeqCmd(0x800D);
|
||||
Audio_QueueSeqCmd(NA_BGM_UFO | 0x8000);
|
||||
func_80B46F88(this);
|
||||
}
|
||||
} else if (D_80B4E940 == 3) {
|
||||
@@ -1987,7 +1987,7 @@ void func_80B46EE8(EnInvadepoh* this, GlobalContext* globalCtx) {
|
||||
this->actionTimer--;
|
||||
if (this->actionTimer <= 0) {
|
||||
ActorCutscene_Stop(D_80B50404[0]);
|
||||
Audio_QueueSeqCmd(0x800D);
|
||||
Audio_QueueSeqCmd(NA_BGM_UFO | 0x8000);
|
||||
func_80B46F88(this);
|
||||
}
|
||||
}
|
||||
@@ -2036,7 +2036,7 @@ void func_80B470E0(EnInvadepoh* this) {
|
||||
|
||||
void func_80B47108(EnInvadepoh* this, GlobalContext* globalCtx) {
|
||||
if (this->actionTimer == 100) {
|
||||
func_801A3098(0x19);
|
||||
func_801A3098(NA_BGM_EVENT_CLEAR);
|
||||
}
|
||||
this->actionTimer--;
|
||||
if (this->actionTimer <= 0) {
|
||||
|
||||
@@ -751,7 +751,7 @@ void EnMa4_SetupHorsebackGameEnd(EnMa4* this, GlobalContext* globalCtx) {
|
||||
gSaveContext.weekEventReg[0x8] &= (u8)~0x01;
|
||||
this->actionFunc = EnMa4_HorsebackGameEnd;
|
||||
Audio_QueueSeqCmd(NA_BGM_STOP);
|
||||
Audio_QueueSeqCmd(0x8041);
|
||||
Audio_QueueSeqCmd(NA_BGM_HORSE_GOAL | 0x8000);
|
||||
}
|
||||
|
||||
void EnMa4_HorsebackGameEnd(EnMa4* this, GlobalContext* globalCtx) {
|
||||
|
||||
@@ -903,7 +903,7 @@ void EnMaYto_SetupAfterMilkRunInit(EnMaYto* this) {
|
||||
if (gSaveContext.weekEventReg[0x34] & 1) { // if (ProtectedCremia)
|
||||
EnMaYto_SetFaceExpression(this, 3, 1);
|
||||
} else {
|
||||
func_801A3098(9);
|
||||
func_801A3098(NA_BGM_FAILURE_1);
|
||||
EnMaYto_SetFaceExpression(this, 5, 2);
|
||||
}
|
||||
this->actionFunc = EnMaYto_AfterMilkRunInit;
|
||||
|
||||
@@ -462,7 +462,7 @@ void EnMinifrog_BeginChoirCutscene(EnMinifrog* this, GlobalContext* globalCtx) {
|
||||
ActorCutscene_Start(this->actor.cutscene, &this->actor);
|
||||
this->actionFunc = EnMinifrog_SetupNextFrogChoir;
|
||||
this->timer = 5;
|
||||
func_801A1F00(3, 0x5A);
|
||||
func_801A1F00(3, NA_BGM_FROG_SONG);
|
||||
this->flags |= 0x100;
|
||||
globalCtx->setPlayerTalkAnim(globalCtx, &D_0400E2A8, 0);
|
||||
} else {
|
||||
|
||||
@@ -367,7 +367,7 @@ void func_8095AE60(EnOwl* this, GlobalContext* globalCtx) {
|
||||
void func_8095AEC0(EnOwl* this, GlobalContext* globalCtx) {
|
||||
func_8095A920(this, globalCtx);
|
||||
if (func_8095A978(this, globalCtx, 0x7D0, 360.0f, 200.0f)) {
|
||||
func_801A3098(0x45);
|
||||
func_801A3098(NA_BGM_OWL);
|
||||
this->actionFunc = func_8095AE60;
|
||||
}
|
||||
}
|
||||
@@ -396,7 +396,7 @@ void func_8095AF2C(EnOwl* this, GlobalContext* globalCtx) {
|
||||
void func_8095AFEC(EnOwl* this, GlobalContext* globalCtx) {
|
||||
func_8095A920(this, globalCtx);
|
||||
if (func_8095A978(this, globalCtx, 0xBF6, 200.0f, 100.0f)) {
|
||||
func_801A3098(0x45);
|
||||
func_801A3098(NA_BGM_OWL);
|
||||
this->actionFunc = func_8095AF2C;
|
||||
this->unk_406 = 0;
|
||||
this->actionFlags |= 0x40;
|
||||
@@ -511,7 +511,7 @@ void func_8095B574(EnOwl* this, GlobalContext* globalCtx) {
|
||||
func_8095A920(this, globalCtx);
|
||||
if (func_800B84D0(&this->actor, globalCtx)) {
|
||||
this->actionFunc = func_8095BA84;
|
||||
func_801A3098(0x45);
|
||||
func_801A3098(NA_BGM_OWL);
|
||||
this->actionFlags |= 0x40;
|
||||
this->unk_406 = 2;
|
||||
} else if (this->actor.xzDistToPlayer < 200.0f) {
|
||||
@@ -721,7 +721,7 @@ void func_8095BE0C(EnOwl* this, GlobalContext* globalCtx) {
|
||||
func_8095A920(this, globalCtx);
|
||||
if (func_800B84D0(&this->actor, globalCtx)) {
|
||||
this->actionFunc = func_8095BA84;
|
||||
func_801A3098(0x45);
|
||||
func_801A3098(NA_BGM_OWL);
|
||||
this->unk_406 = 1;
|
||||
this->actionFlags |= 0x40;
|
||||
} else if (this->actor.textId == 0xBF0) {
|
||||
|
||||
@@ -1054,7 +1054,7 @@ void EnPametfrog_LookAround(EnPametfrog* this, GlobalContext* globalCtx) {
|
||||
this->actor.shape.rot.y = this->actor.world.rot.y;
|
||||
if (SkelAnime_Update(&this->skelAnime) && (func_801690CC(globalCtx) == 0)) {
|
||||
if (!this->unk_2AE) {
|
||||
func_801A2E54(0x38);
|
||||
func_801A2E54(NA_BGM_MINI_BOSS);
|
||||
this->unk_2AE = true;
|
||||
}
|
||||
EnPametfrog_SetupJumpToLink(this);
|
||||
@@ -1274,7 +1274,7 @@ void EnPametfrog_SetupTransitionGekkoSnapper(EnPametfrog* this, GlobalContext* g
|
||||
|
||||
void EnPametfrog_TransitionGekkoSnapper(EnPametfrog* this, GlobalContext* globalCtx) {
|
||||
if (this->actor.params == GEKKO_INIT_SNAPPER) {
|
||||
func_801A2E54(0x38);
|
||||
func_801A2E54(NA_BGM_MINI_BOSS);
|
||||
EnPametfrog_SetupRunToSnapper(this);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1142,7 +1142,7 @@ void func_80BAD230(EnSuttari* this, GlobalContext* globalCtx) {
|
||||
this->textId = 0x2A31;
|
||||
func_801518B0(globalCtx, this->textId, &this->actor);
|
||||
this->flags1 |= 0x4000;
|
||||
Audio_QueueSeqCmd(0x8003);
|
||||
Audio_QueueSeqCmd(NA_BGM_CHASE | 0x8000);
|
||||
this->actionFunc = func_80BAD380;
|
||||
} else {
|
||||
ActorCutscene_SetIntentToPlay(this->cutscenes[1]);
|
||||
|
||||
@@ -1160,7 +1160,7 @@ void func_809C898C(EnSyatekiMan* this, GlobalContext* globalCtx) {
|
||||
func_801A2C20();
|
||||
this->actionFunc = func_809C8BF0;
|
||||
if (this->unk_280 == 50) {
|
||||
func_801A3098(0x922);
|
||||
func_801A3098(NA_BGM_ITEM_GET | 0x900);
|
||||
func_8011B4E0(globalCtx, 1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -612,7 +612,7 @@ s32 func_80BA47E0(EnToto* this, GlobalContext* globalCtx) {
|
||||
|
||||
s32 func_80BA49A4(EnToto* this, GlobalContext* globalCtx) {
|
||||
func_800B7298(globalCtx, NULL, 0x44);
|
||||
func_801A31EC(0x54, 4, this->unk2B3 ^ 0xF);
|
||||
func_801A31EC(NA_BGM_QUARTET, 4, this->unk2B3 ^ 0xF);
|
||||
this->unk2B1 = 4;
|
||||
return 0;
|
||||
}
|
||||
@@ -621,8 +621,8 @@ s32 func_80BA4A00(EnToto* this, GlobalContext* globalCtx) {
|
||||
Actor* actor;
|
||||
|
||||
if (DECR(this->unk2B1) == 0) {
|
||||
if (!func_801A2DE0(0x54)) {
|
||||
actor = (Actor*)GET_PLAYER(globalCtx); // Needed for regalloc, possible FAKE MATCH
|
||||
if (!Audio_IsSequencePlaying(NA_BGM_QUARTET)) {
|
||||
actor = &GET_PLAYER(globalCtx)->actor;
|
||||
actor = actor->next;
|
||||
while (actor != NULL) {
|
||||
Actor_MarkForDeath(actor);
|
||||
|
||||
@@ -3951,7 +3951,7 @@
|
||||
0x801A2C44:("func_801A2C44",),
|
||||
0x801A2C88:("func_801A2C88",),
|
||||
0x801A2D54:("func_801A2D54",),
|
||||
0x801A2DE0:("func_801A2DE0",),
|
||||
0x801A2DE0:("Audio_IsSequencePlaying",),
|
||||
0x801A2E54:("func_801A2E54",),
|
||||
0x801A2ED8:("func_801A2ED8",),
|
||||
0x801A2F88:("func_801A2F88",),
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user