diff options
| author | Reinmmar <herwig.orlich@gmail.com> | 2023-08-15 03:54:03 +0200 |
|---|---|---|
| committer | Reinmmar <herwig.orlich@gmail.com> | 2023-08-15 03:54:03 +0200 |
| commit | 1739e6205ad1803255eb9e73e4f7e42add7a3abd (patch) | |
| tree | 2bee0ad46984771b6cb9b74f50b77d8acf240055 /src/object | |
| parent | 355e125cacff0295ba280667c9361b85e2714758 (diff) | |
Labeled all unlabeled inputs(if I didn't miss any)
Diffstat (limited to 'src/object')
| -rw-r--r-- | src/object/figurineDevice.c | 12 |
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; } |
