summaryrefslogtreecommitdiff
path: root/src/object
diff options
context:
space:
mode:
authorReinmmar <herwig.orlich@gmail.com>2023-08-15 03:54:03 +0200
committerReinmmar <herwig.orlich@gmail.com>2023-08-15 03:54:03 +0200
commit1739e6205ad1803255eb9e73e4f7e42add7a3abd (patch)
tree2bee0ad46984771b6cb9b74f50b77d8acf240055 /src/object
parent355e125cacff0295ba280667c9361b85e2714758 (diff)
Labeled all unlabeled inputs(if I didn't miss any)
Diffstat (limited to 'src/object')
-rw-r--r--src/object/figurineDevice.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/object/figurineDevice.c b/src/object/figurineDevice.c
index 7cdfc32c..3c6bdb65 100644
--- a/src/object/figurineDevice.c
+++ b/src/object/figurineDevice.c
@@ -245,7 +245,7 @@ void FigurineDevice_Action4(FigurineDeviceEntity* this) {
if (super->timer != 0) {
super->timer--;
}
- if ((gInput.newKeys & 1) != 0) {
+ if ((gInput.newKeys & A_BUTTON) != 0) {
SoundReq(SFX_TEXTBOX_SELECT);
this->unk_7a = 2;
super->timer = 60;
@@ -254,7 +254,7 @@ void FigurineDevice_Action4(FigurineDeviceEntity* this) {
}
old_81 = this->unk_81;
#ifndef EU
- if ((gInput.heldKeys & 0x100) != 0) {
+ if ((gInput.heldKeys & R_BUTTON) != 0) {
tmp = 10;
} else {
tmp = 1;
@@ -264,10 +264,10 @@ void FigurineDevice_Action4(FigurineDeviceEntity* this) {
#else
switch (gInput.unk4 & 0xfffffeff) {
#endif
- case 0x40:
+ case DPAD_UP:
sub_08087F94(this, tmp);
break;
- case 0x80:
+ case DPAD_DOWN:
sub_08087F94(this, -tmp);
break;
}
@@ -276,10 +276,10 @@ void FigurineDevice_Action4(FigurineDeviceEntity* this) {
}
#else
switch (gInput.unk4) {
- case 0x40:
+ case DPAD_UP:
sub_08087F94(this, 1);
break;
- case 0x80:
+ case DPAD_DOWN:
sub_08087F94(this, -1);
break;
}