diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..8f3fe4e8 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.bin -text \ No newline at end of file diff --git a/CheatTable/CheatEntries/Open - The Grand Archives - Elden Ring/MiscWIP/Dependencies/Global Functions/EzState_code.cea b/CheatTable/CheatEntries/Open - The Grand Archives - Elden Ring/MiscWIP/Dependencies/Global Functions/EzState_code.cea index 2c8283b9..ba58717c 100644 --- a/CheatTable/CheatEntries/Open - The Grand Archives - Elden Ring/MiscWIP/Dependencies/Global Functions/EzState_code.cea +++ b/CheatTable/CheatEntries/Open - The Grand Archives - Elden Ring/MiscWIP/Dependencies/Global Functions/EzState_code.cea @@ -42,4 +42,106 @@ function executeEzStateEvent(id, parameterArray, chrInsHandle); deAlloc(args) end +EzStateEvent = { + DebugEvent = 0, + TalkToPlayer = 1, + InvokeEvent = 2, + StopAttacking = 3, + Attack = 4, + RemoveMyAggro = 5, + DisplayOneLineHelp = 6, + TurnToFacePlayer = 7, + ForceEndTalk = 8, + ClearTalkProgressData = 9, + ShowShopMessage = 10, + SetEventFlag = 11, + CloseShopMessage = 12, + OpenCampMenu = 13, + CloseCampMenu = 14, + ChangeTeamType = 15, + SetDefaultTeamType = 16, + OpenGenericDialog = 17, + ForceCloseGenericDialog = 18, + AddTalkListData = 19, + ClearTalkListData = 20, + RequestMoviePlayback = 21, + OpenRegularShop = 22, + OpenRepairShop = 23, + OpenEnhanceShop = 24, + OpenHumanityMenu = 25, + OpenMagicShop = 26, + OpenMiracleShop = 27, + OpenMagicEquip = 28, + OpenMiracleEquip = 29, + OpenRepository = 30, + OpenSoul = 31, + CloseMenu = 32, + SetEventFlagRange = 33, + OpenDepository = 34, + ClearTalkActionState = 35, + ClearTalkDisabledState = 36, + SetTalkDisableStateMaxDuration = 37, + SetUpdateDistance = 38, + ClearPlayerDamageInfo = 39, + StartWarpMenuInit = 41, + StartBonfireAnimLoop = 42, + EndBonfireKindleAnimLoop = 43, + OpenSellShop = 46, + ChangePlayerStat = 47, + OpenEquipmentChangeOfPurposeShop = 48, + CombineMenuFlagAndEventFlag = 49, + RequestSave = 50, + ChangeMotionOffsetID = 51, + PlayerEquipmentQuantityChange = 52, + RequestUnlockTrophy = 53, + EnterBonfireEventRange = 54, + SetAquittalCostMessageTag = 55, + SubtractAcquittalCostFromPlayerSouls = 56, + ShuffleRNGSeed = 57, + SetRNGSeed = 58, + ReplaceTool = 59, + BreakCovenantPledge = 60, + PlayerRespawn = 61, + GiveSpEffectToPlayer = 62, + ShowGrandioseTextPresentation = 63, + AddIzalithRankingPoints = 64, + OpenItemAcquisitionMenu = 65, + AcquireGestureOld = 66, + ForceCloseMenu = 67, + SetTalkTime = 68, + CollectJustPyromancyFlame = 69, + OpenArenaRanking = 70, + ReportConversationEndToHavokBehavior = 71, + OpenConversationChoicesMenu = 76, + StopEventAnimWithoutForcingConversationEnd = 80, + OpenCharaMakeMenu = 81, + OpenChooseQuantityDialog = 82, + ClearQuantityValueOfChooseQuantityDialog = 83, + SetWorkValue = 100, + UpdatePlayerRespawnPoint = 101, + SetMessageTagValue = 102, + TurnCharacterToFaceEntity = 103, + AwardItemLot = 104, + OpenEstusAllotMenu = 105, + AddRankingPoints = 106, + OpenHollowLevelUpMenu = 107, + EstusAllocationUpdate = 108, + BonfireActivation = 109, + OpenTranspositionShop = 111, + SetBonfireMenuData = 112, + ReallocateAttributes = 113, + UndeadMatch = 114, + OpenBonfireMenu = 115, + RequestAnimation = 123, + OpenPhysickMenu = 130, + AcquireGesture = 131, + OpenDragonCommunionShop = 135, + OpenTailoringShop = 142, + OpenAshOfWarShop = 143, + OpenPuppetShop = 144, + OpenDupeShop = 146, + SetEventFlagValue = 147, + OpenChampionsEquipmentShop = 148, +} + [DISABLE] \ No newline at end of file diff --git a/table_files/include/tga/ezstate.h b/table_files/include/tga/ezstate.h index e604f375..008d3e74 100644 --- a/table_files/include/tga/ezstate.h +++ b/table_files/include/tga/ezstate.h @@ -134,7 +134,7 @@ void ezstate_execute_event(uint64_t chr_ins_handle, EzStateExternalFuncArg* args } EzStateTalkEvent talk_event; - init_ezstate_talk_event(&talk_event); + init_ezstate_talk_event(&talk_event, chr_ins_handle); fake_ezstate_ext_event ext_event = { .vtable = &FAKE_EZSTATE_EXT_EVENT_VTABLE,