I've been using NPRE's source and improving it to read B2W2 script commands and output the script's function. It's now way better than the Lua script I previously posted.
http://dl.dropbox.com/u/12206225/NPRE-1226.zip
To see scripts, open ROM, navigate to /a/0/5/6, right click and Open As [script (narc)]. Dropdown on the top left to change what script you are viewing.
Since NPRE is open source, I included the source that I compiled from.
With this and pretty good knowledge of commands, it's possible to make in-game events.
[video=youtube;8tBDVstp1hM]
(script that is executed, commented). Image is just flashy to not give away the premise of the video, but to whore views on YouTube.
note~ overworld and text edits were done, using HxD and the structure I posted at B2W2 General ROM Info && PPTXT.