papermario/src/code_3bf0_len_6f0.c

30 lines
717 B
C
Raw Normal View History

2020-08-04 08:49:11 +02:00
#include "common.h"
2020-09-07 23:12:31 +02:00
void func_800287F0(void) {
2020-09-08 22:15:51 +02:00
// TODO: Figure out macros
GameStatus* gameStatus;
2020-09-07 23:12:31 +02:00
GameStatus* gameStatus2;
2020-09-08 22:15:51 +02:00
gameStatus = *gGameStatusPtr;
2020-09-07 23:12:31 +02:00
gameStatus->stickX = 0;
gameStatus2 = *gGameStatusPtr;
gameStatus->currentButtons = 0;
gameStatus->pressedButtons = 0;
gameStatus->heldButtons = 0;
gameStatus2->stickY = 0;
2020-09-08 22:15:51 +02:00
// TODO: macro
{
GameStatus* gameStatus = *gGameStatusPtr;
gameStatus->prevButtons = 0;
gameStatus->unk_50 = 4;
gameStatus->unk_48 = 15;
gameStatus->unk_60 = 0;
gameStatus->unk_58 = 0;
}
2020-09-07 23:12:31 +02:00
}
2020-08-04 08:49:11 +02:00
INCLUDE_ASM("code_3bf0_len_6f0", func_80028838);
2020-08-04 08:49:11 +02:00
INCLUDE_ASM("code_3bf0_len_6f0", update_input);