1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-21 14:31:17 +00:00

Introducing Macros for BGM (Background Music) (#979)

* Import bgm Ids

* Small correction

* Fix kaleido

* Add defines for 0, 1, 0xFFFF. Fill in missing macros

* Improve names, move to bgm.h, add in macros to kankyo.c

* format

* Swap order of bgm macros and flags
This commit is contained in:
engineer124 2021-11-02 04:54:19 +11:00 committed by GitHub
parent fa7007d73b
commit 970513253b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
59 changed files with 369 additions and 171 deletions

View file

@ -294,7 +294,7 @@ void func_80A747C0(EnIk* this, GlobalContext* globalCtx) {
sp24.y += 30.0f;
func_8003424C(globalCtx, &sp24);
this->skelAnime.playSpeed = 1.0f;
func_800F5ACC(0x38);
func_800F5ACC(NA_BGM_MINI_BOSS);
}
if (this->skelAnime.curFrame == 5.0f) {
Audio_PlayActorSound2(&this->actor, NA_SE_EN_IRONNACK_WAKEUP);
@ -960,7 +960,7 @@ void func_80A76798(Actor* thisx, GlobalContext* globalCtx) {
}
void EnIk_StartMusic(void) {
func_800F5ACC(0x38);
func_800F5ACC(NA_BGM_MINI_BOSS);
}
void func_80A76C14(EnIk* this) {