[Enable Haihu Event (On)]
04000000 01B43FB4 52800021
[Enable Haihu Event (Off)]
04000000 01B43FB4 1A9F07E1
[Token(Token = "0x6000C60"), Address(RVA = "0x25F8AC0", Offset = "0x25F8BC1", VA = "0x25F8AC0")]
public static void ReceiveItemGift(ushort itemId)
{
switch ( itemId )
{
case 452: //Oak's Letter
FlagWork.SetWork(276, 1); break; //276 = EvWork.WORK_INDEX.HAIHUEVENT_ID_D18
case 455: //Azure Flute
FlagWork.SetWork(277, 1); break; //277 = EvWork.WORK_INDEX.HAIHUEVENT_ID_D05
case 454: //Member Card
FlagWork.SetWork(275, 1); break; //275 = EvWork.WORK_INDEX.HAIHUEVENT_ID_D30
}
}
Stickers cant soft lock you. Iv had max stickers the whole game. You dont have to recieve themsomeone could write a code that would give 0 stickers of each, thanks to you this will allow you to unlock users who cannot get the stickers provided by the games
[All Stickers x99]
580F0000 0472AD60
580F1000 000000B8
580F1000 00000000
580F1000 00000340
780F0000 0000002C
30DD0000 00000060
640F1000 00000000 00000001
680F1000 00000063 00000063
31DD0000
I just tried it and nothing happenedCan someone test this code for me, i'm not there in the story yet:
Code:[Enable Haihu Event (On)] 04000000 01B43FB4 52800021 [Enable Haihu Event (Off)] 04000000 01B43FB4 1A9F07E1
This code should enable the 3 ingame mystery gift events...
Code:[Token(Token = "0x6000C60"), Address(RVA = "0x25F8AC0", Offset = "0x25F8BC1", VA = "0x25F8AC0")] public static void ReceiveItemGift(ushort itemId) { switch ( itemId ) { case 452: //Oak's Letter FlagWork.SetWork(276, 1); break; //276 = EvWork.WORK_INDEX.HAIHUEVENT_ID_D18 case 455: //Azure Flute FlagWork.SetWork(277, 1); break; //277 = EvWork.WORK_INDEX.HAIHUEVENT_ID_D05 case 454: //Member Card FlagWork.SetWork(275, 1); break; //275 = EvWork.WORK_INDEX.HAIHUEVENT_ID_D30 } }
But i'm not sure if the function "Dpr.EvScript.EvDataManager$$EvCmdIsHaihuEventEnable" is ever called.
Again
[All Stickers x99 Removed]
580F0000 0472AD60
580F1000 000000B8
580F1000 00000000
580F1000 00000340
780F0000 0000002C
30DD0000 00000060
640F1000 00000000 00000000
680F1000 00000063 00000000
31DD0000
Alright I tested it but nothing really happened, tried without having the members card/Oak's letter on the inventory and then adding it to the inventory via cheat, door of the Inn is closed and nothing happens on the Shaymin's route. So unless I'm missing a step events don't get triggered.Can someone test this code for me, i'm not there in the story yet:
Code:[Enable Haihu Event (On)] 04000000 01B43FB4 52800021 [Enable Haihu Event (Off)] 04000000 01B43FB4 1A9F07E1
This code should enable the 3 ingame mystery gift events...
Code:[Token(Token = "0x6000C60"), Address(RVA = "0x25F8AC0", Offset = "0x25F8BC1", VA = "0x25F8AC0")] public static void ReceiveItemGift(ushort itemId) { switch ( itemId ) { case 452: //Oak's Letter FlagWork.SetWork(276, 1); break; //276 = EvWork.WORK_INDEX.HAIHUEVENT_ID_D18 case 455: //Azure Flute FlagWork.SetWork(277, 1); break; //277 = EvWork.WORK_INDEX.HAIHUEVENT_ID_D05 case 454: //Member Card FlagWork.SetWork(275, 1); break; //275 = EvWork.WORK_INDEX.HAIHUEVENT_ID_D30 } }
But i'm not sure if the function "Dpr.EvScript.EvDataManager$$EvCmdIsHaihuEventEnable" is ever called.
Unfortunately the scripts are actually incomplete and arceus doesn't actually have a proper spawn point anymore and his item was removed from the gameCan someone test this code for me, i'm not there in the story yet:
Code:[Enable Haihu Event (On)] 04000000 01B43FB4 52800021 [Enable Haihu Event (Off)] 04000000 01B43FB4 1A9F07E1
This code should enable the 3 ingame mystery gift events...
Code:[Token(Token = "0x6000C60"), Address(RVA = "0x25F8AC0", Offset = "0x25F8BC1", VA = "0x25F8AC0")] public static void ReceiveItemGift(ushort itemId) { switch ( itemId ) { case 452: //Oak's Letter FlagWork.SetWork(276, 1); break; //276 = EvWork.WORK_INDEX.HAIHUEVENT_ID_D18 case 455: //Azure Flute FlagWork.SetWork(277, 1); break; //277 = EvWork.WORK_INDEX.HAIHUEVENT_ID_D05 case 454: //Member Card FlagWork.SetWork(275, 1); break; //275 = EvWork.WORK_INDEX.HAIHUEVENT_ID_D30 } }
But i'm not sure if the function "Dpr.EvScript.EvDataManager$$EvCmdIsHaihuEventEnable" is ever called.
Dapret what i read and heard there is going to be an upd on 1 dayUnfortunately the scripts are actually incomplete and arceus doesn't actually have a proper spawn point anymore and his item was removed from the game
1.1 is the day 1 patch.Dapret what i read and heard there is going to be an upd on 1 day
there isn't, it was just released early (for reviewers etc)I'm not sure I understood that there would be an additional patch
Unfortunately the scripts are actually incomplete and arceus doesn't actually have a proper spawn point anymore and his item was removed from the game
main.nso + 4E5E160 = MethodInfo_26B6DB0
+0x18 = klass
+0xB8 = static_fields
+0x0
+0x20 = PlayerWork.fields._saveData.intValues
275 = intValues +0x46C
276 = intValues +0x470
277 = intValues +0x474
But it cant be done with a code?It was worth a shot, atleast the other 2 events should work.
Now i try this with a different option, if i can't change it via code hacking, let's try memory hacking ^^.
I don't have noexes running currently so it's a bit slower, but i guess i have the correct memory location, for now no cheat code, because it could ruin some saves, but here the pointer path:
intValues is a il2cpp uint32 class, so:Code:main.nso + 4E5E160 = MethodInfo_26B6DB0 +0x18 = klass +0xB8 = static_fields +0x0 +0x20 = PlayerWork.fields._saveData.intValues
+0x18 = max_length (should be 500)
+0x20 = m_Items
m_Items[FlagId] should then allow us to modify event flags directly...
if someone wants to try it, i can't because im just after the 4. gym in the story.Code:275 = intValues +0x46C 276 = intValues +0x470 277 = intValues +0x474
yes just combine the two codesSo I tried the encounter code and works perfectly, the real question being can you use it to trigger Chimchar with it's HA IronFist? I've been trying to use Gardevoir with Trace ability but haven't had luck with it, I know it would be a lot easier with PkHex but I doubt that is coming anytime soon and will probably be out next week.
Arceus event hasn't been implemented by the day one patchOK I have a hard time understanding, but then why some part of the game does not work, quote above ...?