mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
* 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
19 lines
527 B
C++
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;
|
|
}
|
|
});
|
|
}
|