I have recently been testing certain things on early Japanese release of D/P, so I updated some of MKDasher's lua scripts with Japanese D/P support and other features.
I merged the data from the ones for Pt and HGSS so this single lua auto-detects your game and supports all US Gen 4 games and JP version of D/P.
Support for Japanese D/P is added. The default mode is changed to Battle mode and will display critical hits and misses graph from FractalFusion's script. Now "next encounter" mode also displays the IVs and nature of stationary encounter generated with current RNG. Descriptions are added to the natures.
Pokemon data: http://tasvideos.org/userfiles/info/45209523159510745
The extension lua file is unchanged.
Auto-detection and support for Japanese D/P is added, and therefore you can't manually change game mode anymore. Added the option to switch modes by clicking on the arrow. Changed the color of buff and debuff to match Gen 5+ games.
Edit: Now it also reads Gen 4 glitch Pokemon data.
It would be great if someone could please upload these to the resource page.