summaryrefslogtreecommitdiff
path: root/src/code/z_debug.c
diff options
context:
space:
mode:
authorpetrie911 <69443847+petrie911@users.noreply.github.com>2020-12-12 13:22:33 -0600
committerGitHub <noreply@github.com>2020-12-12 14:22:33 -0500
commit92e9f2d37073f90a5a92036603bbd5b696941c3b (patch)
tree68aa78d0f35c642c0ecea8185074806d8830189a /src/code/z_debug.c
parent3062045acdd81a885a616739a9956222302a9248 (diff)
Undefined Symbols in the ASM (#527)
* Darkmeiro decompilation Bg_Gnd_Darkmeiro decompiled, matched, and documented. * give this a shot * fix conflict * one more try * could be useful * whoops * ZAP2 stuff * ZAP why * ZAP again * now with more symbols
Diffstat (limited to 'src/code/z_debug.c')
-rw-r--r--src/code/z_debug.c23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/code/z_debug.c b/src/code/z_debug.c
index e585edc73..91137e190 100644
--- a/src/code/z_debug.c
+++ b/src/code/z_debug.c
@@ -151,16 +151,19 @@ void func_8006390C(Input* input) {
gGameInfo->dpadLast = dpad;
}
- increment = (CHECK_BTN_ANY(dpad, BTN_DRIGHT)) ? (CHECK_BTN_ALL(input->cur.button, BTN_A | BTN_B) ? 1000
- : CHECK_BTN_ALL(input->cur.button, BTN_A) ? 100
- : CHECK_BTN_ALL(input->cur.button, BTN_B) ? 10
- : 1)
- : (CHECK_BTN_ANY(dpad, BTN_DLEFT))
- ? (CHECK_BTN_ALL(input->cur.button, BTN_A | BTN_B) ? -1000
- : CHECK_BTN_ALL(input->cur.button, BTN_A) ? -100
- : CHECK_BTN_ALL(input->cur.button, BTN_B) ? -10
- : -1)
- : 0;
+ increment = (CHECK_BTN_ANY(dpad, BTN_DRIGHT))
+ ? (CHECK_BTN_ALL(input->cur.button, BTN_A | BTN_B)
+ ? 1000
+ : CHECK_BTN_ALL(input->cur.button, BTN_A)
+ ? 100
+ : CHECK_BTN_ALL(input->cur.button, BTN_B) ? 10 : 1)
+ : (CHECK_BTN_ANY(dpad, BTN_DLEFT))
+ ? (CHECK_BTN_ALL(input->cur.button, BTN_A | BTN_B)
+ ? -1000
+ : CHECK_BTN_ALL(input->cur.button, BTN_A)
+ ? -100
+ : CHECK_BTN_ALL(input->cur.button, BTN_B) ? -10 : -1)
+ : 0;
gGameInfo->data[gGameInfo->regCur + regGroup] += increment;
if (CHECK_BTN_ANY(dpad, BTN_DUP)) {