Skip to content

Releases: FlagBrew/PKSM-Scripts

v1.2 - PKSM v6.0.0

31 Dec 16:58
Compare
Choose a tag to compare

With the release of PKSM v6.0.0 comes a few changes, notably the drop of support for PKSM v5.1.4 (and below), script subfolders, and the introduction of C scripts.

What's New

  • Bundled scripts: Starting with v6.0.0 all official scripts are automatically included in PKSM so these releases won't contain scripts to download unless new ones are made between releases of PKSM
  • Subfolders: No more scrolling through a massive list of scripts to find the one or two you're after. Large groups of related scripts have now been tucked away into folders for easier organization and navigation
  • C scripts: PKSM v6.0.0 comes with picoC (a C interpreter) embedded within it. This means scripts for PKSM can now be written in C, which opens up tons of possibilities in what they can do, like manipulating bits rather than only bytes and reading and reacting to values in the save.
  • Development scripts: A new set of Python and Node scripts have been made available to aid in developing new PKSM scripts:
    • genScriptsDev: a development-focused version of genScripts that includes the following:
      • Selective game compilation: If provided a list of game version abbreviations (the ones used by PKSM for script folder names), will only compile scripts for those games; if no list of game versions is provided, all are compiled
      • Ignores missing .txt files
      • Doesn't delete existing scripts: No scripts in /scripts will be deleted, only overwritten if they share a name with a script being compiled. Helpful for anyone who likes keeping all their compiled scripts, even ones that are for personal use only or are still in development, in one directory
      • ignores picoC scripts
    • diffSave: Outputs a list of differences between 2+ saves. Useful for finding an unidentified offset, or legal values for ones that aren't explained somewhere

New PKSM Scripts

picoC

  • all games PKX Injector: Allows you to inject PKX files from /3ds/PKSM/inject into your save's PC
    • LGPE saves: only PB7 files are supported
    • non-LGPE saves: PK4, PK5, PK6, and PK7 are supported
  • USUM, SM, ORAS, XY Save Language: this is just all the old "Set save language" scripts rolled up into one
  • USUM, SM, ORAS, XY Vivillon: this is just all the old "Set Vivillon" scripts rolled up into one
  • PT, DP Trophy Garden: Allows you to manipulate the daily visitors to Mr. Backlot's Trophy Garden on Route 212

Simple

  • USUM, SM, ORAS, XY Renew Wondercard: Allows you to reclaim an already injected (and claimed) Wondercard. Currently only available for slots 1-3
  • USUM, SM, ORAS, XY, HGSS, PT, DP Battle Facility Streak: sets the current streak to just before a battle with the facility's leader
  • USUM, SM Shop 6 Tent Bonus: set which bonus is active from the tent shop located in slot 6 (requires a tent shop to be in that slot)
  • USUM Reset Red and Blue: resets initial Battle Tree event in which you battle Red or Blue
  • ORAS, XY Supreme Honor Pokepuffs: fill all 100 Pokepuff slots with Supreme Honor Pokepuffs
  • ORAS, XY Pokemon Link: These codes will allow you to acquire these event Pokemon from the Pokemon Link on the main menu. Until you claim it in-game, using more than one at a time will overwrite any you've already injected. If you care about legality, Celebi can only come from X & Y and Glalie and Steelix can only be received from ORAS. For some reason, trying to inject the ORAS Demo Pokemon won't work more than once.
  • ORAS Mirage Spots: Sets the available Mirage Spots to the set selected, all of which also include Crescent Isle where you can find Cresselia. Spots will change when the date changes, and may change if you pass people through the PSS
  • B2W2, BW Pass Power MAX: sets your active Pass Power(s) to the specified MAX version
    • Items slot 1 - Pass Orb x65535 was also added to allow usage of MAX powers, which cost 9999 Pass Orbs per activation
  • B2W2, BW Reset Geonet: allows you to change the location you registered on the Geonet
  • B2W2, BW Season: changes the current season of the save -- Note that changing area (leaving a building/cave, changing route, etc.) will update the season to match the system's current date
  • B2W2 Reset N and Shadow Triad: allows you to rematch the trainers without waiting for the season to change
  • B2W2 Join Avenue - Restock All Shops: This will refill all the shops contents and therefore, you can buy from all the shops again without having to wait for the next day.
  • B2W2 Join Avenue - 7 Day Promotion: This will cause a week long promotional event. When this code is used, for one week from when the game was last saved, all the shop's items are only half price!
  • B2W2 Join Avenue - Lv9 All Shops: this code will set all of your shops to level 9 and as such, only one visitor referral will be necessary to max out each shop
  • BW Black City White Forest Set: Black City / White Forest population manipulators - see the explanation in the README
  • HGSS, PT Battle Factory Max Trades: This will set your trade count to 9999. The more trades you do, the better Pokemon you can choose to rent at the start
  • HGSS, PT Battle Castle Points: This will set your CP to 9999, allowing you to buy as many upgrades, items, heals, skips etc as you want. Note, you don't unlock the ability to skip a battle until you win 21 battles.
  • HGSS Reset Sinjoh Ruins: resets the event where you take an Arceus to the Ruins of Alph and eventually receive a lv1 Dialga/Palkia/Giratina holding its respective Orb
  • HGSS Reset Red: respawns Red at Mt. Silver without having to defeat the Elite Four
  • PT, DP Fulfill Spiritomb encounter requirements: Injects an Odd Keystone into the Broken Tower on Route 209 and credits you with 32 people greeted in the Underground, allowing you to battle Spiritomb at Route 209's Hallowed Tower (formerly Broken Tower) by just interacting with it

Fixes

  • PT All Items x99

Credits

  • @piepie62 -- PKX injector script, as well as putting so much work into PKSM's scripting functionality
  • @PKMWM1 -- a bunch of scripts for all games
  • @PlasticJustice -- WC renewal scripts
  • @SpiredMoth -- Node and Python development scripts, Trophy Garden, Spiritomb, save language, and Vivillon PKSM scripts

v1.1

18 Oct 01:44
Compare
Choose a tag to compare

What's New

  • Fill Dex
    • Regional Pokédex scripts will overwrite anything you've seen (and owned if you use the "owned" version) which may cause you to lose registration of anything not in your game's regional Pokédex
    • These scripts will fill your dex enough to unlock access to the following rewards:
      • DP, Pt Sinnoh seen: regional dex diploma, National dex upgrade
      • HGSS Johto owned: regional dex diploma
      • DP, Pt, HGSS National owned: national dex diploma
      • BW Unova owned: regional dex diploma
      • BW National owned: national dex diploma
      • B2W2 Unova seen: Permit (for visiting Nature Preserve)
      • B2W2 Unova owned: regional dex diploma, Oval Charm
      • B2W2 National owned: national dex diploma, Shiny Charm
      • XY Kalos seen: Oval Charm
      • XY Kalos owned: regional dex diplomas (Central, Coastal, Mountain, Kalos)
      • ORAS Hoenn seen: Oval Charm
      • ORAS Hoenn owned: regional dex diploma
      • XY, ORAS National owned: national dex diploma, Shiny Charm
      • SM, USUM Alola owned: Shiny Charm
    • National versions will also unlock access to all corresponding regional rewards
    • owned versions will also unlock access to all corresponding seen rewards
    • Complete versions will unlock all the same rewards as the National owned versions
    • Only the Complete versions will fill in Mythicals (Mew, Celebi, Jirachi, etc.)
    • Only the Complete (illegal) versions will unlock all forms and shiny sprites, including unreleased ones
  • Mass Inject
    • All mass injection scripts target the first slot of Box 1 to start injecting the collection. If you're worried about losing some of your Pokémon, make sure to clear out enough of your in-game boxes to make room
      • Living Dex
        • Gen 5: 22 boxes
        • Gen 6: 25 boxes
        • Gen 7: 27 boxes
      • Colosseum: 2 boxes
      • XD: 3 boxes
      • everything else: 1 box
    • Not all Pokémon in the mass injection scripts may be legal
    • Only the "Living Dex" scripts update your dex. If you want the contents of a mass inject script to be registered but don't want the full Fill Dex, do one of the following:
      • deposit the unregistered Pokémon in the Day Care then withdraw them
      • take them into a wild battle (reported to work but not confirmed)
    • rBreedingDitto: the Ditto in these scripts were obtained from this list on /r/BreedingDittos. They are subject to all the conditions and limits set by /r/BreedingDittos (so don't try passing them off as legal on /r/pokemontrades)

Fixes

  • All bag pouch scripts now have legal (available through normal gameplay and events) and illegal (all items) versions where applicable

Documentation

v1.0

25 Aug 01:21
Compare
Choose a tag to compare

Repository migration