Files
balloondude2andGitHub b7d7a2d9bf [Enhancement] Add option to always get the Cremia Hug Cutscene after completing the milk run (#688)
* Cremia always gives hugs after getting Romani Mask. Adds enhancement option but the option doesn't change anything yet

* moved cremia enhancement out of cutscene files

* hook works now

* change enhancement to picklist

* cleaned conditional

* move to minigame section and add modern menu item

* clang format
2024-10-08 23:26:13 -05:00

19 lines
527 B
C++

#include <libultraship/bridge.h>
#include "GameInteractor/GameInteractor.h"
#include "Enhancements/Enhancements.h"
extern "C" {
#include <z64save.h>
}
void RegisterCremiaHugs() {
REGISTER_VB_SHOULD(VB_PLAY_CREMIA_HUG_CUTSCENE, {
uint8_t selectedOption = CVarGetInteger("gEnhancements.Minigames.CremiaHugs", 0);
if (selectedOption == CREMIA_REWARD_ALWAYS_HUG) {
*should = true;
} else if (selectedOption == CREMIA_REWARD_ALWAYS_RUPEE) {
*should = false;
}
});
}