diff options
Diffstat (limited to 'mm/2s2h/Rando/ActorBehavior/EnGirlA.cpp')
| -rw-r--r-- | mm/2s2h/Rando/ActorBehavior/EnGirlA.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mm/2s2h/Rando/ActorBehavior/EnGirlA.cpp b/mm/2s2h/Rando/ActorBehavior/EnGirlA.cpp index 5f20dba6b..6ee339972 100644 --- a/mm/2s2h/Rando/ActorBehavior/EnGirlA.cpp +++ b/mm/2s2h/Rando/ActorBehavior/EnGirlA.cpp @@ -1,6 +1,7 @@ #include "ActorBehavior.h" #include <libultraship/bridge/consolevariablebridge.h> #include "2s2h/CustomMessage/CustomMessage.h" +#include "2s2h/Rando/MiscBehavior/Traps.h" extern "C" { #include "variables.h" @@ -67,6 +68,9 @@ void EnGirlA_RandoBuyFunc(PlayState* play, EnGirlA* enGirlA) { RandoItemId randoItemId = Rando::ConvertItem(randoSaveCheck.randoItemId, (RandoCheckId)enGirlA->actor.world.rot.z); randoSaveCheck.obtained = true; Rupees_ChangeBy(-play->msgCtx.unk1206C); + if (randoItemId == RI_TRAP) { + RollTrapType(); + } Rando::GiveItem(randoItemId); } |
