mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 06:13:45 -07:00
TEXT_BIG_POE_COLLECTED_RANDO
This commit is contained in:
parent
a440c5dbf7
commit
ee8f1d88cd
4 changed files with 8 additions and 1 deletions
|
@ -162,6 +162,7 @@ typedef enum {
|
||||||
TEXT_ANJU_THANKS_FOR_FINDING_MY_CUCCOS = 0x503B,
|
TEXT_ANJU_THANKS_FOR_FINDING_MY_CUCCOS = 0x503B,
|
||||||
TEXT_ANJU_ROUND_THEM_UP_OR_YOULL_PAY = 0x503C,
|
TEXT_ANJU_ROUND_THEM_UP_OR_YOULL_PAY = 0x503C,
|
||||||
TEXT_ANJU_DONT_TEASE_MY_CUCCOS = 0x503D,
|
TEXT_ANJU_DONT_TEASE_MY_CUCCOS = 0x503D,
|
||||||
|
TEXT_BIG_POE_COLLECTED_RANDO = 0x5090,
|
||||||
TEXT_HBA_NOT_ON_HORSE = 0x603F,
|
TEXT_HBA_NOT_ON_HORSE = 0x603F,
|
||||||
TEXT_HBA_INITIAL_EXPLAINATION = 0x6040,
|
TEXT_HBA_INITIAL_EXPLAINATION = 0x6040,
|
||||||
TEXT_HBA_WANT_TO_TRY_AGAIN_YES_NO = 0x6041,
|
TEXT_HBA_WANT_TO_TRY_AGAIN_YES_NO = 0x6041,
|
||||||
|
|
|
@ -1082,7 +1082,7 @@ void RandomizerOnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, va_l
|
||||||
}
|
}
|
||||||
case VB_BOTTLE_BIG_POE: {
|
case VB_BOTTLE_BIG_POE: {
|
||||||
EnPoField* enPoe = va_arg(args, EnPoField*);
|
EnPoField* enPoe = va_arg(args, EnPoField*);
|
||||||
enPoe->actor.textId = 0x508F;
|
enPoe->actor.textId = 0x5090;
|
||||||
Flags_SetSwitch(gPlayState, enPoe->actor.params & 0xFF);
|
Flags_SetSwitch(gPlayState, enPoe->actor.params & 0xFF);
|
||||||
HIGH_SCORE(HS_POE_POINTS) += 100;
|
HIGH_SCORE(HS_POE_POINTS) += 100;
|
||||||
if (HIGH_SCORE(HS_POE_POINTS) > 1100) {
|
if (HIGH_SCORE(HS_POE_POINTS) > 1100) {
|
||||||
|
|
|
@ -2436,6 +2436,9 @@ extern "C" int CustomMessage_RetrieveIfExists(PlayState* play) {
|
||||||
CustomMessageManager::Instance->RetrieveMessage(customMessageTableID, textId, MF_AUTO_FORMAT);
|
CustomMessageManager::Instance->RetrieveMessage(customMessageTableID, textId, MF_AUTO_FORMAT);
|
||||||
} else if (textId == TEXT_MASK_SHOP_SIGN && ctx->GetOption(RSK_MASK_SHOP_HINT)) {
|
} else if (textId == TEXT_MASK_SHOP_SIGN && ctx->GetOption(RSK_MASK_SHOP_HINT)) {
|
||||||
messageEntry = ctx->GetHint(RH_MASK_SHOP_HINT)->GetHintMessage(MF_AUTO_FORMAT);
|
messageEntry = ctx->GetHint(RH_MASK_SHOP_HINT)->GetHintMessage(MF_AUTO_FORMAT);
|
||||||
|
} else if (textId == TEXT_BIG_POE_COLLECTED_RANDO) {
|
||||||
|
messageEntry =
|
||||||
|
CustomMessageManager::Instance->RetrieveMessage(customMessageTableID, textId, MF_AUTO_FORMAT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (textId == TEXT_GS_NO_FREEZE || textId == TEXT_GS_FREEZE) {
|
if (textId == TEXT_GS_NO_FREEZE || textId == TEXT_GS_FREEZE) {
|
||||||
|
|
|
@ -172,4 +172,7 @@ extern "C" void OTRMessage_Init() {
|
||||||
CustomMessage("I'm sorry I can't sell you these fine specimens, they need an #experienced owner#.^"
|
CustomMessage("I'm sorry I can't sell you these fine specimens, they need an #experienced owner#.^"
|
||||||
"Come back when you have had #Bombchus# of your own.",
|
"Come back when you have had #Bombchus# of your own.",
|
||||||
{ QM_RED, QM_GREEN }));
|
{ QM_RED, QM_GREEN }));
|
||||||
|
CustomMessageManager::Instance->CreateMessage(
|
||||||
|
customMessageTableID, TEXT_BIG_POE_COLLECTED_RANDO,
|
||||||
|
CustomMessage("You have #" + CustomMessage::POINTS("\x01") + "# points.", { QM_RED }));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue