ROM Hack Pokemon Brilliant Diamond & Shining Pearl Cheat Database

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,628
Country
Germany
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.
 

Chaosta

Well-Known Member
Member
Joined
Sep 18, 2020
Messages
595
Trophies
0
XP
743
Country
United States
someone 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
Stickers cant soft lock you. Iv had max stickers the whole game. You dont have to recieve them
 

Jimmyshady

Member
Newcomer
Joined
Mar 22, 2020
Messages
24
Trophies
0
Age
37
XP
437
Country
United States
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.
I just tried it and nothing happened
 

Alelau18

Member
Newcomer
Joined
Nov 15, 2021
Messages
7
Trophies
0
Age
33
Location
Lost in crippling depression
XP
41
Country
Spain
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.
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.

Fwiw, I have nat pokedex, used latest Ryujinx and only with the "Haihu Event (On)" code.
 
  • Like
Reactions: lattechan

OblivionReign

Developer
OP
Developer
Joined
Apr 23, 2016
Messages
2,548
Trophies
2
XP
7,742
Country
Japan
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 game
 
  • Like
Reactions: lattechan

zanadukahn

Member
Newcomer
Joined
Nov 12, 2021
Messages
5
Trophies
0
Age
46
XP
43
Country
United States
anybody got the code for disabling affection mechanics for 1.1 yuzu? I've been able to get no exp share and evolution cheat working but for some reason, the code for disabling affection isn't working
 

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,628
Country
Germany
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

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:

Code:
main.nso + 4E5E160 = MethodInfo_26B6DB0
+0x18 = klass
+0xB8 = static_fields
+0x0
+0x20 = PlayerWork.fields._saveData.intValues
intValues is a il2cpp uint32 class, so:
+0x18 = max_length (should be 500)
+0x20 = m_Items
m_Items[FlagId] should then allow us to modify event flags directly...
Code:
275 = intValues +0x46C 
276 = intValues +0x470
277 = intValues +0x474
if someone wants to try it, i can't because im just after the 4. gym in the story.
 

Misledz

Well-Known Member
Member
Joined
Sep 3, 2015
Messages
1,053
Trophies
0
Age
33
Location
Philippines
XP
766
Country
Philippines
So 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.
 

Juubix

Active Member
Newcomer
Joined
Nov 11, 2021
Messages
32
Trophies
0
Age
25
XP
64
Country
Germany
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:

Code:
main.nso + 4E5E160 = MethodInfo_26B6DB0
+0x18 = klass
+0xB8 = static_fields
+0x0
+0x20 = PlayerWork.fields._saveData.intValues
intValues is a il2cpp uint32 class, so:
+0x18 = max_length (should be 500)
+0x20 = m_Items
m_Items[FlagId] should then allow us to modify event flags directly...
Code:
275 = intValues +0x46C
276 = intValues +0x470
277 = intValues +0x474
if someone wants to try it, i can't because im just after the 4. gym in the story.
But it cant be done with a code?
 

lattechan

Well-Known Member
Member
Joined
Nov 11, 2021
Messages
434
Trophies
0
XP
315
Country
United States
So 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.
yes just combine the two codes
[wild modifier]
code
[force HA]
code
etc
search thread for hidden ability (idk what slot iron fist is but youll find the post)
 
  • Like
Reactions: Misledz

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
    +1
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
  • BakerMan @ BakerMan:
    Also, no, that was his first time having a seizure, and hopefully the last
    +1
    BakerMan @ BakerMan: Also, no, that was his first time having a seizure, and hopefully the last +1