No description
  • Lua 84.2%
  • C# 15.8%
Find a file
2026-03-31 15:25:18 +03:00
.gitignore Initial commit 2026-03-15 23:51:16 +03:00
LICENSE Add license 2026-03-15 23:59:39 +03:00
PK_Script.csproj Initial commit 2026-03-15 23:51:16 +03:00
PK_Script.lua Bump version 2026-03-31 15:25:18 +03:00
PK_Script.sln Initial commit 2026-03-15 23:51:16 +03:00
Program.cs Bump version 2026-03-31 15:25:18 +03:00
README.md Update README.md 2026-03-28 04:42:37 +03:00

Pokémon Platinum Kaizo Lua Script

This is the official Lua script, to be used with the Pokémon Platinum Kaizo Damage Calculator.

It's Windows exclusive, sorry Mac users!

Features:

  • Automatically import your Pokémon into the calculator (Use the Sync button once both scripts are running!)
  • Pre-status your Pokémon with a simple command
  • Export your Pokémon in a Showdown format
  • Check the ability slots of your Pokémon, for those which have abilities added on evolution

How to use:

  1. Extract the bundled lua-5.1.5_Win64_bin.zip file in the same directory as your DeSmuMe executable.
  2. Once your ROM is loaded, click Tools -> Lua Scripting -> New Lua Script Window....
  3. Browse... for the included PK_Script.lua file.
  4. Run PK_Script.exe.

For more help:

https://www.youtube.com/watch?v=ErHm6BNSNd8

Available commands:

  sleep(slot)          -- Pre-sleeps the chosen party slot.
  poison(slot)         -- Pre-poisons the chosen party slot.
  burn(slot)           -- Pre-burns the chosen party slot.
  paralyze(slot)       -- Pre-paralyzes the chosen party slot.
  freeze(slot)         -- Pre-freezes the chosen party slot.
  bedtime()            -- Pre-sleeps the entire party.
  export()             -- Exports a Showdown paste of all Pokémon in your party and boxes to the clipboard.
  showabilities()      -- Displays the ability slots of all Pokémon in your party and boxes.