papermario/src/code_7fd10_len_b40.c

32 lines
820 B
C
Raw Normal View History

2020-08-04 08:49:11 +02:00
#include "common.h"
2021-01-03 10:02:50 +01:00
extern s16 D_8010CD00;
void func_800E6860(void) {
PlayerStatus* playerStatus = PLAYER_STATUS;
if ((D_8010EBB0[0] != 0) && (D_8010EBB0[3] == 9)) {
Npc* partner = get_npc_unsafe(NpcId_PARTNER);
func_802DDEE4(0, -1, 7, 0, 0, 0, playerStatus->unk_0E, 0);
func_8003D624(partner, 7, playerStatus->unk_0E, 0, 0, 0, 0);
playerStatus->unk_0F = 0;
}
}
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_7fd10_len_b40", func_800E6904);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_7fd10_len_b40", can_pause);
2020-08-04 08:49:11 +02:00
2021-01-03 10:02:50 +01:00
void func_800E6B68(void) {
D_8010CD00 = 0;
}
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_7fd10_len_b40", setup_partner_popup);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_7fd10_len_b40", setup_item_popup);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_7fd10_len_b40", check_input_open_menus);
2020-08-04 08:49:11 +02:00
2020-09-25 23:18:09 +02:00
INCLUDE_ASM(s32, "code_7fd10_len_b40", check_input_status_menu);