diff options
Diffstat (limited to 'mm/2s2h/Enhancements/Masks/GoronRollingIgnoresMagic.cpp')
| -rw-r--r-- | mm/2s2h/Enhancements/Masks/GoronRollingIgnoresMagic.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mm/2s2h/Enhancements/Masks/GoronRollingIgnoresMagic.cpp b/mm/2s2h/Enhancements/Masks/GoronRollingIgnoresMagic.cpp index 307995288..fd34ad696 100644 --- a/mm/2s2h/Enhancements/Masks/GoronRollingIgnoresMagic.cpp +++ b/mm/2s2h/Enhancements/Masks/GoronRollingIgnoresMagic.cpp @@ -17,7 +17,10 @@ void RegisterGoronRollingIgnoresMagic() { COND_VB_SHOULD(VB_GORON_ROLL_CONSUME_MAGIC, CVAR, { *should = false; }); // Disable check for if the player has magic to increase spike level - COND_VB_SHOULD(VB_GORON_ROLL_INCREASE_SPIKE_LEVEL, CVAR, { *should = true; }); + COND_VB_SHOULD(VB_GORON_ROLL_INCREASE_SPIKE_LEVEL, CVAR, { + Player* player = GET_PLAYER(gPlayState); + *should = player->av2.actionVar2 >= 0x36B0; + }); // Mimicking the vanilla condition minus the magic check COND_VB_SHOULD(VB_GORON_ROLL_DISABLE_SPIKE_MODE, CVAR, { |
