Pokemon Sword and Shield Cheats/Hacks/PKHex

Discussion in 'Switch - ROM Hacking, Saves, Translations & Tools' started by Ultimos54, Nov 11, 2019.

  1. rocky_2016

    rocky_2016 Advanced Member

    Newcomer
    1
    Nov 4, 2016
    why you guys care legal pkm or not? are you guys about to go online? just ask
    also, is it able to use shield cheats for sword and vice versa?
     
    Last edited by rocky_2016, Nov 14, 2019
  2. habla2k

    habla2k Newbie

    Newcomer
    1
    Oct 14, 2019
    Germany
    Hello,

    ist it possible to get multiplier codes for EXP as well? Like x2,x4,x8 etc.?
     
  3. blackmoon92

    blackmoon92 Member

    Newcomer
    1
    Nov 14, 2019
    France
    compatible with sword and shield
     
  4. Falo

    Falo GBAtemp Advanced Fan

    Member
    10
    Jul 22, 2012
    Germany
    Shield has the same address, so code should work in both versions:

    Code:
    .text:000000000076FB6C E9 83 40 B2                 MOV             X9, #0x1FFFFFFFF
    .text:000000000076FB70 1F 01 09 EB                 CMP             X8, X9
    .text:000000000076FB74 A0 0B 00 54                 B.EQ            loc_76FCE8 ; if Pokemon ID == 0x1FFFFFFFF -> force non shiny
    .text:000000000076FB78
    .text:000000000076FB78             loc_76FB78                              ; CODE XREF: sub_76FAD0+214↓j
    .text:000000000076FB78 A9 FF DF 92+                MOV             X9, #0x2FFFFFFFF
    .text:000000000076FB80 1F 01 09 EB                 CMP             X8, X9
    .text:000000000076FB84 C0 06 00 54                 B.EQ            loc_76FC5C ; if Pokemon ID == 0x2FFFFFFFF -> force shiny
    .text:000000000076FB88 E9 87 40 B2                 MOV             X9, #0x3FFFFFFFF
    .text:000000000076FB8C 1F 01 09 EB                 CMP             X8, X9
    .text:000000000076FB90 81 0D 00 54                 B.NE            loc_76FD40 ; if Pokemon ID == 0x3FFFFFFFF -> do normal shiny roll
    You can't disable assembly patch codes, they are permanent until you use an "off" code.

    If i find that in code sure, but i don't have much time right now to go through thousands of assembly code lines.

    strange, the code SciresM posted ( ) leads to "0x12FA460"
    and this functions calculates the maximum capture level:

    Code:
      badge_count = Player::GetBadgeCount(v0);
      if ( (unsigned __int8)badge_count <= 7u )
        result = (unsigned int)(5 * badge_count + 20);
      else
        result = 100LL;
      return result;
    but changing this code does nothing ingame, still can't catch higher level mons.
     
  5. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    12
    Apr 20, 2007
    United States
    5 * badge_count + 20, thank you, that's easier to remember. There's a few ways to alter this. Either have it always return 100LL, have badge_count = 8u, replace the if conditional with a false, which way did you try?
     
  6. Falo

    Falo GBAtemp Advanced Fan

    Member
    10
    Jul 22, 2012
    Germany

    i did change
    .text:00000000012FA4C4 00 81 89 1A CSEL W0, W8, W9, HI
    into
    .text:00000000012FA4C4 00 81 88 1A CSEL W0, W8, W8, HI

    W8 = 100
    W9 = 5 * badge_count + 20
    W0 = result
     
  7. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    12
    Apr 20, 2007
    United States
    Is it perhaps used to determine the maximum level that shiny Pokémon can be? Can you use this in combo with the Shiny code to see if a Pokémon you would;dn't normally be able to catch turns shiny?
     
  8. blackmoon92

    blackmoon92 Member

    Newcomer
    1
    Nov 14, 2019
    France
    you are it possible to find the instant descending code.
    thank you
     
  9. Sora Takihawa

    Sora Takihawa Planeptunes Male CPU

    Member
    7
    Oct 11, 2015
    Germany
    Planeptune
    Do someone have a female save because my save is wrecked... Means my game crashes randomly and I don't wanna start new
     
  10. blackmoon92

    blackmoon92 Member

    Newcomer
    1
    Nov 14, 2019
    France
    you do not have a backup with checkpoint to restore
     
  11. Sora Takihawa

    Sora Takihawa Planeptunes Male CPU

    Member
    7
    Oct 11, 2015
    Germany
    Planeptune
    I have one but it only have one badge and now I have 5
     
  12. blackmoon92

    blackmoon92 Member

    Newcomer
    1
    Nov 14, 2019
    France
    I translated into french and compile the cheat code available on these pages into an archive for sx os please test them and say if a code does not work

    — Posts automatically merged - Please don't double post! —

    sorry for you, I always do a backup after each part and before using cheat codes
     

    Attached Files:

  13. crashboii4

    crashboii4 Member

    Newcomer
    1
    Jun 21, 2019
    Germany
    Is it already possible to convert save files from Sword to Shield?
     
  14. urdaddy

    urdaddy Advanced Member

    Newcomer
    3
    Jun 20, 2018
    United States
    anyone got those clear codes to first reset all item (not key items), potions and balls? i got a bunch of stuffs mixed with each other as I played around with untested cheats. wouldnt mind to clear the inventory :)
     
  15. blackmoon92

    blackmoon92 Member

    Newcomer
    1
    Nov 14, 2019
    France
    t is probably possible I did not test but it will create internal problems.
    bad trainer id.
    pokemon not available, location ....
     
  16. alexco

    alexco Member

    Newcomer
    1
    Jun 20, 2018
    United States
    If anyone gets time, could someone look into making a code for unlimited rotom bike boost and quick egg hatch? No big deal if not. Just some suggestions.
     
    Meko and alterzero like this.
  17. patjenova

    patjenova GBAtemp Fan

    Member
    7
    Jul 31, 2018
    Netherlands
    so long time no see ;)
     
    LucioDragon likes this.
  18. Falo

    Falo GBAtemp Advanced Fan

    Member
    10
    Jul 22, 2012
    Germany
    Sword:
    [500 Capture Count (on)]
    04000000 01379660 52803E80
    04000000 01379664 D65F03C0
    [500 Capture Count (off)]
    04000000 01379660 F81E0FF3
    04000000 01379664 A9017BFD

    Shield:
    [500 Capture Count (on)]
    04000000 01379690 52803E80
    04000000 01379694 D65F03C0
    [500 Capture Count (off)]
    04000000 01379690 F81E0FF3
    04000000 01379694 A9017BFD

    Note: untested, this cheat patches the function to always return 500, should be temporary.
     
  19. LucioDragon

    LucioDragon Advanced Member

    Newcomer
    4
    Jun 21, 2018
    Chile
    now, it might be tedious but we need a cheat code to encounter the 35 missing pokemon, the guy who made a save with these, did it throught the code editor from sx os, sadly they wont do ALL pokemon like the alolan starters because they doesn't like it
    and plus, i could use a shiny jirachi aswell
     
  20. blackmoon92

    blackmoon92 Member

    Newcomer
    1
    Nov 14, 2019
    France
    great thanks a lot.
    this allows to find more powerful pokemon and shiny
     
Quick Reply
Draft saved Draft deleted
Loading...