2020-08-04 08:49:11 +02:00
|
|
|
#include "common.h"
|
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80148040);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_801480F0);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80148154);
|
2020-09-24 05:16:13 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_801481C4);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_801489B8);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_801491E4);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80149250);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-11-13 07:17:53 +01:00
|
|
|
void func_80149600(void) {
|
|
|
|
gCurrentDoorSoundsSet = 0;
|
|
|
|
D_80151308 = 0;
|
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80149618);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80149670);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80149734);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_801497FC);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80149828);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80149838);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_801498C4);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80149908);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80149974);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-11-07 20:44:44 +01:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_801499EC, s32 soundID, s32 arg1, f32 arg2, f32 arg3, f32 arg4);
|
2020-09-24 05:16:13 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80149A6C);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", _play_sound);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80149BE4);
|
2020-09-24 05:16:13 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", stop_sound);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-22 02:56:17 +02:00
|
|
|
void play_sound(s32 soundID) {
|
|
|
|
_play_sound(soundID, 0, 0, 0);
|
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-22 02:56:17 +02:00
|
|
|
void play_sound_at_player(s32 soundID, s32 arg1) {
|
|
|
|
PlayerStatus* playerStatus = &gPlayerStatus;
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-22 02:56:17 +02:00
|
|
|
play_sound_at_position(soundID, arg1, playerStatus->position.x, playerStatus->position.y, playerStatus->position.z);
|
|
|
|
}
|
|
|
|
|
|
|
|
void play_sound_at_npc(s32 soundID, s32 arg1, s32 npcID) {
|
|
|
|
Npc* npc = get_npc_safe(npcID);
|
|
|
|
|
|
|
|
if (npc != NULL) {
|
|
|
|
play_sound_at_position(soundID, arg1, npc->pos.x, npc->pos.y, npc->pos.z);
|
|
|
|
}
|
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", play_sound_at_position, s32 soundID, s32 value2, f32 posX, f32 posY,
|
2020-09-26 03:55:04 +02:00
|
|
|
f32 posZ);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80149E04);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_80149F58);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-25 23:18:09 +02:00
|
|
|
INCLUDE_ASM(s32, "code_de740_len_23f0", func_8014A1B4);
|