2020-08-04 08:49:11 +02:00
|
|
|
#include "common.h"
|
|
|
|
|
2020-08-11 01:20:30 +02:00
|
|
|
void func_80035DF0(s16 arg0) {
|
|
|
|
s16* tempPtr = &D_800A0942;
|
2020-08-11 02:17:49 +02:00
|
|
|
*tempPtr = arg0;
|
2020-08-11 01:20:30 +02:00
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-08-17 19:44:41 +02:00
|
|
|
INCLUDE_ASM("code_111f0_len_860", func_80035E00);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-08-17 19:44:41 +02:00
|
|
|
INCLUDE_ASM("code_111f0_len_860", func_80035E24);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-08-17 19:44:41 +02:00
|
|
|
INCLUDE_ASM("code_111f0_len_860", func_80035E54);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-08-17 19:44:41 +02:00
|
|
|
INCLUDE_ASM("code_111f0_len_860", func_80035EEC);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-08-11 01:20:30 +02:00
|
|
|
void func_800360FC(void) {
|
2020-08-16 05:19:00 +02:00
|
|
|
GameStatus* gameStatus = *gGameStatusPtr;
|
2020-08-11 01:20:30 +02:00
|
|
|
|
2020-08-14 06:08:55 +02:00
|
|
|
if (gameStatus->loadMenuState == 2) {
|
2020-09-24 05:16:13 +02:00
|
|
|
draw_status_ui();
|
2020-08-11 01:20:30 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void func_80036130(void) {
|
2020-08-16 05:19:00 +02:00
|
|
|
GameStatus* gameStatus = *gGameStatusPtr;
|
2020-08-11 01:20:30 +02:00
|
|
|
|
2020-08-12 03:59:46 +02:00
|
|
|
gMapTransitionAlpha = 0x00;
|
2020-08-11 01:20:30 +02:00
|
|
|
D_800A0942 = 0x14;
|
|
|
|
D_800A0944 = 0x00;
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-08-14 06:08:55 +02:00
|
|
|
if (gameStatus->prevArea != gameStatus->areaID) {
|
|
|
|
gameStatus->changedArea = 1;
|
|
|
|
gameStatus->prevArea = gameStatus->areaID;
|
2020-08-12 04:08:48 +02:00
|
|
|
} else {
|
2020-08-14 06:08:55 +02:00
|
|
|
gameStatus->changedArea = 0;
|
2020-08-11 01:20:30 +02:00
|
|
|
}
|
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-08-17 19:44:41 +02:00
|
|
|
INCLUDE_ASM("code_111f0_len_860", func_8003617C);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-08-11 01:20:30 +02:00
|
|
|
s32 func_800363FC(void) {
|
|
|
|
s32 phi_return;
|
|
|
|
|
|
|
|
if ((D_800A0944 == 4) || (phi_return = 4, (D_800A0944 == 0))) {
|
2020-09-24 05:16:13 +02:00
|
|
|
phi_return = draw_status_ui();
|
2020-08-11 01:20:30 +02:00
|
|
|
}
|
|
|
|
return phi_return;
|
|
|
|
}
|
|
|
|
|
|
|
|
s32 func_80036430(void) {
|
2020-09-07 23:12:31 +02:00
|
|
|
PlayerStatus* playerStatus = &gPlayerStatus;
|
2020-08-11 01:20:30 +02:00
|
|
|
|
2020-08-12 03:59:46 +02:00
|
|
|
gMapTransitionAlpha = 0xFF;
|
2020-08-11 01:20:30 +02:00
|
|
|
D_800A0942 = 0x14;
|
|
|
|
D_800A0944 = 0x01;
|
2020-08-12 04:08:48 +02:00
|
|
|
|
2020-09-07 23:12:31 +02:00
|
|
|
playerStatus->flags |= 0x1000;
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-09-07 23:12:31 +02:00
|
|
|
return playerStatus->flags;
|
2020-08-11 01:20:30 +02:00
|
|
|
}
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-08-17 19:44:41 +02:00
|
|
|
INCLUDE_ASM("code_111f0_len_860", func_8003646C);
|
2020-08-04 08:49:11 +02:00
|
|
|
|
2020-08-11 01:20:30 +02:00
|
|
|
void func_80036640(void) {
|
|
|
|
}
|