DPP Script Commands: Difference between revisions
Jump to navigation
Jump to search
Line 34: | Line 34: | ||
|80XX YYYY | |80XX YYYY | ||
|Compare variable 80XX to value YYYY | |Compare variable 80XX to value YYYY | ||
| | |||
|If | |||
|458 | |458 | ||
|-style="background: #eee;" align="center" | |-style="background: #eee;" align="center" | ||
Line 39: | Line 41: | ||
|80XX 80YY | |80XX 80YY | ||
|Compare variable 80XX to variable 80YY | |Compare variable 80XX to variable 80YY | ||
| | |||
|If2 | |||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
|0014 | |0014 | ||
|XXYY | |XXYY | ||
|Calls standard function number XXYY, see [[DPP Scripting: Standard Functions]] for values of YY, XX=07 in all examples we have seen. | |Calls standard function number XXYY, see [[DPP Scripting: Standard Functions]] for values of YY, XX=07 in all examples we have seen. | ||
| | | | ||
|Callstd | |||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
|0016 | |0016 | ||
Line 49: | Line 54: | ||
|Jump YYYYYYYY bytes after the last digit of YYYYYYYY | |Jump YYYYYYYY bytes after the last digit of YYYYYYYY | ||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
| | |||
|Jump | |||
|001A | |001A | ||
|XXXX | |XXXX | ||
|Goto XXXX bytes push location so we can return here with 001B | |Goto XXXX bytes push location so we can return here with 001B | ||
| | | | ||
|Goto | |||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
|001B | |001B | ||
Line 58: | Line 66: | ||
|Kill Script, pop back to calling command | |Kill Script, pop back to calling command | ||
|411 | |411 | ||
|Killscript | |||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
|001C | |001C | ||
|XX YYYYYYYY | |XX YYYYYYYY | ||
|Compare last result to XX if true goto + YYYYYYYY | |Compare last result to XX if true goto + YYYYYYYY | ||
| | |||
|CompareLastResult | |||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
|001D | |001D | ||
|XX YYYYYYYY | |XX YYYYYYYY | ||
|Compare Last Result to XX, if true go + YYYYYYYY, push location to return with 001B | |Compare Last Result to XX, if true go + YYYYYYYY, push location to return with 001B | ||
| | |||
|CompareLastResult1 | |||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
|001E | |001E | ||
|XXXX | |XXXX | ||
|Clear flag XXXX. | |Clear flag XXXX. | ||
| | |||
|Clearflag | |||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
|001F | |001F | ||
|XXXX | |XXXX | ||
|Set flag XXXX. | |Set flag XXXX. | ||
| | |||
|Setflag | |||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
|0020 | |0020 | ||
|XXXX | |XXXX | ||
|Store Flag XXXX's Status as last result | |Store Flag XXXX's Status as last result | ||
| | |||
|Checkflag | |||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
|0023 | |0023 | ||
|XXXX | |XXXX | ||
| | | | ||
| | |||
|SetValue | |||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
|0024 | |0024 | ||
Line 93: | Line 114: | ||
|0026 | |0026 | ||
|80XX 80YY | |80XX 80YY | ||
| | |||
| | |||
| | | | ||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
Line 102: | Line 125: | ||
|80XX YYYY | |80XX YYYY | ||
|Set value of variable 80XX to YYYY | |Set value of variable 80XX to YYYY | ||
| | | | ||
|Setvar | |||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
|0029 | |0029 | ||
|80XX 80BB | |80XX 80BB | ||
|Copy value from variable 80XX to 80YY | |Copy value from variable 80XX to 80YY | ||
| | |||
|Copyvar | |||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
|002C | |002C | ||
|XX | |XX | ||
|Get text entry XX from text file corresponding to script file | |Get text entry XX from text file corresponding to script file | ||
| | |||
|Message | |||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
|002D | |002D | ||
|80XX | |80XX | ||
|Display 80XX text | |Display 80XX text | ||
| | |||
|Message1 | |||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
|002E | |002E | ||
Line 131: | Line 161: | ||
| | | | ||
|Wait For Button Press (arrows, A, B,X) | |Wait For Button Press (arrows, A, B,X) | ||
| | |||
|Waitbutton | |||
|- style="background: #eee;" align="center" | |- style="background: #eee;" align="center" | ||
|?0033 | |?0033 |
Revision as of 15:25, 3 July 2009
This page will contain the script commands for DPP. Movement commands used in the scripts will also be listed.
Please include an example of which script file the command is used in so we can double check
DPP Script Commands
Hex Value (decimal) | Parameters | Descriptions | Example PPRE map Number | PPRE command | ||
---|---|---|---|---|---|---|
0000 | nop | |||||
0001 | nop1 | |||||
0002 | End | |||||
0003 | XXXX 80YY | Return | ||||
0011 | 80XX YYYY | Compare variable 80XX to value YYYY | If | 458 | ||
0012 | 80XX 80YY | Compare variable 80XX to variable 80YY | If2 | |||
0014 | XXYY | Calls standard function number XXYY, see DPP Scripting: Standard Functions for values of YY, XX=07 in all examples we have seen. | Callstd | |||
0016 | YYYYYYYY | Jump YYYYYYYY bytes after the last digit of YYYYYYYY | ||||
Jump | 001A | XXXX | Goto XXXX bytes push location so we can return here with 001B | Goto | ||
001B | Kill Script, pop back to calling command | 411 | Killscript | |||
001C | XX YYYYYYYY | Compare last result to XX if true goto + YYYYYYYY | CompareLastResult | |||
001D | XX YYYYYYYY | Compare Last Result to XX, if true go + YYYYYYYY, push location to return with 001B | CompareLastResult1 | |||
001E | XXXX | Clear flag XXXX. | Clearflag | |||
001F | XXXX | Set flag XXXX. | Setflag | |||
0020 | XXXX | Store Flag XXXX's Status as last result | Checkflag | |||
0023 | XXXX | SetValue | ||||
0024 | XXXX | |||||
0025 | XXXX | |||||
0026 | 80XX 80YY | |||||
0027 | 80XX 80YY | |||||
0028 | 80XX YYYY | Set value of variable 80XX to YYYY | Setvar | |||
0029 | 80XX 80BB | Copy value from variable 80XX to 80YY | Copyvar | |||
002C | XX | Get text entry XX from text file corresponding to script file | Message | |||
002D | 80XX | Display 80XX text | Message1 | |||
002E | ||||||
002F | XXXX | Display text XXXX | ||||
0030 | ||||||
0031 | Wait For Button Press (arrows, A, B,X) | Waitbutton | ||||
?0033 | Remove Text Box after Button Press. | |||||
0034 | Remove Text box | |||||
0035 | Freeze Text box | |||||
0036 | AA BB CC DD | Call textbox with text AA, type BB, picture CC, DD not zero makes picture box transparent. | 456 | |||
0037 | XX AAAA | Color Text Box | ||||
00 0000 | Brown | |||||
01 0000 | Green | |||||
02 0000 | ||||||
03 0000 | Grey | |||||
04 0000 | Blacked Out | |||||
0038 | AA | Type AA textbox | ||||
02 | No border | |||||
03 | With Border | |||||
0039 | No Map in text box | |||||
003A | XX | Call Color/Map Textbox with text ID XX | ||||
003B | 80XX | |||||
003C | Open Menu | |||||
003E | 80XX | Bring up yes/no box | ||||
003F | AAAA | Hold for AAAA (units?) then continue | ||||
0040 | 00 XX YY ZZ WW 80TT | Put up a list of choices for the player to make.(XX=X Coordinates;YY=Y Coordinates;ZZ=Cursor position;WW=Determine if B=Cancel | 34 | |||
0041 | 00 XX YY ZZ WW 80TT QQQQ PPPP | Apparently similar to 40, but different. | 200 | |||
0042 | XXXX YYYY | After 40 command, select XXXX text and YYYY script link with it | 200 | |||
0044 | 00 XX YY ZZ WW 80TT QQQQ PPPP | The same as 40, I think | 200 | |||
0045 | XXXX YYYY 80ZZ | |||||
0046 | XXXX YYYY ZZZZ | After 40 or 44 command, select XXXX text into box, YYYY text into msgbox, and ZZZZ script link with it | ||||
0047 | Generally used after 46 command | |||||
0048 | XX | After 42 command, display words in XX column | 200 | |||
0049 | XXXX | Start script upon pressing A, XXXX=05DC most of the time | 0 | |||
004A | XXXX | |||||
004B | XXXX | |||||
004C | AAAA | Plays Pokemon Cry(AAAA=Number Pokemon) | 1020 | |||
004D | Wait Pokemon Cry | 1020 | ||||
004E | AAAA | Play a sound AAAA | ||||
004F | Return to default music map | |||||
0050 | XXXX | |||||
0051 | XXXX | Stop music | ||||
0052 | Restart music | |||||
0054 | XXXX YYYY | |||||
0055 | XXXX YYYY | |||||
005A | XXXX YYYY | |||||
005E | XXXX YYYY | Move person XXXX acording to movement at YYYY + offset XXXX=FF00 for hero. | Applymovement | |||
005F | Wait Movement Command | Waitmovement | ||||
0060 | Lock All Overword sprite | |||||
0061 | Release All Overword sprite | |||||
0062 | XXXX | Lock XXXX Overword sprite | ||||
0063 | XXXX | Release XXXX Overword sprite | ||||
0064 | XXXX | Add overworld sprite for person event AA | ||||
0065 | XXXX | Remove overworld sprite for person event AA | ||||
0066 | XXXX YYYY | Lock camera | ||||
0068 | Face Player | |||||
0069 | 80XX 80YY | Check Position of Overworld | ||||
006C | XXXX YYYY | Continue Followhero for XXXX people(When change map) | ||||
006D | XXXX YYYY ZZZZ | Followhero for XXXX people | ||||
006E | XXXX | Stop followhero | ||||
006F | XXXX | Give amount of money to player | ||||
0070 | XXXX | Take amount of money from player | 124 | |||
0071 | 80XX YYYY ZZZZZ | |||||
0072 | XXXX YYYY | Show money box | 124 | |||
0073 | Hide money box | 124 | ||||
0074 | Update money box | 124 | ||||
0075 | XXXX YYYY | Show coins box | ||||
0076 | Hide coins box | |||||
0077 | Update coins box | 124 | ||||
0078 | XXXX | |||||
0079 | XXXX | Give amount of coins to player | ||||
007A | XXXX | Take amount of coins to player | ||||
007B | XXXX YYYY | Receive YYYY quantity of XXXX item | ||||
007C | XXXX YYYY | Give XXXX quantity of YYYY item | ||||
007D | 80XX 80YY 80ZZ | Check if possible to give item 80XX, 80YY of them and store if successful in 80ZZ | ||||
007E | XXXX YYYY | Check if you have a item XXXX with YYYY quantity | 8 | |||
0085 | XXXX YYYY ZZZZ | |||||
0094 | 80XX YYYY | |||||
0095 | 80XX 80YY | |||||
0096 | 80XX YYYY ZZZZ 80WW | Give Starter stored in 80XX at YYYY level and store in 80WW | ||||
0097 | XXXX YYYY | |||||
0099 | 80XX YYYY | Check if party pokemon 80XX knows move YYYY | 458 | |||
009A | 80XX YYYY | |||||
009B | 80XX 80YY | |||||
00A1 | Used at end of call screen commands | |||||
00A3 | Nintendo Wi-fi connection | |||||
00A5 | Start Interview | |||||
00A6 | Start Wearing Pokemon | |||||
00A7 | XXXX 80YY | |||||
00A8 | XXXX 80YY | |||||
00A9 | Capsule Editor | |||||
00AA | Open Sinnoh Maps | |||||
00AB | XX | Box Storage Pokemon | ||||
00 | Deposite Pokemon | |||||
01 | Withdraw Pokemon | |||||
02 | Move Pokemon | |||||
03 | Move Item | |||||
04 | Compare Pokemon | |||||
00AE | ||||||
00B0 | Game Ending | |||||
00B1 | Hall of fame memorial | |||||
00B2 | 80XX 80YY | |||||
00B3 | 80XX | Nintendo Wi-fi Connection | ||||
00B4 | Choose starter pokemon | |||||
00B6 | 80XX | |||||
00B7 | XXXX 80YY | |||||
00B8 | 80XX | |||||
00B9 | XXXX 80YY | |||||
00BA | XXXX 80YY | Choose player name | ||||
00BB | XXXX 80YY | Choose pokemon nickname | ||||
00BC | XXXX YYYY ZZZZ WWWW | Fadescreen | ||||
00BD | Resetscreen | 50,72 | ||||
00BE | II II 00 00 XX xx YY yy PP PP | Warp to a map(XX: X Coordinates into map. xx=X Coordinates in word map, same for YY.PP=People sprite position) | 1035 | |||
00BF | XXXX | Use Rock Climb | ||||
00C0 | XXXX | Use Surf | ||||
00C1 | XXXX | Use Waterfall | ||||
00C2 | XXXX | Use Fly | ||||
00C5 | 80XX | Arrange 80XX for 029E animation | 375 | |||
00C6 | Change to tuxedo | |||||
00C7 | 80XX | Check if hero is onto bike and store in 80XX | ||||
00C8 | XX | Set hero XX bike(00=on,01=off) | 205 | |||
00C9 | XX | |||||
00CB | XXXX | |||||
00CD | XX | Set Text Var XX = Hero | 342 | |||
00CE | XX | Set Text Var XX = Rival | 342 | |||
00CF | XX | Set Text Var XX = Male\Female alter ego. | 342 | |||
00D0 | XX 80YY | Set text var XX to name of pokemon number 80YY | 458 | |||
00D1 | XX 80YY | Get the name for item number = value of variable 80YY and store it in text variable XX | 72 | |||
00D3 | XX 80YY | Get attack corresponding to item number = value of variable 80YY store in text variable XX | 72 | |||
00D4 | XX 0000 | Set text var XX to an attack | ||||
00D5 | XX 0000 | Set text var XX to a number | ||||
00D6 | XX YYYY | Set text var XX to a pokemon nickname in team | ||||
00D7 | XX YYYY | Set text var XX to an object? | ||||
00D8 | XX YYYY | Set text var XX to a type of trainer | ||||
00D9 | XX | |||||
00DA | XX 40YY ZZZZ WWWW | |||||
00DB | XX | Set text var AA to Starter Hiro | ||||
00DC | XX | Set text var XX to Starter Rival | ||||
00DD | XX | Set text var XX to Starter Alter ego. | ||||
00DE | 80XX | Store Pokemon Starter into 80XX | ||||
00DF | XX 80YY | |||||
00E0 | XX 80YY | |||||
00E1 | XX 80YY | |||||
00E2 | XX 40YY | |||||
00E3 | 40XX 40YY | |||||
00E4 | 80XX | |||||
00E5 | XXXX YYYY | Start Battle XXXX | 50,72 | |||
00E6 | 80XX 80YY | End Trainer Battle 80XX | 50,72 | |||
00E7 | 80XX 80YY 80ZZ | |||||
00E8 | 80XX 80YY 80ZZ | |||||
00E9 | 80XX | |||||
00EA | 80XX | |||||
00EB | Lost battle go to pokemon center. | 50,72 | ||||
00EC | 80XX | Check if lost battle, store result in variable 80XX | 50,72 | |||
00ED | 80XX | |||||
00EE | 80XX | |||||
00EF | Repeat Last Battle? | |||||
00F2 | XXXX 80YY 80ZZ 80WW | Open Choose Friend for Wireless Trade screen | ||||
00F3 | Open Wireless Battle Waiting | |||||
00F7 | Start Pokemon Contest | |||||
00F8 | XXXX | |||||
00F9 | XXXX | |||||
00FA | 80XX 80YY 80ZZ 40WW | |||||
00FB | 40XX | |||||
00FD | 80XX YYYY | |||||
00FE | 80XX YYYY | |||||
00FF | 80XX YYYY | |||||
0102 | XX YY | |||||
0103 | XX YY | |||||
0107 | 80XX | |||||
0109 | 80XX | |||||
010A | XXXX 40YY | |||||
010B | XXXX 80YY | |||||
010C | 40XX | |||||
0110 | 80XX 80YY 80ZZ 40WW | |||||
0111 | Some Flash into the scene | 206 | ||||
0112 | Stop 0111 command | 206 | ||||
0113 | Fade screen as a curtain | 206 | ||||
0114 | 40XX 40YY | |||||
0115 | 80XX 80YY | |||||
0116 | Show Link Contest Record Box | |||||
011B | XXXX YYYY | Set Warp for a Elevator(XXXX=map YYYY=coordinates | ||||
011C | 40XX | Check Floor in a Elevator and Store into 40XX | ||||
011E | 80XX | |||||
0121 | 80XX | |||||
0123 | XXXX 80YY | |||||
0124 | XXXX YYYY ZZZZ | Start Wild Battle (XXXX=Pokemon Numeber YYYY=Level ZZZZ=Item) | ||||
0125 | XXXX YYYY ZZZZ WWWW | Starter Battle | ||||
0126 | First Wild Battle Explanation | |||||
0127 | XXXX YYYY ZZZZ | Honey Tree Battle | ||||
0128 | 80XX | |||||
0129 | Random Wurmple Battle(Change Level) | |||||
012B | Show Write Autograph Scene | |||||
012C | 80XX | |||||
012D | 80XX YYYY | Save Game Data | 205 | |||
012E | XXXX 80YY | Check if is stored a dressed pokemon picture? | ||||
0130 | 80XX | |||||
0131 | Give Poketch First time | |||||
0132 | 80XX | Check if Poketch is activated and stored into 80XX | ||||
0133 | XXXX | Give Poketch Application XXXX | ||||
0134 | XXXX 80YY | Store Poketch Application XXXX to 80YY | ||||
0135 | XXXX | |||||
0138 | 80XX | |||||
0139 | XXXX | |||||
013B | XXXX | |||||
013C | XXXX | |||||
013F | XXXX 80YY | |||||
0140 | 80XX | |||||
0141 | 80XX | |||||
0142 | XXXX | |||||
0146 | 80XX 80YY | |||||
0147 | XXXX | Show Pokemart with XXXX items | ||||
0148 | XXXX | Show Pokemart 2 with XXXX items | ||||
0149 | XXXX | Show Pokemart 3 with XXXX items | ||||
014A | AAAA | Show Pokemart 4 with AAAA items | ||||
014B | Player defeated go to Pc | |||||
014C | XXXX | |||||
014D | 80XX | |||||
014E | Player Pokemon are healed | |||||
0152 | XXXX | |||||
0153 | Player go to Union Room | |||||
0155 | 80XX 80YY | |||||
0156 | 80XX | |||||
015B | AA 80BB | Check if obtained badge AA and store result in variable 0x80BB | 50, 72, 411 | |||
015C | AA | Set obtained badge AA to true | 50, 72 | |||
015D | AA | Set badge AA to false | ||||
02BA | 80XX | |||||
0166 | 40XX | |||||
0168 | XXXX YYYY ZZZZ WWWW 4D | |||||
016A | 4D | |||||
016B | 4D | |||||
016C | 4D | |||||
0173 | Change solidity of object? | |||||
0175 | XXXX YYYY ZZZZ | |||||
0176 | XXXX YYYY | |||||
0177 | 80XX | Check Pokemon Party quantity and store into 80XX | ||||
0178 | Open Berry Pouch | |||||
0179 | 80XX | |||||
017A | XXXX 80YY | |||||
017B | XXXX YYYY ZZZZ | |||||
017C | XX 80YY | |||||
017D | 80XX | |||||
017E | 80XX | |||||
017F | 80XX | |||||
0181 | 80XX | |||||
0182 | 80XX | |||||
0183 | 80XX | |||||
0184 | XXXX | |||||
0186 | XXXX YYYY ZZZZ | Move Owerword XXXX, on YYYY coordinates into map | ||||
0188 | XXXX YYYY | Change Overword XXXX default movement to YYYY movement. | ||||
0189 | XXXX YYYY | Reset attributes for Overworld XXXX | ||||
018A | XXXX YYYY ZZZZ | |||||
018B | XXXX YYYY ZZZZ | |||||
018C | XXXX YYYY | |||||
018D | Show little clock while save game | 205 | ||||
018E | Hide little clock while save game | 205 | ||||
018F | 80XX | |||||
0191 | Choose Pokemon Menu, store number as last result | 458 | ||||
0192 | Choose Pokemon for Battle Tower (everyone banned) | |||||
0193 | 80XX | Store Last Result in 80XX, 80XX=00FF means no pokemon was chosen | 458 | |||
0194 | 80XX 80YY 80ZZ WWWW | Choose Pokemon everyone able | ||||
0195 | 40XX 80YY | |||||
0196 | 80XX | Open Pokemon Info | ||||
0197 | 80XX | |||||
0198 | 80XX 80YY | Store the pokemon number of party pokemon 80XX, in 80YY If the pokemon is an egg the value is 0000. | 458 | |||
0199 | 80XX 80YY | |||||
019A | 80XX | |||||
019B | 80XX YYYY | |||||
019D | 80XX | |||||
019E | XXXX 80YY | |||||
019F | XXXX | |||||
01A3 | 80XX | |||||
01AB | 80XX YYYY | |||||
01AC | Egg animation | 205 | ||||
02BA | 80XX | |||||
01B1 | XXXX | |||||
01B2 | XXXX | Hide leg of a person XXXX, then if you talk with her, he disappear completely | ||||
01B3 | Open Mailbox | |||||
01B5 | XXXX | Open Record List AA | ||||
01B6 | 80XX | |||||
01B7 | 80XX YYYY | |||||
01B8 | 80XX YYYY | |||||
01B9 | 80XX 80YY | Store happiness of pokemon 80YY into 80XX | 458 | |||
01BA | XXXX 40YY | |||||
01BD | 80XX | |||||
01BF | 40XX | |||||
01C0 | 80XX | |||||
01C1 | 80XX 80YY | |||||
01C2 | 80XX | |||||
01C3 | XXXX YYYY 80ZZ | |||||
01C4 | XXXX YYYY | |||||
01C5 | XXXX YYYY | |||||
01C6 | XXXX | Open Battle Moves of Pokemon AA in the party | ||||
01C7 | 80XX | Store data move in AA80 | ||||
01C8 | 80XX 80YY | |||||
01C9 | XXXX YYYY | Delete move chosen in 01C6 | ||||
01CA | 80XX 80YY 80ZZ | |||||
01CB | XXXX YYYY ZZZZ | |||||
01CD | XXXX 80YY ZZZZ WWWW QQQQ | |||||
01CF | Variable | |||||
01D0 | XXXX | |||||
01D1 | XXXX | |||||
01D2 | 80XX 80YY | |||||
01D3 | 80XX 80YY 80ZZ | |||||
01D5 | 80XX | |||||
01D6 | 80XX 80YY | |||||
01D7 | Open Berry Pouch for Poffin | |||||
01D8 | 80XX | |||||
01D9 | 80XX 80YY | Open Battle Room Result | ||||
01DB | XXXX YYYY | |||||
01DD | XXXX 40YY ZZZZ | |||||
01DE | 40XX YYYY 80ZZ 80WW | |||||
01DF | 40XX | |||||
01E0 | 40XX | |||||
01E1 | XXXX YYYY 80ZZ | |||||
01E2 | XXXX 40YY | |||||
01E3 | XXXX | |||||
01E4 | 80XX | |||||
01E5 | XXXX | |||||
01E8 | 80XX | Check if have completed Sinnoh pokedex and store into 80XX | ||||
01E9 | 80XX | Check if have completed National pokedex and store into 80XX | ||||
01EA | XXXX | Show Sinnoh Pokedex Sheet | ||||
01EB | XXXX | Show National Pokedex Sheet | ||||
01ED | 80XX | |||||
01F1 | 80XX | |||||
01F4 | 40XX 80YY | |||||
01F5 | 80XX 80YY ZZZZ | |||||
01F6 | 80XX YYYY | |||||
01F7 | 80XX 80YY | |||||
01F8 | Black screen(Only Up Screen) | |||||
01F9 | 80XX | |||||
01FB | 80XX 80YY | |||||
01FE | XX | |||||
01FF | XXXX YYYY ZZZZ | |||||
0200 | 40XX | |||||
0201 | 40XX | |||||
0202 | XXXX | |||||
0204 | Warp to last elevator | |||||
0205 | Open Geonet | |||||
0206 | Great Marsh Bynocule Pokemon | |||||
0207 | 40XX | |||||
0208 | XXXX YYYY | Show box with Pokemon XXXX sprite | ||||
0209 | Hide box showed with 0208 | |||||
020A | 80XX | |||||
020D | XXXX 80YY | |||||
020F | 80XX YYYY | |||||
0210 | XXXX 80YY | |||||
0211 | XX | |||||
0212 | 80XX 80YY | |||||
0213 | 80XX YYYY | |||||
0214 | 80XX | |||||
0216 | 80XX | |||||
0217 | 40XX 40YY | |||||
0218 | 80XX | |||||
021A | 80XX | |||||
021C | XXXX | |||||
021D | Variable | |||||
021F | 80XX 80YY | |||||
0221 | XXXX | Remember Move for Pokemon XXXX in the party | ||||
0223 | 80XX | |||||
0224 | 80XX 80YY | Teach Pokemon 80XX move 80YY | 458 | |||
0225 | 80XX | Store check whether 0224 resulted in teaching the new move, if not let 80XX = 00FF | 458 | |||
0226 | XXXX | |||||
0228 | 80XX | Check Pokemon for trade and store into 80XX | ||||
0229 | 80XX | Trade Pokemon stored into 80XX | ||||
022A | Stop trade? | 458 | ||||
022D | XXXX 80YY | |||||
022F | 80XX | |||||
0230 | 80XX 80YY ZZZZ | |||||
0231 | 80XX XXXX | |||||
0232 | XXXX YYYY | |||||
0233 | 80XX 80YY | |||||
0234 | 40XX | |||||
0235 | Variable | |||||
0236 | 80XX | |||||
0237 | XXXX 80YY 80ZZ 80WW | |||||
0238 | XXXX 40YY | |||||
0239 | XXXX | Rules decide in Battle Link | ||||
023A | 80XX 80YY 80ZZ | |||||
023B | XXXX | Do healing animation in Pokecenter(XXXX=Number of Pokeball) | ||||
023C | 80XX YYYY | |||||
023D | XXXX YYYY ZZZZ WWWW | Do a XXXX animation for a ship(00=Ship sail under 01=Ship sail up 02=Ship sail left 03=Canalave ship) | ||||
023E | Variable | |||||
0243 | XXXX 80YY 80ZZ | Show Phrase Box(1 Word) | ||||
0244 | XXXX 80YY 80ZZ | Show Phrase Box(2 Word) | ||||
0245 | XXXX 80YY | |||||
0246 | 80XX | |||||
0247 | 80XX | |||||
0248 | 80XX 80YY 40ZZ | |||||
0249 | 80XX 80YY 80ZZ 80WW 80PP | |||||
024A | 80XX | |||||
024B | Prepare Pc in Pokemon Center for animation | 205 | ||||
024C | Do Pc Animation in Pokemon Center(When opening) | 205 | ||||
024D | Do Pc Animation in Pokemon Center(When closing) | 205 | ||||
024E | 80XX | Check Loto ticket number and stored into 80XX | 11 | |||
024F | 80XX 80YY 80ZZ 80WW | Compare 80WW loto number with 80XX 80YY 80ZZ. | 11 | |||
0250 | XX YYYY | |||||
0251 | XX 80YY | |||||
0252 | 80XX | |||||
0253 | XXXX | |||||
0254 | 80XX | |||||
0256 | XXXX 80YY | |||||
0257 | Exchange Berries for Accessories | 999 | ||||
0258 | Change Sprite Position while save game | 205 | ||||
0259 | Return to Original Overword Sprite after 0258 command | 205 | ||||
025A | 80XX | |||||
025C | Do animation of elevator in League Corridor | |||||
025D | 40XX | |||||
0260 | XXXX | |||||
0261 | XX YYYY | |||||
0263 | XXXX | |||||
0264 | 80XX | |||||
0267 | Start Pokecasino | |||||
0268 | 40XX | |||||
0269 | XXXX YYYY | |||||
026A | XXXX YYYY ZZZZ | |||||
026B | 80XX | |||||
026C | 80XX | |||||
026D | XXXX | Open Unown Text Box | ||||
026E | 80XX | |||||
0270 | XXXX YYYY | |||||
0271 | 80XX | Open Thank Who? Name Insert | ||||
0272 | XXXX | |||||
0273 | XXXX 80YY | |||||
0275 | 80XX | |||||
0276 | 80XX YYYY ZZZZ | |||||
0277 | 80XX | |||||
0278 | 80XX 80YY | |||||
027A | Show View of League Castle | |||||
027C | XXXX 80YY | |||||
027D | 80XX | |||||
027E | 80XX | |||||
027F | 80XX | |||||
0280 | XXXX 80YY ZZZZ WWWW | |||||
0281 | 80XX YYYY 80ZZ | |||||
0282 | 80XX | |||||
0283 | XXXX | |||||
0284 | 80XX | |||||
0285 | XXXX YYYY | |||||
0286 | 80XX | |||||
0287 | 80XX | |||||
0288 | 80XX | |||||
0289 | 80XX 80YY 80ZZ 80WW 80PP 80QQ 80TT | |||||
028A | 80XX | |||||
028B | XX 40YY | |||||
028C | XXXX | Show XXXX Party Sprite Pokemon in Box | ||||
028F | 80XX | |||||
0292 | XXXX 40YY | |||||
0293 | 80XX | |||||
0294 | XX YY | Show Battle Points Box | ||||
0295 | Hide Battle Points Box | |||||
0299 | XXXX | |||||
029A | XXXX 80YY | |||||
029C | 80XX 80YY | |||||
029D | XXXX YYYY | |||||
029E | XXXX 80YY | Apply effect XXXX | ||||
00 | Cut effect | |||||
01 | Rock Smash effect | |||||
029F | XXXX | Camera Bump Effect | ||||
02A0 | 80XX YYYY ZZZZ | Start Double Battle | ||||
02A1 | AA BBBB | Move AA person with BBBB Movement | ||||
02A2 | 80XX | |||||
02A3 | 80XX | |||||
02A4 | 80XX | |||||
02A5 | Choose a Pokemon for a Trade | |||||
02A6 | 80XX 80YY 80ZZ | |||||
02A7 | 80XX 80YY | |||||
02A8 | 80XX YYYY | |||||
02A9 | 80XX 80YY | |||||
02AA | 80XX 80YY 80ZZ 80WW 80QQ | |||||
02AD | 80XX 80YY | |||||
02B3 | XXXX 80YY | |||||
02B5 | XXXX YYYY ZZZZ | |||||
02B6 | XXXX YYYY | |||||
02B7 | 80XX | |||||
02B8 | 80XX | |||||
02BA | 80XX | |||||
02BC | 80XX | |||||
02BD | XXXX YYYY ZZZZ | Start Wild Battle with XXXXPKMN, at YYYY Level and ZZZZ object | ||||
02BE | 80XX | |||||
02BF | Mount Hiro on the Bike | |||||
02C0 | 80XX or XXXX | |||||
02C1 | Show Save Box | |||||
02C2 | Hide Save Box | 205 | ||||
02C5 | 40XX 40YY | |||||
02C7 | 80XX | |||||
02C8 | 80XX 80YY 80ZZ | |||||
02CA(Platinum) | Floral clock animation | |||||
02CB | 80XX YYYY | |||||
02CC | XXXX 80YY 80ZZ | |||||
02CF | 40XX 80YY | |||||
02D0 | 40XX 40YY | |||||
02D1 | 40XX | |||||
02D2 | XXXX 40YY 80ZZ | |||||
02D3 | 80XX 80YY 80ZZ | |||||
02D4 | 40XX 40YY 40ZZ | |||||
02D5 | 40XX | |||||
02D8 | XX | |||||
02D9 | XXXX 40YY 80ZZ | |||||
02DA | 80XX 80YY 80ZZ | |||||
02DB | 40XX 40YY 40ZZ | |||||
02DC | 40XX | |||||
02DD | 80XX YYYY | |||||
02DE | 80XX 80YY 80ZZ 80WW 80QQ | |||||
02DF | 40XX | |||||
02E0 | 40XX 80YY | |||||
02E1 | 40XX 80YY | |||||
02E4 | XXXX 40YY 40ZZ | |||||
02E5 | 80XX YYYY 80ZZ | |||||
02E6 | 80XX YYYY 80ZZ | |||||
02E7 | 80XX 80YY | |||||
02E8 | 80XX | |||||
02E9 | 80XX 80YY 80ZZ | |||||
02EA | 80XX 80YY | |||||
02EB | 80XX | |||||
02EE | 80XX 80YY 80ZZ 80WW | |||||
02F3 | XXXX 80YY | |||||
02F4 | 40XX 40YY 40ZZ 40WW | |||||
02F5 | XXXX YYYY ZZZZ WWWW | |||||
02F6 | 80XX 80YY 80ZZ | |||||
02F9 | 80XX | |||||
02FA | 80XX | |||||
02FC | 80XX | |||||
02FD | XX 80XX | |||||
02FE | XXXX 80XX | |||||
02FF | 80XX 80YY | |||||
0302 | 40XX 40YY 40ZZ 40WW 40PP | |||||
0303 | 80XX 80YY | |||||
0304 | 80XX 80YY 80ZZ 80WW | |||||
0305 | 80XX 80YY | |||||
0306 | 80XX 80YY | |||||
0307 | 80XX | |||||
030A | XXXX | |||||
030D | 80XX | |||||
030E | 80XX | |||||
030F | XXXX 80YY | |||||
0311 | XXXX | |||||
0312 | XXXX | |||||
0313 | XXXX | |||||
0315 | 80XX | |||||
0317 | 80XX 80YY 80ZZ | |||||
0318 | XXXX YYYY | |||||
031B | 40XX | |||||
031C | 80XX | |||||
031E | 40XX 80YY | |||||
0321 | XXXX | |||||
0323 | 80XX | |||||
0324 | XXXX YYYY 40ZZ 80WW | |||||
0325 | 40XX or 80XX | |||||
0326 | 40XX | |||||
0327 | XXXX | |||||
0328 | XXXX | |||||
0329 | 40XX 40YY 40ZZ 40WW | |||||
032A | 40XX | |||||
032B | 80XX | Checks whether an Event Regigigas is in the party and stores it in 80XX (0 or 1) | (592 Map PPRE) | |||
032C | 40XX YYYY 80ZZ 80WW | |||||
032F | XXXX 40YY | |||||
0333 | XXXX | |||||
0335 | XXXX YYYY ZZZZ | |||||
033A | XX | |||||
033C | XX 80YY | |||||
033D | XX 80YY | |||||
033E | XX 80YY | |||||
0341 | XX 80YY ZZZZ WW | |||||
0342 | XX | |||||
0343 | XX 80YY | |||||
0344 | XX 80YY | Set Wi-fi Sprite stored into 80YY | 53 | |||
0345 | XX 80YY | |||||
0346 | XX | |||||
0347 | XXXX | In a elevator, display into box XXXX Floor | 18 | DysplayFloor |
DPP Movements Commands
Hex Value (decimal) | Parameters |
---|---|
0000 | See up |
0001 | See down |
0002 | See left |
0003 | See right |
0004 | Walk slowly up |
0005 | Walk slowly down |
0006 | Walk slowly left |
0007 | Walk slowly right |
0008 | Walk normal up |
0009 | Walk normal down |
000A | Walk normal left |
000B | Walk normal right |
000C | Walk fast up |
000D | Walk fast down |
000E | Walk fast left |
000F | Walk fast right |
0010 | Walk very fast up |
0011 | Walk very fast down |
0012 | Walk very fast left |
0013 | Walk very fast right |
0014 | Run up |
0015 | Run down |
0016 | Run left |
0017 | Run right |
0018 | Move up slowly on site |
0019 | Move down slowly on site |
001A | Move left slownly on site |
001B | Move right slowly on site |
001C | Move up normal on site |
001D | Move down normal on site |
001E | Move left normal on site |
001F | Move right normal on site |
0020 | Move up fast on site |
0021 | Move down fast on site |
0022 | Move left fast on site |
0023 | Move right fast on site |
0024 | Move up very fast on site |
0025 | Move down very fast on site |
0026 | Move left very fast on site |
0027 | Move right very fast on site |
0028 | Run up on site |
0029 | Run down on site |
002A | Run left on site |
002B | Run right on site |
002C | Jump up slowly on site |
002D | Jump down slowly on site |
002E | Jump left slowly on site |
002F | Jump right slowly on site |
0030 | Jump up normal on site |
0031 | Jump down normal on site |
0032 | Jump left normal on site |
0033 | Jump right normal on site |
0034 | Jump up one step |
0035 | Jump down one step |
0036 | Jump left one step |
0037 | Jump right one step |
0038 | Jump up two step |
0039 | Jump down two step |
003A | Jump left two step |
003B | Jump right two step |
003C | Nothing |
003D | Nothing |
003E | Nothing |
003F | Nothing |
0045 | Wait, then disappear |
004B | Display exclamation mark |
004C | Wait for a little, then walk slowly up |
004D | Wait for a little,then walk slowly down |
004E | Wait for a little, then walk slowly left |
004F | Wait for a little, then walk slowly right |
0050 | Wait for a little,then walk normal up |
0051 | Wait for a little,then walk normal down |
0052 | Wait for a little,then walk normal left |
0053 | Wait for a little,then walk normal right |
0054 | Wait for a little,then move Overword sprite up |
0055 | Wait for a little,then move Overword sprite down |
0056 | Wait for a little,then move Overword sprite left |
0057 | Wait for a little,then move Overword sprite right |
0058 | Wait for a little,then walk backward up |
0059 | Wait for a little,then walk backward down |
005A | Wait for a little,then walk backward left |
005B | Wait for a little,then walk backward right |
005C | Wait for a little,then jump left one step |
005D | Wait for a little,then jump right one step |
005E | Wait for a little,then jump left two step |
005F | Wait for a little,then jump right two step |
0060 | Wait for a little,then walk normal up |
0061 | Wait for a little,then walk normal down |
0062 | Wait for a little,then walk normal left |
0063 | Wait for a little,then walk normal right |
0064 | Wait for a little,then move on site |
0065 | Wait for a little,then jump on site |
0066 | Nothing |
0067 | Wait for a little,then show two exclamation mark |
0068 | Wait for a little,then move on site forever |
0069-to 00FF | Rom crashed |