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
596
Trophies
0
XP
745
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,560
Trophies
2
XP
7,825
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
  • BigOnYa
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • ZeroT21 @ ZeroT21:
    I should visit Florida again, miss the alligator barbecues
  • BigOnYa @ BigOnYa:
    Me and wifey was deciding on our next vacation, so I hung up a map on the wall, and give her a dart and said, wherever you hit, we will go. She threw the dart and it missed the map completely and fell into a trash can below on floor. So I said "ok Florida it is."
    +2
  • BakerMan @ BakerMan:
    @ZeroT21 ohhh a pot cake?
    +2
  • SylverReZ @ SylverReZ:
    Gimme some of dat
    +4
  • BakerMan @ BakerMan:
    oh yeah i don't use weed,in my baking or in general
  • BakerMan @ BakerMan:
    besides isn't it usually gummies or brownies?
  • AncientBoi @ AncientBoi:
    So, make a "New Trend"
  • BakerMan @ BakerMan:
    i just said i don't use weed
  • BigOnYa @ BigOnYa:
    You can add it in anything really, you can even make a butter/oil with it, then use that oil in anything
  • BakerMan @ BakerMan:
    besides i'm literally a minor and neurodivergent, so telling me to make a cake with cannabis is traumatizing me, ur cancelled buddy /s/srs
  • BakerMan @ BakerMan:
    (nah jk i'm just parodying those "i'm literally a minor and neurodivergent" mfs on twitter)
    +1
  • BigOnYa @ BigOnYa:
    Michigan has legal rec, so you only have few more years, is it 18 or 21 up there? 21 here in Ohio.
  • BakerMan @ BakerMan:
    prob 21, idk tho
    +1
  • ZeroT21 @ ZeroT21:
    Guess I'll go with plan B and make a Rum Vanilla flavored ice cream
    +1
  • BigOnYa @ BigOnYa:
    That sounds damn good.
  • AncientBoi @ AncientBoi:
    Nah. Tequila maybe
  • AncientBoi @ AncientBoi:
    That, or Old No. 7
  • BigOnYa @ BigOnYa:
    I'm ashamed to ask, but what is old no 7?
  • AncientBoi @ AncientBoi:
    Jack Daniels
    +2
  • BigOnYa @ BigOnYa:
    Oh yea, duh
    +1
  • BigOnYa @ BigOnYa:
    I still have some old no 7, bout to mix with some coke, and get "California Sober".
    +2
  • AncientBoi @ AncientBoi:
    lol, I finally got you to Enjoy a Coc Tail :tpi::rofl2::tpi:
    +2
  • BakerMan @ BakerMan:
    @ZeroT21 oh i bet some rum raisin ice cream is so good

    i don't drink, but some rum ice cream might be good
    +1
  • BigOnYa @ BigOnYa:
    Rum pecan ice cream is the bomb. Never had rum raisin, but bet be good. My homemade ice cream machine started rust inside so I pitched it, but gotta get a new one, miss making my own ice cream, esp with booze.
    +1
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=HZVQF0yPnTc +1