papermario/src/input.c
Ethan Roseman ed9727a34e
Various decomp, use of SCREEN_WIDTH and SCREEN_HEIGHT, etc (#340)
* 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
2021-07-23 03:48:30 +09:00

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);