fix stuff relating to getting the Iron Boots chest

This commit is contained in:
gymnast86
2026-04-21 18:47:04 -07:00
parent dbdb4daa58
commit 6113df21e0
11 changed files with 278 additions and 7 deletions
+18
View File
@@ -15,6 +15,10 @@
#include "SSystem/SComponent/c_math.h"
#include <cstring>
#if TARGET_PC
#include "dusk/randomizer/game/stages.h"
#endif
dMsgFlow_c::dMsgFlow_c() {
mNonStopJunpFlowFlag = 0;
setInitValue(1);
@@ -1134,6 +1138,20 @@ u16 dMsgFlow_c::query022(mesg_flow_node_branch* i_flowNode_p, fopAc_ac_c* i_spea
const u8 prm0 = i_flowNode_p->param;
u16 ret = checkItemGet(prm0 & 0xFF, 1) ? 0 : 1;
#if TARGET_PC
// Check to see if we're currently in one of the Ordon interiors
if (randomizer_IsActive() && daAlink_c::checkStageName(allStages[Ordon_Village_Interiors]))
{
// Check to see if checking for the Iron Boots
if (prm0 == dItemNo_Randomizer_HVY_BOOTS_e)
{
// Return false so that the door in Bo's house can be opened without having the
// Iron Boots
return 0;
}
}
#endif
if (param_2 != 0) {
// "Get Check"
OS_REPORT("\x1B[44;33m所持チェック            \x1B[m|:");