SCV
Jun 27th, 2009, 01:14 AM
Hi all, good news for all of you who want to try the latest things in DS Pokemon ROM Editing/Research.
As I mentioned, a few days ago, the release of beta 0.05 would be "for sure in a few days", and here it is (again Huge thanks to loadingNOW, and pichu2001, without them this release would have taken much longer) :
The program is written in PyQt but we provide an exe for the convenience of our Windows users. PPRE should work for every version/language but let us know if its not working right for an particular one.
Windows:
http://projectpokemon.org/editing/ppre/PPREb005.zip (http://projectpokemon.org/forums/../editing/ppre/PPREb005.zip)
Linux/Mac:
http://projectpokemon.org/editing/ppre/PPRE.tar.gz (http://projectpokemon.org/forums/../editing/ppre/PPRE.tar.gz)
For linux and Mac python, 2.6, Qt and PyQt for python 2.6 are required.
This is still VERY much beta software. Only the script edit function of the Map Editing works for now. More features will be made functional soon. Remember to always make backups. I cannot promise there will be no crashing of your rom once you compile a new script or edit an old script. If this does happen please report it and give as many details as possible as to what you did.
PPRE is based largely on the code for thenewpoketext and generally deals with the rom in the same way.
1) Place the rom in the same directory as PPRE, ndstool and Table.tbl
2) Open PPRE.
3)Type the name of your rom, e.g. pkmpl.nds
4) Press return after you finish typing or press the Set ROM button.
To use the Script editor press the Map button. The Script Editor uses the order tab and the script tab. The Combobox at the top is for choosing the Map. Based on the map and using the numbers above the tab widget various things about the map are determined. You can find the location you are looking for by viewing the text. At the moment there are no text editing features. thenewpoketext will work on the same directory.
Once you finish editing press the button at the right "Push Button" and the script will compile. To write a new rom type the name of the rom in the bottom text entry and then press the button to its right.
The general scheme of how the script editor works is:
There are three types of things: Individual Scripts, Functions and Movements.
The decompiler names them by scr_[number], func_[number] and mov_[number] respectively.
Individual Scripts must be preceded by ===, functions by ==, and movements by =. Try to follow the format you see when you open a script.
Command Paramenter1 Parameter2 .....
If the command is a movement command it will only have one parameter, being a time or number of steps. For everything else consult the list below.
Different commands have different number of parameters.
At the end of this post will be a list of all the commands. As you will notice many commands are not named. The format for the list is:
Command, Number of parameters, Size of parameter 1, size of parameter 2, etc
There are a few commands with a variable number of parameters, these are :
01CF, 021D, 0235, 023E using these commands is recommended only to the bravest researchers and only after looking at the scripts.py file.
We have a public SVN for the project that can be checked out or viewed online: http://svn.projectpokemon.org/ppre/
We also have some descriptions on the commands and movement commands on the wiki: http://projectpokemon.org/wiki/DPP_Script_Commands (http://projectpokemon.org/forums/../wiki/DPP_Script_Commands)
cmd=(("Nop",0),
("Nop1",0),
("End",0),
("Return",2,2,2),
("0004",1,2),
("0005",0),
("0006",0),
("0007",0),
("0008",0),
("0009",0),
("000A",0),
("000B",0),
("000C",0),
("000D",0),
("000E",0),
("000F",0),
("0010",4,2,2,2,2),
("If",2,2,2),
("If2",2,2,2),
("0013",0),
("Callstd",1,2),
("0015",0),
("Jump",1,4),
("0017",4,2,2,2,2),
("0018",0),
("0019",0),
("Goto",1,4),
("Killscript",0),
("COMPARELASTRESULT" ,2,1,4),
("COMPARELASTRESULT1",2,1,4),
("Clearflag",1,2),
("Setflag",1,2),
("Checkflag",1,2),
("0021",0),
("0022",1, 2),
("0023",1,2),
("0024",1,2),
("0025",1,2),
("Comparevarstobyte",2,2,2),
("0027",2,2,2),
("Setvar",2,2,2),
("Copyvar",2,2,2),
("002A",0),
("002B",1,1),
("Message",1,1),
("Message2",1,2),
("002E" ,1, 2),
("Message3",1,1),
("0030",0),
("Waitbutton",0),
("0032",0),
("0033",0),
("Closemsgonkeypress",0),
("Freezemsgbox",0),
("Callmsgbox",3,2,2,2),
("Colormsgbox",2,1,2),
("Typemsgbox",1,1),
("NoMapmsgbox",0),
("Callmsgboxtext",2,1,2),
("003B",1,2),
("Menu",0),
("003D",0),
("Yesnobox",1,2),
("Waitfor",1,2),
("Multi",5,1,1,1,1,2),
("Multi2",5,1,1,1,1,2),
("Txtscrpmulti",2,1,1),
("CloseMulti",0),
("Multi3",5,1,1,1,1,2),
("0045",3,2,2,2),
("Txtmsgscrpmulti",3,2,2,2),
("0047",0),
("Multirow",1,1),
("PlaySound",1,2),
("004A",1,2),
("004B",1,2),
("Cryfr",2,2,2),
("Waitcry",0),
("Soundfr",1,2),
("Fadedef",0),
("0050",1,2),
("Stop",1,2),
("Restart",0),
("0053",0),
("0054",2,2,2),
("0055",1,2),
("0056",0),
("0057",1, 2),
("0058",0),
("0059",1, 2),
("005A",2,2,2),
("005B",0),
("005C",0),
("005D",0),
("Applymovement",2,2,4),
("Waitmovement",0),
("Lockall",0),
("Releaseall",0),
("Lock",1,2),
("Release",1,2),
("Addpeople",1,2),
("Removepeople",1,2),
("Lockcam",2,2,2),
("0067",0),
("Faceplayer",0),
("CheckSpritePosition",2,2,2),
("006A",0),
("006B",3,2,2,2),
("Continuefollow(Changemap)",2,1,2),
("Followhero",2,2,2),
("StopFollowhero",0),
("Givemoney",1,2),
("Takemoney",2,2,2),
("Checkmoney",3,2,2,2),
("Showmoney",2,2,2),
("Hidemoney",0),
("Updatemoney",0),
("Showcoins",2,2,2),
("Hidecoins",0),
("Updatecoins",0),
("Checkcoins",3,2,2,2),
("Givecoins",1,2),
("Takecoins",3,2,2,2),
("Takeitem",3,2,2,2),
("Giveitem",3,2,2,2),
("Checkstoreitem",3,2,2,2),
("Checkitem",3,2,2,2),
("007F",2,2,2),
("0080",2,2,2),
("0081",0),
("0082",0),
("0083",3,2,2,2),
("0084",0),
("0085",3,2,2,2),
("0086",0),
("0087",3,2,2,2),
("0088",0),
("0089",0),
("008A",0),
("008B",0),
("008C",0),
("008D",0),
("008E",0),
("008F",3,2,2,2),
("0090",0),
("0091",0),
("0092",0),
("0093",2,2,2),
("0094",2,2,2),
("0095",2,2,2),
("GivePokemon",4,2,2,2,2),
("GiveEgg",2,2,2),
("0098",0),
("Checkmove",3,2, 2, 2),
("009A",2,2,2),
("009B",2,2,2),
("009C",3,2,2,2),
("009D",0),
("009E",0),
("009F",0),
("00A0",0),
("Callend",0),
("00A2",0),
("Wfc",0),
("00A4",0),
("Interview",0),
("DressPokemon",3,2,2,2),
("DisplayDressedPokemon",2,2,2),
("00A8",2,2,2),
("CapsuleEditor",0),
("SinnohMaps",0),
("BoxPkmn",1,1),
("DrawUnion",0),
("TrainerCaseUnion",0),
("00AE",0),
("RecordMixingUnion",0),
("EndGame",0),
("HallFameData",0),
("00B2",2,2,2),
("Wfc",1,2),
("ChooseStarter",0),
("00B5",0),
("00B6",1, 2),
("00B7",2, 2, 2),
("00B8",1, 2),
("00B9",2, 2, 2),
("ChoosePlayerName",0),
("ChoosePokemnName",2,2,2),
("Fadescreen",4,2,2,2,2),
("Resetscreen",0),
("Warp",5,2,2,2,2,2),
("RockClimbAnimation",1, 2),
("SurfAnimation",1, 2),
("WaterfallAnimation",1, 2),
("FlyAnimation",1, 2),
("00C3",0),
("00C4",0),
("00C5",1, 2),
("Tuxedo",0),
("Checkbike",1,2),
("Ridebike",1,1),
("00C9",1,1),
("00CA",0),
("BerryHiroAnimation",1,2),
("StopBerryHiroAnimation",0),
("Setvarhero",1,1),
("Setvarrival",1,1),
("Setvaralter",1,1),
("Setvarpoke",2,1,2),
("Setvaritem",2,1,2),
("00D2",2, 1, 2),
("Setvaratkitem",2,1,2),
("Setvaratk",2,1,2),
("Setvarnum",2,1,2),
("Setvarpokenick",2,1,2),
("Setvarobj",2,1,2),
("Setvartrainer",0),
("00D9",1,1),
("Setvarpokestored",4,1,2,2,1),
("Setvarstrhero",1,1),
("Setvarstrrival",1,1),
("Setvarstralter",1,1),
("StoreStarter",1,2),
("00DF",2,1,2),
("00E0",2,1,2),
("00E1",2,1,2),
("00E2",2,1,2),
("00E3",2,2,2),
("00E4",1,2),
("Trainerbattle",2,2,2),
("Endtrainerbattle",2,2,2),
("00E7",3,2,2,2),
("00E8",3,2,2,2),
("00E9",1,2),
("ActLeaugueBattlers",1,2),
("LostGoPc",0),
("CheckLost",1,2),
("00ED",1,2),
("00EE",1,2),
("00EF",0),
("00F0",0),
("00F1",0),
("ChsFriend",4,2,2,2,2),
("WireBattleWait",4,2,2,2,2),
("00F4",0),
("00F5",0),
("00F6",0),
("Pokecontest",0),
("00F8",1,2),
("00F9",1,2),
("00FA",4,2,2,2,2),
("00FB",1,2),
("00FC",0),
("00FD",2,2,2),
("00FE",2,2,2),
("00FF",2,2,2),
("0100",0),
("0101",0),
("0102",2,1,1),
("0103",2,1,1),
("0104",0),
("0105",0),
("0106",0),
("0107",1,2),
("0108",0),
("0109",1,2),
("010A",2,2,2),
("010B",2,2,2),
("010C",1, 2),
("010D",0),
("010E",0),
("010F",0),
("0110",4,2,2,2,2),
("FlashContest",1,2),
("EndFlash",0),
("0113",0),
("0114",0),
("0115",2,2,2),
("ShowLnkCntRecord",0),
("0117",0),
("0118",0),
("0119",1,2),
("011A",0),
("WarpMapElevator",5,2,2,2,2,2),
("CheckFloor",1,2),
("011D",0),
("011E",1,2),
("011F",0),
("Setposaftship",4,2,2,1,2),
("0121",1, 2),
("0122",1,2),
("0123",2, 1, 2),
("Wildbattle",4,2,2,2,2),
("Starterbattle",4,2,2,2,2),
("Explantionbattle",0),
("Honeytreebattle",3,2,2,2),
("0128",1,2),
("Randombattle",0),
("012A",0),
("WriteAutograph",0),
("012C",1,2),
("012D",2,2,2),
("CheckDress",2,2,2),
("012F",2,2,2),
("0130",1,2),
("GivePoketch",0),
("0132",1,2),
("ActPktchAppl",1,2),
("StorePktchAppl",2,2,2),
("0135",1,2),
("0136",0),
("0137",0),
("0138",1,2),
("0139",1,2),
("013A",0),
("013B",0),
("013C",1,2),
("013D",0),
("013E",0),
("013F",2,2,2),
("0140",1,2),
("0141",1,2),
("0142",1,2),
("ExpectDecisionOther",2,2,2),
("0144",1,2),
("0145",1,2),
("0146",2,2,2),
("Pokemart",1,2),
("Pokemart1",1,2),
("Pokemart2",1,2),
("Pokemart3",1,2),
("Defeatgopc",0),
("014C",1,2),
("Checkgender",1,2),
("HealPkmn",0),
("014F",0),
("0150",0),
("0151",0),
("0152",1,2),
("UnionRoom",0),
("0154",0),
("0155",2,2,2),
("0156",1,2),
("0157",0),
("ActPokedex",0),
("0159",0),
("GiveRShoes",0),
("Checkbadge",2,2,2),
("Setbdgtrue",1,2),
("Setbdgfalse",1,2),
("015E",0),
("015F",0),
("0160",1, 2),
("0161",0),
("0162",0),
("0163",0),
("0164",0),
("0165",0),
("0166",1,2),
("0167",0),
("PrpDoorAnm",5,2,2,2,2,1),
("Waitaction",1,1),
("Waitclose",1,1),
("Opendoor",1,1),
("Closedoor",1,1),
("016D",0),
("016E",0),
("016F",0),
("0170",0),
("0171",0),
("0172",0),
("0173",0),
("0174",0),
("0175",3,2,2,2),
("0176",2,2,1),
("Checkpartynumber",1,2),
("OpnBerry",1, 1),
("0179",1, 2),
("017A",0),
("017B",3, 1, 2, 2),
("017C",2,1,2),
("017D",1, 2),
("017E",1, 2),
("017F",1, 2),
("0180",0),
("0181",1, 2),
("0182",1,2),
("0183",1,2),
("0184",0),
("0185",0),
("SetOwPosition",3,2,2,2),
("0187",5,2,2,2,2,2),
("SetOwMovement",2,2,2),
("ReleaseOw",2,2,2),
("SetDoorPassable",3,2,2,2),
("SetDoorLocked",3,2,2,2),
("018C",2,2,2),
("Showclocksave",0),
("Hideclocksave",0),
("018F",1,2),
("0190",1,2),
("ChsPkmmenu",0),
("ChsPkmmenu2",0),
("StorePkmmenu2",1,2),
("0194",4, 2, 2, 2, 2),
("0195",2, 2, 2),
("Pokeinfo",1, 2),
("0197",1, 2),
("Storepkmnum",2,2,2),
("0199",2,2,2),
("CheckPartynum2",1,2),
("019B",2,2,2),
("019C",0),
("019D",1,2),
("019E",2,2,2),
("019F",1,2),
("01A0",0),
("01A1",0),
("01A2",0),
("01A3",1,2),
("01A4",2,2,2),
("01A5",0),
("01A6",0),
("01A7",0),
("01A8",0),
("01A9",0),
("01AA",2,2,2),
("01AB",2,2,2),
("EggAnm",0),
("01AD",0),
("01AE",2,2,2),
("01AF",3,2,2,2),
("01B0",1,2),
("01B1",1,2),
("01B2",1,2),
("Mailbox",0),
("01B4",1,2),
("Recordlist",1,2),
("01B6",1,2),
("01B7",2,2,2),
("01B8",2,2,2),
("Checkhappy",2,2,2),
("01BA",2,2,2),
("01BB",0),
("01BC",4,2,2,2,2),
("CheckPosition",1,2),
("01BE",1,2),
("01BF",1,2),
("CheckPkmnParty",2,2,2),
("CopyPkmnHeight",2,2,2),
("SetvarPkmnHeight",1,2),
("ComparePkmnHeight",3,2,2,2),
("CheckPkmnHeight",3,2,2,2),
("01C5",2,2,2),
("Moveinfo",1,2),
("Storemove",1,2),
("01C8",2,2,2),
("Deletemove",2,2,2),
("01CA",3,2,2,2),
("01CB",3,2,2,1),
("01CC",0),
("01CD",5,2,2,2,2,2),
("01CE",0),
("01CF",1),
("01D0",1,1),
("01D1",1,1),
("01D2",2,2,2),
("01D3",3,2,2,2),
("01D4",0),
("01D5",1,2),
("01D6",2,2,2),
("Berrypoffin",0),
("01D8",1, 2),
("Battlermresult",2,2,2),
("01DA",0),
("01DB",2,2,2),
("01DC",0),
("01DD",3,2,2,2),
("01DE",4,2,2,2,2),
("01DF",1,2),
("01E0",1,2),
("01E1",3,2,2,2),
("01E2",2,2,2),
("01E3",2,2,2),
("01E4",1,2),
("01E5",1,2),
("01E6",0),
("01E7",1, 2),
("CheckSinPkdx",1,2),
("CheckNatPkdx",1,2),
("ShowSinSheet",1,2),
("ShowNatSheet",1,2),
("01EC",0),
("01ED",1,2),
("01EE",0),
("01EF",0),
("01F0",0),
("CheckFossil",1,2),
("01F2",0),
("01F3",1,2),
("01F4",2,2,2),
("01F5",3,2,2,2),
("CheckPokeLevel",2,2,2),
("01F7",2,2,2),
("01F8",0),
("01F9",1,2),
("01FA",0),
("01FB",2, 2, 2),
("01FC",0),
("01FD",0),
("01FE",1,1),
("01FF",3,2,2,2),
("0200",1,2),
("0201",1, 2),
("0202",1,1),
("0203",5,2,2,2,2,2),
("Warplstelev",0),
("Geonet",0),
("Gmbynocule",0),
("0207",1,2),
("Pokepic",2,2,2),
("Hidepic",0),
("020A",1,2),
("020B",0),
("020C",0),
("020D",2,1,2),
("020E",0),
("020F",2, 2, 2),
("0210",2, 2, 2),
("0211",1, 1),
("0212",2,2,2),
("0213",2,2,2),
("0214",1,2),
("0215",0),
("0216",1,2),
("0217",2,2,2),
("0218",1,2),
("0219",0),
("021A",1,2),
("021B",0),
("021C",1,1),
("021D",1),
("021E",0),
("021F",2,2,2),
("0220",0),
("Remembermove",1,2),
("0222",0),
("0223",2,2,2),
("Teachmove",2,2,2),
("Checkteachmove",1,2),
("0226",1,1),
("0227",0),
("CheckPkmnTrade",1,2),
("TradeChosenPokemon",1,2),
("StopTrade",0),
("022B",0),
("022C",0),
("022D",2,1,2),
("022E",0),
("022F",1,2),
("0230",3,2,2,2),
("0231",2,2,2),
("0232",2,1,2),
("0233",2, 2, 2),
("0234",1,2),
("0235",1),
("0236",1, 2),
("0237",4, 2, 2, 2, 2),
("0238",2, 2, 2),
("Deciderules",1, 2),
("023A",3,2,2,2),
("HealpcAnm",1,2),
("023C",2,2,2),
("ShipAnm",4,2,2,2,2),
("023E",1),
("023F",0),
("0240",0),
("0241",0),
("0242",0),
("PhraseBox1W",3,2,2,2),
("PhraseBox2W",4,2,2,2,2),
("0245",2,2,2),
("0246",1,2),
("0247",1,2),
("0248",3,2,2,2),
("CheckPhraseBoxImput",5,2,2,2,2,2),
("024A",1,2),
("PrpPcAnm",1,1),
("PcOpnAnm",1,1),
("PcClsAnm",1,1),
("CheckLotoNumber",1,2),
("CompareLotoNumber",4,2,2,2,2),
("0250",2,2,2),
("0251",2,1,2),
("CheckBoxesNumber",1,2),
("0253",1,2),
("0254",1,2),
("0255",0),
("0256",2,2,2),
("SprtSave",0),
("RetSprtSave",3,2,2,2),
("ElevLgAnm",0),
("025A",1,2),
("025B",0),
("025C",0),
("025D",1,2),
("025E",0),
("025F",0),
("0260",1, 2),
("CheckAccessories",2,1,2),
("0262",0),
("0263",1,2),
("0264",1,2),
("0265",0),
("0266",0),
("Pokecasino",2,2,2),
("0268",1,2),
("0269",2,2,2),
("026A",3,2,2,2),
("026B",1,2),
("026C",1,2),
("Unownmsgbox",1,2),
("026E",1,2),
("026F",0),
("0270",2,1,2),
("Thanknameins",1,2),
("0272",1,1),
("0273",2,1,2),
("0274",1,2),
("0275",1,2),
("0276",3,2,2,2),
("0277",1,2),
("0278",2,2,2),
("0279",0),
("LgCstlView",0),
("027B",1,2),
("027C",2,2,2),
("027D",2,2,2),
("027E",1,2),
("027F",1,2),
("0280",4,1,2,1,1),
("0281",3,2,2,2),
("0282",1,2),
("0283",1,2),
("0284",1,2),
("0285",2,2,2),
("0286",1,2),
("0287",1,2),
("0288",1,2),
("0289",6,2,2,2,2,2,2),
("028A",1,2),
("028B",2,1,2),
("Pokepartypic",1,2),
("028D",0),
("028E",1, 2),
("CheckFirstTimeChampion",1,2),
("0290",0),
("0291",0),
("0292",2,1,2),
("0293",1,2),
("ShowBpntsbox",1,2),
("HideBpntsbox",0),
("0296",0),
("0297",0),
("0298",0),
("0299",1,2),
("029A",2,2,2),
("029B",4,2,2,2,2),
("029C",2,2,2),
("ChoiceMulti",2,2,2),
("HmEffect",2,2,2),
("CmrBmpEffect",1,2),
("DoubleBattle",3,2,2,2),
("Applymovement2",0),
("02A2",1,2),
("02A3",1,2),
("02A4",1,2),
("TrdchsPkmn",0),
("02A6",3,2,2,2),
("02A7",2,2,2),
("02A8",2,2,2),
("02A9",2,2,2),
("ComparePhraseBoxImput",5,2,2,2,2,2),
("02AB",1,2),
("ActMisteryGift",0),
("02AD",2,2,2),
("02AE",0),
("02AF",1,2),
("02B0",0),
("02B1",0),
("02B2",0),
("02B3",2,1,2),
("02B4",0),
("02B5",3,2,2,2),
("02B6",2,1,2),
("02B7",1,2),
("02B8",1,2),
("02B9",0),
("02BA",1,2),
("02BB",0),
("CheckWildBattle2",1,2),
("Wildbattle2",4,2,2,2,2),
("02BE",1,2),
("Bikeride",0),
("02C0",1,2),
("ShowSavebox",0),
("HideSavebox",0),
("02C3",0),
("02C4",1,1),
("02C5",2,2,2),
("SpinTradeUnion",0),
("CheckVersionGame",1,2),
("02C8",3, 2, 2, 2),
("02C9",0),
("FlrClckAnm",0),
("02CB",2,2,2),
("02CC",3,2,2,2),
("02CD",0),
("02CE",0),
("02CF",2,2,2),
("02D0",3,2,2,2),
("02D1",1,2),
("02D2",3,2,2,2),
("02D3",3,2,2,2),
("02D4",3,2,2,2),
("02D5",1,2),
("02D6",0),
("02D7",1,2),
("02D8",1,1),
("02D9",3,2,2,2),
("02DA",3,2,2,2),
("02DB",3,2,2,2),
("02DC",1,2),
("02DD",2,2, 2),
("02DE",5,2,2,2,2,2),
("02DF",1,2),
("02E0",2,2,2),
("02E1",2,2,2),
("02E2",0),
("02E3",0),
("02E4",3, 2, 2, 2),
("02E5",3,2,2,2),
("02E6",3,2,2,2),
("02E7",2,2,2),
("02E8",1,2),
("02E9",3,2,2,2),
("02EA",2,2,2),
("02EB",1,2),
("02EC",0),
("02ED",0),
("02EE",4,2,2,2,2),
("02EF",0),
("02F0",0),
("02F1",0),
("02F2",0),
("02F3",2,1,2),
("02F4",4,2,2,2,2),
("02F5",4,2,2,2,1),
("02F6",3, 2, 2, 2),
("02F7",1,2),
("02F8",0),
("02F9",2,2,2),
("02FA",2,2,2),
("02FB",0),
("02FC",1,2),
("02FD",2,1,2),
("02FE",2,2,2),
("02FF",2,2,2),
("0300",0),
("0301",0),
("0302",5,2,2,2,2,2),
("0303",2,2,2),
("0304",4,2,2,2,2),
("0305",2,2,2),
("0306",2,2,2),
("0307",1,2),
("0308",0),
("0309",0),
("030A",1,2),
("030B",0),
("030C",0),
("030D",1,2),
("030E",1,2),
("030F",2,2,2),
("0310",0),
("0311",1,2),
("0312",1,2),
("0313",1,2),
("0314",1,2),
("0315",1,2),
("0316",3,2,2,2),
("0317",3,2,2,2),
("0318",2,2,2),
("0319",0),
("031A",0),
("031B",1,2),
("031C",2,2,2),
("031D",1, 2),
("031E",2,2,2),
("031F",0),
("0320",0),
("0321",1,2),
("0322",0),
("0323",1, 2),
("0324",4, 2, 2, 2, 2),
("0325",1,2),
("0326",1,2),
("0327",1,2),
("PortalEffect",1,2),
("0329",4,2,2,2,2),
("032A",1,2),
("032B",1,2),
("032C",1,2),
("032D",0),
("032E",0),
("032F",2,2,2),
("0330",0),
("0331",0),
("0332",0),
("0333",1,2),
("0334",0),
("0335",3,2,2,2),
("0336",1,2),
("0337",0),
("0338",0),
("0339",0),
("033A",1,1),
("033B",0),
("033C",2,1,2),
("033D",2,1,2),
("033E",2,1,2),
("033F",0),
("0340",0),
("0341",4,1,2,2,1),
("0342",1,1),
("0343",2,1,2),
("0344",2,1,2),
("0345",2,1,2),
("0346",1,1),
("DysplayFloor",1,2),
)
Another list (ignore what the commands that have variable parameters ,listed above, say):
Nop1
End
Return xxxx yyyy
0004 xxxx
0005
0006
0007
0008
0009
000A
000B
000C
000D
000E
000F
0010 wwww xxxx yyyy zzzz
If xxxx yyyy
If2 xxxx yyyy
0013
Callstd xxxx
0015
Jump FunctionName
0017 wwww xxxx yyyy zzzz
0018
0019
Goto yyyyyyyy
Killscript
COMPARELASTRESULT xx FunctionName
COMPARELASTRESULT1 xx FunctionName
Clearflag xxxx
Setflag xxxx
Checkflag xxxx
0021
0022 xxxx
0023 xxxx
0024 xxxx
0025 xxxx
Comparevarstobyte xxxx yyyy
0027 xxxx yyyy
Setvar xxxx yyyy
Copyvar xxxx yyyy
002A
002B xx
Message xx
Message2 xxxx
002E xxxx
Message3 xx
0030
Waitbutton
0032
0033
Closemsgonkeypress
Freezemsgbox
Callmsgbox xxxx yyyy zzzz
Colormsgbox xx yyyy
Typemsgbox xx
NoMapmsgbox
Callmsgboxtext xx yyyy
003B xxxx
Menu
003D
Yesnobox xxxx
Waitfor xxxx
Multi vv ww xx yy zzzz
Multi2 vv ww xx yy zzzz
Txtscrpmulti xx yy
CloseMulti
Multi3 vv ww xx yy zzzz
0045 xxxx yyyy zzzz
Txtmsgscrpmulti xxxx yyyy zzzz
0047
Multirow xx
PlaySound xxxx
004A xxxx
004B xxxx
Cryfr xxxx yyyy
Waitcry
Soundfr xxxx
Fadedef
0050 xxxx
Stop xxxx
Restart
0053
0054 xxxx yyyy
0055 xxxx
0056
0057 xxxx
0058
0059 xxxx
005A xxxx yyyy
005B
005C
005D
Applymovement xxxx MovementName
Waitmovement
Lockall
Releaseall
Lock xxxx
Release xxxx
Addpeople xxxx
Removepeople xxxx
Lockcam xxxx yyyy
0067
Faceplayer
CheckSpritePosition xxxx yyyy
006A
006B xxxx yyyy zzzz
Continuefollow(Changemap) xx yyyy
Followhero xxxx yyyy
StopFollowhero
Givemoney xxxx
Takemoney xxxx yyyy
Checkmoney xxxx yyyy zzzz
Showmoney xxxx yyyy
Hidemoney
Updatemoney
Showcoins xxxx yyyy
Hidecoins
Updatecoins
Checkcoins xxxx yyyy zzzz
Givecoins xxxx
Takecoins xxxx yyyy zzzz
Takeitem xxxx yyyy zzzz
Giveitem xxxx yyyy zzzz
Checkstoreitem xxxx yyyy zzzz
Checkitem xxxx yyyy zzzz
007F xxxx yyyy
0080 xxxx yyyy
0081
0082
0083 xxxx yyyy zzzz
0084
0085 xxxx yyyy zzzz
0086
0087 xxxx yyyy zzzz
0088
0089
008A
008B
008C
008D
008E
008F xxxx yyyy zzzz
0090
0091
0092
0093 xxxx yyyy
0094 xxxx yyyy
0095 xxxx yyyy
GivePokemon wwww xxxx yyyy zzzz
GiveEgg xxxx yyyy
0098
Checkmove xxxx yyyy zzzz
009A xxxx yyyy
009B xxxx yyyy
009C xxxx yyyy zzzz
009D
009E
009F
00A0
Callend
00A2
Wfc
00A4
Interview
DressPokemon xxxx yyyy zzzz
DisplayDressedPokemon xxxx yyyy
00A8 xxxx yyyy
CapsuleEditor
SinnohMaps
BoxPkmn xx
DrawUnion
TrainerCaseUnion
00AE
RecordMixingUnion
EndGame
HallFameData
00B2 xxxx yyyy
Wfc xxxx
ChooseStarter
00B5
00B6 xxxx
00B7 xxxx yyyy
00B8 xxxx
00B9 xxxx yyyy
ChoosePlayerName
ChoosePokemnName xxxx yyyy
Fadescreen wwww xxxx yyyy zzzz
Resetscreen
Warp vvvv wwww xxxx yyyy zzzz
RockClimbAnimation xxxx
SurfAnimation xxxx
WaterfallAnimation xxxx
FlyAnimation xxxx
00C3
00C4
00C5 xxxx
Tuxedo
Checkbike xxxx
Ridebike xx
00C9 xx
00CA
BerryHiroAnimation xxxx
StopBerryHiroAnimation
Setvarhero xx
Setvarrival xx
Setvaralter xx
Setvarpoke xx yyyy
Setvaritem xx yyyy
00D2 xx yyyy
Setvaratkitem xx yyyy
Setvaratk xx yyyy
Setvarnum xx yyyy
Setvarpokenick xx yyyy
Setvarobj xx yyyy
Setvartrainer
00D9 xx
Setvarpokestored ww xxxx yyyy zz
Setvarstrhero xx
Setvarstrrival xx
Setvarstralter xx
StoreStarter xxxx
00DF xx yyyy
00E0 xx yyyy
00E1 xx yyyy
00E2 xx yyyy
00E3 xxxx yyyy
00E4 xxxx
Trainerbattle xxxx yyyy
Endtrainerbattle xxxx yyyy
00E7 xxxx yyyy zzzz
00E8 xxxx yyyy zzzz
00E9 xxxx
ActLeaugueBattlers xxxx
LostGoPc
CheckLost xxxx
00ED xxxx
00EE xxxx
00EF
00F0
00F1
ChsFriend wwww xxxx yyyy zzzz
WireBattleWait wwww xxxx yyyy zzzz
00F4
00F5
00F6
Pokecontest
00F8 xxxx
00F9 xxxx
00FA wwww xxxx yyyy zzzz
00FB xxxx
00FC
00FD xxxx yyyy
00FE xxxx yyyy
00FF xxxx yyyy
0100
0101
0102 xx yy
0103 xx yy
0104
0105
0106
0107 xxxx
0108
0109 xxxx
010A xxxx yyyy
010B xxxx yyyy
010C xxxx
010D
010E
010F
0110 wwww xxxx yyyy zzzz
FlashContest xxxx
EndFlash
0113
0114
0115 xxxx yyyy
ShowLnkCntRecord
0117
0118
0119 xxxx
011A
WarpMapElevator vvvv wwww xxxx yyyy zzzz
CheckFloor xxxx
011D
011E xxxx
011F
Setposaftship wwww xxxx yy zzzz
0121 xxxx
0122 xxxx
0123 xx yyyy
Wildbattle wwww xxxx yyyy zzzz
Starterbattle wwww xxxx yyyy zzzz
Explantionbattle
Honeytreebattle xxxx yyyy zzzz
0128 xxxx
Randombattle
012A
WriteAutograph
012C xxxx
012D xxxx yyyy
CheckDress xxxx yyyy
012F xxxx yyyy
0130 xxxx
GivePoketch
0132 xxxx
ActPktchAppl xxxx
StorePktchAppl xxxx yyyy
0135 xxxx
0136
0137
0138 xxxx
0139 xxxx
013A
013B
013C xxxx
013D
013E
013F xxxx yyyy
0140 xxxx
0141 xxxx
0142 xxxx
ExpectDecisionOther xxxx yyyy
0144 xxxx
0145 xxxx
0146 xxxx yyyy
Pokemart xxxx
Pokemart1 xxxx
Pokemart2 xxxx
Pokemart3 xxxx
Defeatgopc
014C xxxx
Checkgender xxxx
HealPkmn
014F
0150
0151
0152 xxxx
UnionRoom
0154
0155 xxxx yyyy
0156 xxxx
0157
ActPokedex
0159
GiveRShoes
Checkbadge xxxx yyyy
Setbdgtrue xxxx
Setbdgfalse xxxx
015E
015F
0160 xxxx
0161
0162
0163
0164
0165
0166 xxxx
0167
PrpDoorAnm vvvv wwww xxxx yyyy zz
Waitaction xx
Waitclose xx
Opendoor xx
Closedoor xx
016D
016E
016F
0170
0171
0172
0173
0174
0175 xxxx yyyy zzzz
0176 xxxx yy
Checkpartynumber xxxx
OpnBerry xx
0179 xxxx
017A
017B xx yyyy zzzz
017C xx yyyy
017D xxxx
017E xxxx
017F xxxx
0180
0181 xxxx
0182 xxxx
0183 xxxx
0184
0185
SetOwPosition xxxx yyyy zzzz
0187 vvvv wwww xxxx yyyy zzzz
SetOwMovement xxxx yyyy
ReleaseOw xxxx yyyy
SetDoorPassable xxxx yyyy zzzz
SetDoorLocked xxxx yyyy zzzz
018C xxxx yyyy
Showclocksave
Hideclocksave
018F xxxx
0190 xxxx
ChsPkmmenu
ChsPkmmenu2
StorePkmmenu2 xxxx
0194 wwww xxxx yyyy zzzz
0195 xxxx yyyy
Pokeinfo xxxx
0197 xxxx
Storepkmnum xxxx yyyy
0199 xxxx yyyy
CheckPartynum2 xxxx
019B xxxx yyyy
019C
019D xxxx
019E xxxx yyyy
019F xxxx
01A0
01A1
01A2
01A3 xxxx
01A4 xxxx yyyy
01A5
01A6
01A7
01A8
01A9
01AA xxxx yyyy
01AB xxxx yyyy
EggAnm
01AD
01AE xxxx yyyy
01AF xxxx yyyy zzzz
01B0 xxxx
01B1 xxxx
01B2 xxxx
Mailbox
01B4 xxxx
Recordlist xxxx
01B6 xxxx
01B7 xxxx yyyy
01B8 xxxx yyyy
Checkhappy xxxx yyyy
01BA xxxx yyyy
01BB
01BC wwww xxxx yyyy zzzz
CheckPosition xxxx
01BE xxxx
01BF xxxx
CheckPkmnParty xxxx yyyy
CopyPkmnHeight xxxx yyyy
SetvarPkmnHeight xxxx
ComparePkmnHeight xxxx yyyy zzzz
CheckPkmnHeight xxxx yyyy zzzz
01C5 xxxx yyyy
Moveinfo xxxx
Storemove xxxx
01C8 xxxx yyyy
Deletemove xxxx yyyy
01CA xxxx yyyy zzzz
01CB xxxx yyyy zz
01CC
01CD vvvv wwww xxxx yyyy zzzz
01CE
01CF",1),
01D0 xx
01D1 xx
01D2 xxxx yyyy
01D3 xxxx yyyy zzzz
01D4
01D5 xxxx
01D6 xxxx yyyy
Berrypoffin
01D8 xxxx
Battlermresult xxxx yyyy
01DA
01DB xxxx yyyy
01DC
01DD xxxx yyyy zzzz
01DE wwww xxxx yyyy zzzz
01DF xxxx
01E0 xxxx
01E1 xxxx yyyy zzzz
01E2 xxxx yyyy
01E3 xxxx yyyy
01E4 xxxx
01E5 xxxx
01E6
01E7 xxxx
CheckSinPkdx xxxx
CheckNatPkdx xxxx
ShowSinSheet xxxx
ShowNatSheet xxxx
01EC
01ED xxxx
01EE
01EF
01F0
CheckFossil xxxx
01F2
01F3 xxxx
01F4 xxxx yyyy
01F5 xxxx yyyy zzzz
CheckPokeLevel xxxx yyyy
01F7 xxxx yyyy
01F8
01F9 xxxx
01FA
01FB xxxx yyyy
01FC
01FD
01FE xx
01FF xxxx yyyy zzzz
0200 xxxx
0201 xxxx
0202 xx
0203 vvvv wwww xxxx yyyy zzzz
Warplstelev
Geonet
Gmbynocule
0207 xxxx
Pokepic xxxx yyyy
Hidepic
020A xxxx
020B
020C
020D xx yyyy
020E
020F xxxx yyyy
0210 xxxx yyyy
0211 xx
0212 xxxx yyyy
0213 xxxx yyyy
0214 xxxx
0215
0216 xxxx
0217 xxxx yyyy
0218 xxxx
0219
021A xxxx
021B
021C xx
021D",1),
021E
021F xxxx yyyy
0220
Remembermove xxxx
0222
0223 xxxx yyyy
Teachmove xxxx yyyy
Checkteachmove xxxx
0226 xx
0227
CheckPkmnTrade xxxx
TradeChosenPokemon xxxx
StopTrade
022B
022C
022D xx yyyy
022E
022F xxxx
0230 xxxx yyyy zzzz
0231 xxxx yyyy
0232 xx yyyy
0233 xxxx yyyy
0234 xxxx
0235",1),
0236 xxxx
0237 wwww xxxx yyyy zzzz
0238 xxxx yyyy
Deciderules xxxx
023A xxxx yyyy zzzz
HealpcAnm xxxx
023C xxxx yyyy
ShipAnm wwww xxxx yyyy zzzz
023E",1),
023F
0240
0241
0242
PhraseBox1W xxxx yyyy zzzz
PhraseBox2W wwww xxxx yyyy zzzz
0245 xxxx yyyy
0246 xxxx
0247 xxxx
0248 xxxx yyyy zzzz
CheckPhraseBoxImput vvvv wwww xxxx yyyy zzzz
024A xxxx
PrpPcAnm xx
PcOpnAnm xx
PcClsAnm xx
CheckLotoNumber xxxx
CompareLotoNumber wwww xxxx yyyy zzzz
0250 xxxx yyyy
0251 xx yyyy
CheckBoxesNumber xxxx
0253 xxxx
0254 xxxx
0255
0256 xxxx yyyy
SprtSave
RetSprtSave xxxx yyyy zzzz
ElevLgAnm
025A xxxx
025B
025C
025D xxxx
025E
025F
0260 xxxx
CheckAccessories xx yyyy
0262
0263 xxxx
0264 xxxx
0265
0266
Pokecasino xxxx yyyy
0268 xxxx
0269 xxxx yyyy
026A xxxx yyyy zzzz
026B xxxx
026C xxxx
Unownmsgbox xxxx
026E xxxx
026F
0270 xx yyyy
Thanknameins xxxx
0272 xx
0273 xx yyyy
0274 xxxx
0275 xxxx
0276 xxxx yyyy zzzz
0277 xxxx
0278 xxxx yyyy
0279
LgCstlView
027B xxxx
027C xxxx yyyy
027D xxxx yyyy
027E xxxx
027F xxxx
0280 ww xxxx yy zz
0281 xxxx yyyy zzzz
0282 xxxx
0283 xxxx
0284 xxxx
0285 xxxx yyyy
0286 xxxx
0287 xxxx
0288 xxxx
0289 uuuu vvvv wwww xxxx yyyy zzzz
028A xxxx
028B xx yyyy
Pokepartypic xxxx
028D
028E xxxx
CheckFirstTimeChampion xxxx
0290
0291
0292 xx yyyy
0293 xxxx
ShowBpntsbox xxxx
HideBpntsbox
0296
0297
0298
0299 xxxx
029A xxxx yyyy
029B wwww xxxx yyyy zzzz
029C xxxx yyyy
ChoiceMulti xxxx yyyy
HmEffect xxxx yyyy
CmrBmpEffect xxxx
DoubleBattle xxxx yyyy zzzz
Applymovement2
02A2 xxxx
02A3 xxxx
02A4 xxxx
TrdchsPkmn
02A6 xxxx yyyy zzzz
02A7 xxxx yyyy
02A8 xxxx yyyy
02A9 xxxx yyyy
ComparePhraseBoxImput vvvv wwww xxxx yyyy zzzz
02AB xxxx
ActMisteryGift
02AD xxxx yyyy
02AE
02AF xxxx
02B0
02B1
02B2
02B3 xx yyyy
02B4
02B5 xxxx yyyy zzzz
02B6 xx yyyy
02B7 xxxx
02B8 xxxx
02B9
02BA xxxx
02BB
CheckWildBattle2 xxxx
Wildbattle2 wwww xxxx yyyy zzzz
02BE xxxx
Bikeride
02C0 xxxx
ShowSavebox
HideSavebox
02C3
02C4 xx
02C5 xxxx yyyy
SpinTradeUnion
CheckVersionGame xxxx
02C8 xxxx yyyy zzzz
02C9
FlrClckAnm
02CB xxxx yyyy
02CC xxxx yyyy zzzz
02CD
02CE
02CF xxxx yyyy
02D0 xxxx yyyy zzzz
02D1 xxxx
02D2 xxxx yyyy zzzz
02D3 xxxx yyyy zzzz
02D4 xxxx yyyy zzzz
02D5 xxxx
02D6
02D7 xxxx
02D8 xx
02D9 xxxx yyyy zzzz
02DA xxxx yyyy zzzz
02DB xxxx yyyy zzzz
02DC xxxx
02DD xxxx yyyy
02DE vvvv wwww xxxx yyyy zzzz
02DF xxxx
02E0 xxxx yyyy
02E1 xxxx yyyy
02E2
02E3
02E4 xxxx yyyy zzzz
02E5 xxxx yyyy zzzz
02E6 xxxx yyyy zzzz
02E7 xxxx yyyy
02E8 xxxx
02E9 xxxx yyyy zzzz
02EA xxxx yyyy
02EB xxxx
02EC
02ED
02EE wwww xxxx yyyy zzzz
02EF
02F0
02F1
02F2
02F3 xx yyyy
02F4 wwww xxxx yyyy zzzz
02F5 wwww xxxx yyyy zz
02F6 xxxx yyyy zzzz
02F7 xxxx
02F8
02F9 xxxx yyyy
02FA xxxx yyyy
02FB
02FC xxxx
02FD xx yyyy
02FE xxxx yyyy
02FF xxxx yyyy
0300
0301
0302 vvvv wwww xxxx yyyy zzzz
0303 xxxx yyyy
0304 wwww xxxx yyyy zzzz
0305 xxxx yyyy
0306 xxxx yyyy
0307 xxxx
0308
0309
030A xxxx
030B
030C
030D xxxx
030E xxxx
030F xxxx yyyy
0310
0311 xxxx
0312 xxxx
0313 xxxx
0314 xxxx
0315 xxxx
0316 xxxx yyyy zzzz
0317 xxxx yyyy zzzz
0318 xxxx yyyy
0319
031A
031B xxxx
031C xxxx yyyy
031D xxxx
031E xxxx yyyy
031F
0320
0321 xxxx
0322
0323 xxxx
0324 wwww xxxx yyyy zzzz
0325 xxxx
0326 xxxx
0327 xxxx
PortalEffect xxxx
0329 wwww xxxx yyyy zzzz
032A xxxx
032B xxxx
032C xxxx
032D
032E
032F xxxx yyyy
0330
0331
0332
0333 xxxx
0334
0335 xxxx yyyy zzzz
0336 xxxx
0337
0338
0339
033A xx
033B
033C xx yyyy
033D xx yyyy
033E xx yyyy
033F
0340
0341 ww xxxx yyyy zz
0342 xx
0343 xx yyyy
0344 xx yyyy
0345 xx yyyy
0346 xx
DysplayFloor xxxx
)
movCmd=(
"Seeup",
"Seedown",
"Seeleft",
"Seeright",
"Walkupsl",
"Walkdownsl",
"Walkleftsl",
"Walkrightsl",
"Walkupnor",
"Walkdownnor",
"Walkleftnor",
"Walkrightnor",
"Walkupfst",
"Walkdownfst",
"Walkleftfst",
"Walkrightfst",
"Walkupvrfst",
"Walkdownvrfst",
"Walkleftvrfst",
"Walkrightvrfst",
"0014",
"0015",
"0016",
"0017",
"0018",
"0019",
"001A",
"001B",
"001C",
"001D",
"001E",
"001F",
"0020",
"0021",
"0022",
"0023",
"0024",
"0025",
"0026",
"0027",
"0028",
"0029",
"002A",
"002B",
"002C",
"002D",
"002E",
"002F",
"0030",
"0031",
"0032",
"0033",
"0034",
"0035",
"0036",
"0037",
"0038",
"0039",
"003A",
"003B",
"003C",
"003D",
"003E",
"003F",
"0040",
"0041",
"0042",
"0043",
"0044",
"0045",
"0046",
"0047",
"0048",
"0049",
"004A",
"004B",
"004C",
"004D",
"004E",
"004F",
"0050",
"0051",
"0052",
"0053",
"0054",
"0055",
"0056",
"0057",
"0058",
"0059",
"005A",
"005B",
"005C",
"005D",
"005E",
"005F",
"0060",
"0061",
"0062",
"0063",
"0064",
"0065",
"0066",
"0067",
"0068",
"0069",
"006A",
"006B",
"006C",
"006D",
"006E",
"006F",
"0060",
"0061",
"0062",
"0063",
"0064",
"0065",
"0066",
"0067",
"0068",
"0069",
"006A",
"006B",
"006C",
"006D",
"006E",
"006F",
)
jumpcmds=(0x16, 0x1A, 0x1C, 0x1D,)
endcmds=(2, 0x1B)
Powered by vBulletin™ Version 4.0.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.