mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-10 01:44:36 +00:00
Decompile code_8008E6A0.c / Add CHECK_PAD macro (#156)
* Decompile code_8008E6A0.c * Delete "counter" file
This commit is contained in:
parent
9a478a96ec
commit
89b0977e39
16 changed files with 88 additions and 111 deletions
|
@ -1360,19 +1360,19 @@ s32 func_80058D34(Camera* camera) {
|
|||
|
||||
if (D_8011D394 == 0) {
|
||||
if (camera->globalCtx->activeCamera == 0) {
|
||||
if (~(D_8015BD7C->state.input[2].press.in.button | ~U_CBUTTONS) == 0) {
|
||||
if (CHECK_PAD(D_8015BD7C->state.input[2].press, U_CBUTTONS)) {
|
||||
osSyncPrintf("attention sound URGENCY\n");
|
||||
func_80078884(NA_SE_SY_ATTENTION_URGENCY);
|
||||
}
|
||||
if (~(D_8015BD7C->state.input[2].press.in.button | ~D_CBUTTONS) == 0) {
|
||||
if (CHECK_PAD(D_8015BD7C->state.input[2].press, D_CBUTTONS)) {
|
||||
osSyncPrintf("attention sound NORMAL\n");
|
||||
func_80078884(NA_SE_SY_ATTENTION_ON);
|
||||
}
|
||||
|
||||
if (~(D_8015BD7C->state.input[2].press.in.button | ~R_CBUTTONS) == 0) {
|
||||
if (CHECK_PAD(D_8015BD7C->state.input[2].press, R_CBUTTONS)) {
|
||||
phi_a2 = 1;
|
||||
}
|
||||
if (~(D_8015BD7C->state.input[2].press.in.button | ~L_CBUTTONS) == 0) {
|
||||
if (CHECK_PAD(D_8015BD7C->state.input[2].press, L_CBUTTONS)) {
|
||||
phi_a2 = -1;
|
||||
}
|
||||
if (phi_a2 != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue