mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
ed9727a34e
* Update symbol_addrs * effects.h and cleanup * effect code generation! * func_80024A784 * state_step_demo * meh * work on gfx_task_main and cleanup * state_step_intro * set_custom_gfx
28 lines
628 B
C
28 lines
628 B
C
#include "common.h"
|
|
#include "nu/nusys.h"
|
|
|
|
extern OSContPad D_8009A5B8;
|
|
|
|
void func_800287F0(void) {
|
|
gGameStatusPtr->currentButtons = 0;
|
|
gGameStatusPtr->pressedButtons = 0;
|
|
gGameStatusPtr->heldButtons = 0;
|
|
gGameStatusPtr->stickX = 0;
|
|
gGameStatusPtr->stickY = 0;
|
|
gGameStatusPtr->prevButtons = 0;
|
|
gGameStatusPtr->unk_50[0] = 4;
|
|
gGameStatusPtr->unk_48[0] = 15;
|
|
gGameStatusPtr->unk_60 = 0;
|
|
gGameStatusPtr->unk_58 = 0;
|
|
}
|
|
|
|
void func_80028838(void) {
|
|
func_800287F0();
|
|
D_8009A6A0 = 0;
|
|
D_8009A6A2 = 0;
|
|
D_8009A6A4 = 0;
|
|
D_8009A6A6 = 0;
|
|
}
|
|
|
|
INCLUDE_ASM(s32, "input", update_input);
|