mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 19:02:19 -05:00
handle angry happy mask throwing link out in entrance randomizer (#2578)
This commit is contained in:
parent
a5bf135541
commit
0a67e42f6c
@ -13,6 +13,7 @@
|
||||
#include "objects/object_mastergolon/object_mastergolon.h"
|
||||
#include "objects/object_masterzoora/object_masterzoora.h"
|
||||
#include "objects/object_masterkokirihead/object_masterkokirihead.h"
|
||||
#include "soh/Enhancements/randomizer/randomizer_entrance.h"
|
||||
|
||||
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_3 | ACTOR_FLAG_4)
|
||||
|
||||
@ -934,7 +935,12 @@ void EnOssan_State_StartConversation(EnOssan* this, PlayState* play, Player* pla
|
||||
EnOssan_TryPaybackMask(this, play);
|
||||
return;
|
||||
case OSSAN_HAPPY_STATE_ANGRY:
|
||||
play->nextEntranceIndex = 0x1D1;
|
||||
// In ER, handle happy mask throwing link out with not enough rupees
|
||||
if (gSaveContext.n64ddFlag && Randomizer_GetSettingValue(RSK_SHUFFLE_ENTRANCES)) {
|
||||
play->nextEntranceIndex = Entrance_OverrideNextIndex(0x1D1);
|
||||
} else {
|
||||
play->nextEntranceIndex = 0x1D1;
|
||||
}
|
||||
play->sceneLoadFlag = 0x14;
|
||||
play->fadeTransition = 0x2E;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user