If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Pokémon 3rd Generation/Pokémon Ruby Sapphire and Emerald/Notes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(10 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{Notes|game=Pokémon Ruby Sapphire and Emerald}} | |||
==Scripting Codes== | |||
This information will be helpful with scripting. Below are raw codes for scripting and pokescript. | |||
Other Actions | |||
0x54 Hide | |||
0x54 | 0x55 Show | ||
0x55 | 0x56 Alert | ||
0x56 | 0x57 Question | ||
0x57 | 0x58 Love | ||
0x58 | 0x5A Pokeball | ||
0x5A | 0x10 Delay0 | ||
0x10 | 0x11 Delay1 | ||
0x11 | 0x12 Delay2 | ||
0x12 | 0x13 Delay3 | ||
0x13 | 0x14 Delay4 | ||
0x14 | |||
Step | |||
0x00 | |||
0x01 | 0x00 Down0 | ||
0x02 | 0x01 Up0 | ||
0x03 | 0x02 Left0 | ||
0x04 | 0x03 Right0 | ||
0x05 | 0x04 Down1 | ||
0x06 | 0x05 Up1 | ||
0x07 | 0x06 Left1 | ||
0x08 | 0x07 Right1 | ||
0x09 | 0x08 Down2 | ||
0x0A | 0x09 Up2 | ||
0x0B | 0x0A Left2 | ||
0x17 | 0x0B Right2 | ||
0x18 | 0x17 Left3 | ||
0x15 | 0x18 Right3 | ||
0x16 | 0x15 Down3 | ||
0x2D | 0x16 Up3 | ||
0x2E | 0x2D Down4 | ||
0x2F | 0x2E Up4 | ||
0x30 | 0x2F Left4 | ||
0x30 Right4 | |||
Running | |||
0x35 | |||
0x36 | 0x35 RunDown | ||
0x37 | 0x36 RunUp | ||
0x38 | 0x37 RunLeft | ||
0x7E | 0x38 RunRight | ||
0x7F | 0x7E RunDown2 | ||
0x80 | 0x7F RunUp2 | ||
0x81 | 0x80 RunLeft2 | ||
0x81 RunRight2 | |||
Hop & Jump | |||
0x0C | |||
0x0D | 0x0C HopTileDown | ||
0x0E | 0x0D HopTileUp | ||
0x0F | 0x0E HopTileLeft | ||
0x3A | 0x0F HopTileRight | ||
0x3B | 0x3A HighHopDown | ||
0x3C | 0x3B HighHopUp | ||
0x3D | 0x3C HighHopLeft | ||
0x46 | 0x3D HighHopRight | ||
0x47 | 0x46 HopDown | ||
0x48 | 0x47 HopUp | ||
0x49 | 0x48 HopLeft | ||
0x4A | 0x49 HopRight | ||
0x4B | 0x4A HopDown180 | ||
0x4C | 0x4B HopUp180 | ||
0x4D | 0x4C HopLeft180 | ||
0x42 | 0x4D HopRight180 | ||
0x43 | 0x42 JumpDown | ||
0x44 | 0x43 JumpUp | ||
0x45 | 0x44 JumpLeft | ||
0x45 JumpRight | |||
Straf (May have glitches) | |||
0x19 | |||
0x1A | 0x19 StDown1 | ||
0x1B | 0x1A StUp1 | ||
0x1C | 0x1B StLeft1 | ||
0x1D | 0x1C StRight1 | ||
0x1E | 0x1D StDown2 | ||
0x1F | 0x1E StUp2 | ||
0x20 | 0x1F StLeft2 | ||
0x21 | 0x20 StRight2 | ||
0x22 | 0x21 StDown3 | ||
0x23 | 0x22 StUp3 | ||
0x24 | 0x23 StLeft3 | ||
0x25 | 0x24 StRight3 | ||
0x26 | 0x25 StDown4 | ||
0x27 | 0x26 StUp4 | ||
0x28 | 0x27 StLeft4 | ||
0x6A | 0x28 StRight4 | ||
0x6B | 0x6A StDown1i | ||
0x6C | 0x6B StUp1i | ||
0x6D | 0x6C StLeft1i | ||
0x6E | 0x6D StRight1i | ||
0x6F | 0x6E StDown5 | ||
0x70 | 0x6F StUp5 | ||
0x71 | 0x70 StLeft5 | ||
0x71 StRight5 | |||
Special | |||
0x31 | |||
0x32 | 0x31 SlideFaceDown | ||
0x33 | 0x32 SlideFaceUp | ||
0x34 | 0x33 SlideFaceLeft | ||
0x86 | 0x34 SlideFaceRight | ||
0x87 | 0x86 IceSlideDown | ||
0x88 | 0x87 IceSlideUp | ||
0x89 | 0x88 IceSlideLeft | ||
0x89 IceSlideRight | |||
Glitchy | |||
0x3E | |||
0x3F | 0x3E Up0A | ||
0x4E | 0x3F Down0A | ||
0x63 | 0x4E Down0B | ||
0x65 | 0x63 Up0B | ||
0x66 | 0x65 Right0A | ||
0x67 | 0x66 RunStopLoopDown | ||
0x68 | 0x67 RunStopLoopUp | ||
0x69 | 0x68 RunStopLoopLeft | ||
0x72 | 0x69 RunStopLoopRight | ||
0x73 | 0x72 Down15 | ||
0x74 | 0x73 Up15 | ||
0x75 | 0x74 Left15 | ||
0x7A | 0x75 Right15 | ||
0x7B | 0x7A Down6 | ||
0x7C | 0x7B Up6 | ||
0x7D | 0x7C Left6 | ||
0x82 | 0x7D Right6 | ||
0x83 | 0x82 Down7 | ||
0x84 | 0x83 Up7 | ||
0x85 | 0x84 Left7 | ||
0x85 Right7 | |||
EXIT | |||
0xFE | |||
0xFE | |||
Commands and their hex bytes: | |||
<pre> | |||
nop (00, 01 and C6) | nop (00, 01 and C6) | ||
end (02) | end (02) | ||
Line 182: | Line 195: | ||
setmaptile (A2) | setmaptile (A2) | ||
setweather (A4) | setweather (A4) | ||
doweather (A5) | doweather (A5)</pre> | ||
{{Internal Data |game=Pokémon Ruby Sapphire and Emerald}} |
Latest revision as of 08:57, 2 May 2024
The following article is a Notes Page for Pokémon 3rd Generation/Pokémon Ruby Sapphire and Emerald.
Scripting Codes
This information will be helpful with scripting. Below are raw codes for scripting and pokescript.
Other Actions 0x54 Hide 0x55 Show 0x56 Alert 0x57 Question 0x58 Love 0x5A Pokeball 0x10 Delay0 0x11 Delay1 0x12 Delay2 0x13 Delay3 0x14 Delay4
Step 0x00 Down0 0x01 Up0 0x02 Left0 0x03 Right0 0x04 Down1 0x05 Up1 0x06 Left1 0x07 Right1 0x08 Down2 0x09 Up2 0x0A Left2 0x0B Right2 0x17 Left3 0x18 Right3 0x15 Down3 0x16 Up3 0x2D Down4 0x2E Up4 0x2F Left4 0x30 Right4
Running 0x35 RunDown 0x36 RunUp 0x37 RunLeft 0x38 RunRight 0x7E RunDown2 0x7F RunUp2 0x80 RunLeft2 0x81 RunRight2
Hop & Jump 0x0C HopTileDown 0x0D HopTileUp 0x0E HopTileLeft 0x0F HopTileRight 0x3A HighHopDown 0x3B HighHopUp 0x3C HighHopLeft 0x3D HighHopRight 0x46 HopDown 0x47 HopUp 0x48 HopLeft 0x49 HopRight 0x4A HopDown180 0x4B HopUp180 0x4C HopLeft180 0x4D HopRight180 0x42 JumpDown 0x43 JumpUp 0x44 JumpLeft 0x45 JumpRight
Straf (May have glitches) 0x19 StDown1 0x1A StUp1 0x1B StLeft1 0x1C StRight1 0x1D StDown2 0x1E StUp2 0x1F StLeft2 0x20 StRight2 0x21 StDown3 0x22 StUp3 0x23 StLeft3 0x24 StRight3 0x25 StDown4 0x26 StUp4 0x27 StLeft4 0x28 StRight4 0x6A StDown1i 0x6B StUp1i 0x6C StLeft1i 0x6D StRight1i 0x6E StDown5 0x6F StUp5 0x70 StLeft5 0x71 StRight5
Special 0x31 SlideFaceDown 0x32 SlideFaceUp 0x33 SlideFaceLeft 0x34 SlideFaceRight 0x86 IceSlideDown 0x87 IceSlideUp 0x88 IceSlideLeft 0x89 IceSlideRight
Glitchy 0x3E Up0A 0x3F Down0A 0x4E Down0B 0x63 Up0B 0x65 Right0A 0x66 RunStopLoopDown 0x67 RunStopLoopUp 0x68 RunStopLoopLeft 0x69 RunStopLoopRight 0x72 Down15 0x73 Up15 0x74 Left15 0x75 Right15 0x7A Down6 0x7B Up6 0x7C Left6 0x7D Right6 0x82 Down7 0x83 Up7 0x84 Left7 0x85 Right7
EXIT 0xFE
Commands and their hex bytes:
nop (00, 01 and C6) end (02) return (03) call (04) goto (05) if (06) jumpstd (08) boxset (09) message (0F) setvar (16) copyvar (19) copyvarifnotzero (1A) comparevars (1B) comparevartobyte (1C) comparevartofarbyte (1D) comparefarbytetovar (1E) comparefarbytetobyte (1F) comparefarbytetofarbyte (20) compare (21) special (25) special2 (26) pause (28) setflag (29) clearflag (2A) checkflag (2B) cry (30) fanfare (31) waitfanfare (32) playsound (33) fadedefault (35) fadesound (36) fadeout (37) fadein (38) warp (39) checkitem (47) applymovement (4F) movesprite (57) faceplayer (5A) trainerbattle (5C) jingle (69) lock (6A) release (6C) multi (6F) givepokemon (79) pokemart (86) fadescreen (97) checkgender (A0) setmaptile (A2) setweather (A4) doweather (A5)
Internal Data for Pokémon Ruby Sapphire and Emerald
| |
---|---|