mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-23 15:31:15 +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:
parent
fa7007d73b
commit
970513253b
59 changed files with 369 additions and 171 deletions
|
@ -724,7 +724,7 @@ void func_80B154FC(EnTa* this, GlobalContext* globalCtx) {
|
|||
gSaveContext.eventInf[0] |= 0x100;
|
||||
Audio_QueueSeqCmd(NA_BGM_STOP);
|
||||
this->unk_2E0 &= ~0x200;
|
||||
func_800F5C64(0x39);
|
||||
func_800F5C64(NA_BGM_SMALL_ITEM_GET);
|
||||
return;
|
||||
case 2:
|
||||
this->actor.textId = 0x2083;
|
||||
|
@ -819,7 +819,7 @@ void func_80B15AD4(EnTa* this, GlobalContext* globalCtx) {
|
|||
Animation_GetLastFrame(&object_ta_Anim_00BF38), ANIMMODE_ONCE, 0.0f);
|
||||
this->unk_2CC = 50;
|
||||
func_80088B34(0x1E);
|
||||
func_800F5ACC(0x6C);
|
||||
func_800F5ACC(NA_BGM_MINI_GAME_2);
|
||||
this->unk_2E0 |= 0x200;
|
||||
func_80106CCC(globalCtx);
|
||||
func_8002DF54(globalCtx, &this->actor, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue