diff options
| author | notyourav <65437533+notyourav@users.noreply.github.com> | 2022-01-12 10:35:01 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-12 10:35:01 -0800 |
| commit | 453e400945df6c9eea86ebbfa0fa851149eddb70 (patch) | |
| tree | 0d48305093afabf6c10a9499be54acc768828224 /src/enemy | |
| parent | 3cd77bb034288fff3a0e674de41217fe277b6804 (diff) | |
| parent | 5476829893eb610c84af2a31f39cade246d44cb5 (diff) | |
Merge pull request #281 from hatal175/sub_0806D5D4
Diffstat (limited to 'src/enemy')
| -rw-r--r-- | src/enemy/likeLike.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/enemy/likeLike.c b/src/enemy/likeLike.c index df692772..ca5f59e0 100644 --- a/src/enemy/likeLike.c +++ b/src/enemy/likeLike.c @@ -247,12 +247,12 @@ void sub_080281A0(Entity* this) { bool32 sub_080281E0(u32 param_1) { bool32 ret = FALSE; if (GetInventoryValue(param_1) == 1) { - if (ItemIsShield(gSave.stats.itemOnA)) { - gSave.stats.itemOnA = 0; + if (ItemIsShield(gSave.stats.itemButtons[SLOT_A])) { + gSave.stats.itemButtons[SLOT_A] = 0; } - if (ItemIsShield(gSave.stats.itemOnB)) { - gSave.stats.itemOnB = 0; + if (ItemIsShield(gSave.stats.itemButtons[SLOT_B])) { + gSave.stats.itemButtons[SLOT_B] = 0; } sub_0807CAA0(param_1, 0); |
