PDA

View Full Version : [Tutorial] PEDRO12's EVERYTHING TUTORIAL PART 2


Echidna
October 6th, 2010, 09:06 AM
For those who don't know, this is the second part of my tutorial and this is the rest of the scripting part of that tutorial so we'll continue.

UPDATE: Hey guys... I'm starting somewhat of a team not only for maing a hack but more cool stuff. If you read this please visit this thread and read it. If you are one of the first to join.... as in from now till new year..... you will immediately be elevated to level 2 member so you can help with the projects.... What's a level 2 member and why do i have to be one to join a project?? you'll figure out nce you visit the thread.... here it it. PM me if you want to join and i'll send you an invite to the group.......
http://www.pokecommunity.com/showthread.php?t=238054

SCRIPTING PART 2:

5- POKEMON GIVING


Ok new commands:

givepokemon
giveegg
countpokemon

givepokemon gives a certain pokemon with a certain item at a certain level to the player.
Form: givepokemon 0x<pokemon number> 0x<level> 0x<item held number> 0x0 0x0 0x0
All three of the first three parameters have to be converted to hex. The last three are buffers and should stay zero. Now the message of obtained pokemon doesn't show on it's own so you'll have to put it using the msgbox command. And the obtained a pokemon song doesn't play on it's own, you'll have to play it on your own. The givepokemon part of the script should look like this:


givepokemon 0x<pokemon number> 0x<level> 0x<item held number> 0x0 0x0 0x0
fanfare 0x13E 0x0
msgbox @1 0x4
waitfanfare
closeonkeypress

And somewhere at the end:


#org @1
= [player] obtained a pokemon!

OK???

giveegg is a lot more easier, all you have to do is use the number of the pokemon you want in the egg.
Form: giveegg 0x<pokemon number>
Again put the pokemon number in hex. I don't think neither the message nor song play on there own.

countpokemon counts the player's pokemon and assigns the number to the variable 800D again and you can use the compare and if commands. In the compare command substitute the 0x<value> with a number from 1 to 6 and it'll check for that much pokemon.
Form: countpokemon

Here's a list of pokemon numbers:

BULBASAUR 1
IVYSAUR 2
VENUSAUR 3
CHARMANDER 4
CHARMELEON 5
CHARIZARD 6
SQUIRTLE 7
WARTORTLE 8
BLASTOISE 9
CATERPIE 10
METAPOD 11
BUTTERFREE 12
WEEDLE 13
KAKUNA 14
BEEDRILL 15
PIDGEY 16
PIDGEOTTO 17
PIDGEOT 18
RATTATA 19
RATICATE 20
SPEAROW 21
FEAROW 22
EKANS 23
ARBOK 24
PIKACHU 25
RAICHU 26
SANDSHREW 27
SANDSLASH 28
NIDORAN|f| 29
NIDORINA 30
NIDOQUEEN 31
NIDORAN|m| 32
NIDORINO 33
NIDOKING 34
CLEFAIRY 35
CLEFABLE 36
VULPIX 37
NINETALES 38
JIGGLYPUFF 39
WIGGLYTUFF 40
ZUBAT 41
GOLBAT 42
ODDISH 43
GLOOM 44
VILEPLUME 45
PARAS 46
PARASECT 47
VENONAT 48
VENOMOTH 49
DIGLETT 50
DUGTRIO 51
MEOWTH 52
PERSIAN 53
PSYDUCK 54
GOLDUCK 55
MANKEY 56
PRIMEAPE 57
GROWLITHE 58
ARCANINE 59
POLIWAG 60
POLIWHIRL 61
POLIWRATH 62
ABRA 63
KADABRA 64
ALAKAZAM 65
MACHOP 66
MACHOKE 67
MACHAMP 68
BELLSPROUT 69
WEEPINBELL 70
VICTREEBEL 71
TENTACOOL 72
TENTACRUEL 73
GEODUDE 74
GRAVELER 75
GOLEM 76
PONYTA 77
RAPIDASH 78
SLOWPOKE 79
SLOWBRO 80
MAGNEMITE 81
MAGNETON 82
FARFETCH'D 83
DODUO 84
DODRIO 85
SEEL 86
DEWGONG 87
GRIMER 88
MUK 89
SHELLDER 90
CLOYSTER 91
GASTLY 92
HAUNTER 93
GENGAR 94
ONIX 95
DROWZEE 96
HYPNO 97
KRABBY 98
KINGLER 99
VOLTORB 100
ELECTRODE 101
EXEGGCUTE 102
EXEGGUTOR 103
CUBONE 104
MAROWAK 105
HITMONLEE 106
HITMONCHAN 107
LICKITUNG 108
KOFFING 109
WEEZING 110
RHYHORN 111
RHYDON 112
CHANSEY 113
TANGELA 114
KANGASKHAN 115
HORSEA 116
SEADRA 117
GOLDEEN 118
SEAKING 119
STARYU 120
STARMIE 121
MR. MIME 122
SCYTHER 123
JYNX 124
ELECTABUZZ 125
MAGMAR 126
PINSIR 127
TAUROS 128
MAGIKARP 129
GYARADOS 130
LAPRAS 131
DITTO 132
EEVEE 133
VAPOREON 134
JOLTEON 135
FLAREON 136
PORYGON 137
OMANYTE 138
OMASTAR 139
KABUTO 140
KABUTOPS 141
AERODACTYL 142
SNORLAX 143
ARTICUNO 144
ZAPDOS 145
MOLTRES 146
DRATINI 147
DRAGONAIR 148
DRAGONITE 149
MEWTWO 150
MEW 151
CHIKORITA 152
BAYLEEF 153
MEGANIUM 154
CYNDAQUIL 155
QUILAVA 156
TYPHLOSION 157
TOTODILE 158
CROCONAW 159
FERALIGATR 160
SENTRET 161
FURRET 162
HOOTHOOT 163
NOCTOWL 164
LEDYBA 165
LEDIAN 166
SPINARAK 167
ARIADOS 168
CROBAT 169
CHINCHOU 170
LANTURN 171
PICHU 172
CLEFFA 173
IGGLYBUFF 174
TOGEPI 175
TOGETIC 176
NATU 177
XATU 178
MAREEP 179
FLAAFFY 180
AMPHAROS 181
BELLOSSOM 182
MARILL 183
AZUMARILL 184
SUDOWOODO 185
POLITOED 186
HOPPIP 187
SKIPLOOM 188
JUMPLUFF 189
AIPOM 190
SUNKERN 191
SUNFLORA 192
YANMA 193
WOOPER 194
QUAGSIRE 195
ESPEON 196
UMBREON 197
MURKROW 198
SLOWKING 199
MISDREAVUS 200
UNOWN 201
WOBBUFFET 202
GIRAFARIG 203
PINECO 204
FORRETRESS 205
DUNSPARCE 206
GLIGAR 207
STEELIX 208
SNUBBULL 209
GRANBULL 210
QWILFISH 211
SCIZOR 212
SHUCKLE 213
HERACROSS 214
SNEASEL 215
TEDDIURSA 216
URSARING 217
SLUGMA 218
MAGCARGO 219
SWINUB 220
PILOSWINE 221
CORSOLA 222
REMORAID 223
OCTILLERY 224
DELIBIRD 225
MANTINE 226
SKARMORY 227
HOUNDOUR 228
HOUNDOOM 229
KINGDRA 230
PHANPY 231
DONPHAN 232
PORYGON2 233
STANTLER 234
SMEARGLE 235
TYROGUE 236
HITMONTOP 237
SMOOCHUM 238
ELEKID 239
MAGBY 240
MILTANK 241
BLISSEY 242
RAIKOU 243
ENTEI 244
SUICUNE 245
LARVITAR 246
PUPITAR 247
TYRANITAR 248
LUGIA 249
HO-OH 250
CELEBI 251
TREECKO 277
GROVYLE 278
SCEPTILE 279
TORCHIC 280
COMBUSKEN 281
BLAZIKEN 282
MUDKIP 283
MARSHTOMP 284
SWAMPERT 285
POOCHYENA 286
MIGHTYENA 287
ZIGZAGOON 288
LINOONE 289
WURMPLE 290
SILCOON 291
BEAUTIFLY 292
CASCOON 293
DUSTOX 294
LOTAD 295
LOMBRE 296
LUDICOLO 297
SEEDOT 298
NUZLEAF 299
SHIFTRY 300
NINCADA 301
NINJASK 302
SHEDINJA 303
TAILLOW 304
SWELLOW 305
SHROOMISH 306
BRELOOM 307
SPINDA 308
WINGULL 309
PELIPPER 310
SURSKIT 311
MASQUERAIN 312
WAILMER 313
WAILORD 314
SKITTY 315
DELCATTY 316
KECLEON 317
BALTOY 318
CLAYDOL 319
NOSEPASS 320
TORKOAL 321
SABLEYE 322
BARBOACH 323
WHISCASH 324
LUVDISC 325
CORPHISH 326
CRAWDAUNT 327
FEEBAS 328
MILOTIC 329
CARVANHA 330
SHARPEDO 331
TRAPINCH 332
VIBRAVA 333
FLYGON 334
MAKUHITA 335
HARIYAMA 336
ELECTRIKE 337
MANECTRIC 338
NUMEL 339
CAMERUPT 340
SPHEAL 341
SEALEO 342
WALREIN 343
CACNEA 344
CACTURNE 345
SNORUNT 346
GLALIE 347
LUNATONE 348
SOLROCK 349
AZURILL 350
SPOINK 351
GRUMPIG 352
PLUSLE 353
MINUN 354
MAWILE 355
MEDITITE 356
MEDICHAM 357
SWABLU 358
ALTARIA 359
WYNAUT 360
DUSKULL 361
DUSCLOPS 362
ROSELIA 363
SLAKOTH 364
VIGOROTH 365
SLAKING 366
GULPIN 367
SWALOT 368
TROPIUS 369
WHISMUR 370
LOUDRED 371
EXPLOUD 372
CLAMPERL 373
HUNTAIL 374
GOREBYSS 375
ABSOL 376
SHUPPET 377
BANETTE 378
SEVIPER 379
ZANGOOSE 380
RELICANTH 381
ARON 382
LAIRON 383
AGGRON 384
CASTFORM 385
VOLBEAT 386
ILLUMISE 387
LILEEP 388
CRADILY 389
ANORITH 390
ARMALDO 391
RALTS 392
KIRLIA 393
GARDEVOIR 394
BAGON 395
SHELGON 396
SALAMENCE 397
BELDUM 398
METANG 399
METAGROSS 400
REGIROCK 401
REGICE 402
REGISTEEL 403
KYOGRE 404
GROUDON 405
RAYQUAZA 406
LATIAS 407
LATIOS 408
JIRACHI 409
DEOXYS 410
CHIMECHO 411



6- MOVEMENT


OK new commands:

applymovement
waitmovement
special

applymovement makes a certain OW including the player's OW and the camera move in a specified way.
Form: applymovement 0x<people number of sprite to move> @pointer
Read the Advance Map Events to know what the people number of a sprite is, and it can be FF to move the player and 7F to move the camera. The pointer is the same as other pointers, but this pointer is best to be before the message pointers of a script but after the pointers of other scripts.

In the pointer you have to list the movements you want the sprite to take. The movements are like so: #raw 0x<movement type>
So the pointer to the movement looks like:


#org @pointer
#raw 0x<movement type>
#raw 0x<movement type>
#raw 0x<movement type>
#raw 0x<movement type>
#raw 0x<movement type>
#raw 0x<movement type>
#raw 0xFE

And so on but always remember to make the last one in the list #raw 0xFE which signifies the end and is necsessary for the movement to work.

Oh and moving the camera is a little more complicated. Before the applymovement command, use the command special 0x114 and end it with special 0x113 and always return the camera to the center of the screen in the movement command. Why?? cause special 0x114 unlocks the camera and special 0x113 relocks it so if you don't return the camera to it's place, it'll be stuck where it is.
So the applymovement should look like:


special 0x114
applymovement 0x7F @pointer
special 0x113

OK????

waitmovement is the perfect pause. It makes the game wait till the movements are done before it continues with the script.
Form: waitmovement 0x0
Yes always 0x0.

Please always use this after applymovement except when you want to sprites to move at the same time, then place the two applymovement commands after each other, but you'll have to place the waitmovement command after them, so it'll look like:


applymovement 0x<people number> @pointer
applymovement 0x<people number> @pointer2
waitmovement 0x0


But why do you have to place waitmovement after each applymovement command. Cause lets say there's a msgbox command after the applymovement. Well if waitmovement isn't there then the message would appear while the OW is still moving, and if the applymovement is before an end command with no msgbox or pause command between, the script would end before the entire movement is done. And so on. A lot of glitches can happen, so just use it. GOD WHY ARGUE. STOP IT. LETS MOVE ON!!!

special will be explained later.

OK so a script with a message and movement would look like:


#dynamic 0x<FSF OFFSET>
#org @start
lock
faceplayer
msgbox @1 0x6
applymovement 0x<people number> @2
waitmovement 0x0
release
end

#org @2
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE

#org @1
= Hey look, I can move!!!

Here i think the person moves three steps upward after saying "Hey look, I can move!!!".

Here's a list of movements(credits for diegoisawesome for the lists):

Ruby/Sapphire/Emerald

#raw 0x00 = Face Down
#raw 0x01 = Face Up
#raw 0x02 = Face Left
#raw 0x03 = Face Right
#raw 0x04 = Step Down (Slow)
#raw 0x05 = Step Up (Slow)
#raw 0x06 = Step Left (Slow)
#raw 0x07 = Step Right (Slow)
#raw 0x08 = Step Down (Normal)
#raw 0x09 = Step Up (Normal)
#raw 0x0A = Step Left (Normal)
#raw 0x0B = Step Right (Normal)
#raw 0x0C = Jump2 Down
#raw 0x0D = Jump2 Up
#raw 0x0E = Jump2 Left
#raw 0x0F = Jump2 Right
#raw 0x10 = Delay1
#raw 0x11 = Delay2
#raw 0x12 = Delay3
#raw 0x13 = Delay4
#raw 0x14 = Delay5
#raw 0x15 = Slide Down
#raw 0x16 = Slide Up
#raw 0x17 = Slide Left
#raw 0x18 = Slide Right
#raw 0x19 = Step on the Spot Down (Slow)
#raw 0x1A = Step on the Spot Up (Slow)
#raw 0x1B = Step on the Spot Left (Slow)
#raw 0x1C = Step on the Spot Right (Slow)
#raw 0x1D = Step on the Spot Down (Normal)
#raw 0x1E = Step on the Spot Up (Normal)
#raw 0x1F = Step on the Spot Left (Normal)
#raw 0x20 = Step on the Spot Right (Normal)
#raw 0x21 = Step on the Spot Down (Faster)
#raw 0x22 = Step on the Spot Up (Faster)
#raw 0x23 = Step on the Spot Left (Faster)
#raw 0x24 = Step on the Spot Right (Faster)
#raw 0x25 = Step on the Spot Down (Fastest)
#raw 0x26 = Step on the Spot Up (Fastest)
#raw 0x27 = Step on the Spot Left (Fastest)
#raw 0x28 = Step on the Spot Right (Fastest)
#raw 0x29 = Slide Down
#raw 0x2A = Slide Up
#raw 0x2B = Slide Left
#raw 0x2C = Slide Right
#raw 0x2D = Slide Down
#raw 0x2E = Slide Up
#raw 0x2F = Slide Left
#raw 0x30 = Slide Right
#raw 0x31 = Slide Down
#raw 0x32 = Slide Up
#raw 0x33 = Slide Left
#raw 0x34 = Slide Right
#raw 0x35 = Slide Running Down
#raw 0x36 = Slide Running Up
#raw 0x37 = Slide Running Left
#raw 0x38 = Slide Running Right
#raw 0x3A = Jump Facing Left (Down)
#raw 0x3B = Jump Facing Down (Up)
#raw 0x3C = Jump Facing Up (Left)
#raw 0x3D = Jump Facing Left (Right)
#raw 0x3E = Face Player
#raw 0x3F = Face Against Player
#raw 0x42 = Jump Down
#raw 0x43 = Jump Up
#raw 0x44 = Jump Left
#raw 0x45 = Jump Right
#raw 0x46 = Jump in Place (Facing Down)
#raw 0x47 = Jump in Place (Facing Up)
#raw 0x48 = Jump in Place (Facing Left)
#raw 0x49 = Jump in Place (Facing Right)
#raw 0x4A = Jump in Place (Facing Down/Up)
#raw 0x4B = Jump in Place (Facing Up/Down)
#raw 0x4C = Jump in Place (Facing Left/Right)
#raw 0x4D = Jump in Place (Facing Right/Left)
#raw 0x4E = Face Left
#raw 0x54 = Hide Sprite
#raw 0x55 = Show Sprite
#raw 0x56 = Exclamation Mark (!)
#raw 0x57 = Question Mark (?)
#raw 0x58 = Love (<3)
#raw 0x62 = Walk Down
#raw 0x63 = Walk Down
#raw 0x64 = Face Down (Delayed)
#raw 0x65 = Face Up (Delayed)
#raw 0x66 = Face Left (Delayed)
#raw 0x67 = Face Right (Delayed)
#raw 0x70 = Jump in Place (Facing Down)
#raw 0x71 = Jump in Place (Facing Up)
#raw 0x72 = Jump in Place (Facing Left)
#raw 0x73 = Jump in Place (Facing Right)
#raw 0x74 = Jump Down Running
#raw 0x75 = Jump Up Running
#raw 0x76 = Jump Left Running
#raw 0x77 = Jump Right Running
#raw 0x78 = Jump2 Down Running
#raw 0x79 = Jump2 Up Running
#raw 0x7A = Jump2 Left Running
#raw 0x7B = Jump2 Right Running
#raw 0x7C = Walk on the Spot (Down)
#raw 0x7D = Walk on the Spot (Up)
#raw 0x7E = Walk on the Spot (Lef)
#raw 0x7F = Walk on the Spot (Right)
#raw 0x80 = Slide Down Running
#raw 0x81 = Slide Up Running
#raw 0x82 = Slide Left Running
#raw 0x83 = Slide Right Running
#raw 0x84 = Slide Down
#raw 0x85 = Slide Up
#raw 0x86 = Slide Left
#raw 0x87 = Slide Right
#raw 0x88 = Slide Down on Left Foot
#raw 0x89 = Slide Up on Left Foot
#raw 0x8A = Slide Left on Left Foot
#raw 0x8B = Slide Right on Left Foot
#raw 0x8C = Slide Left diagonally (Facing Up)
#raw 0x8D = Slide Right diagonally (Facing Up)
#raw 0x8E = Slide Left diagonally (Facing Down)
#raw 0x8F = Slide Right diagonally (Facing Down)
#raw 0x90 = Slide2 Left diagonally (Facing Up)
#raw 0x91 = Slide2 Right diagonally (Facing Up)
#raw 0x92 = Slide2 Left diagonally (Facing Down)
#raw 0x93 = Slide2 Right diagonally (Facing Down)
#raw 0x96 = Walk Left
#raw 0x97 = Walk Right
#raw 0x98 = Levitate
#raw 0x99 = Stop Levitating
#raw 0x9C = Fly Up Vertically
#raw 0x9D = Land
#raw 0xFE = End of Movements

Fire Red/Leaf Green

#raw 0x0 = Face Down
#raw 0x1 = Face Up
#raw 0x2 = Face Left
#raw 0x3 = Face Right
#raw 0x4 = Face Down (Faster)
#raw 0x5 = Face Up (Faster)
#raw 0x6 = Face Left (Faster)
#raw 0x7 = Face Right (Faster)
#raw 0x8 = Step Down (Very Slow)
#raw 0x9 = Step Up (Very Slow)
#raw 0xA = Step Left (Very Slow)
#raw 0xB = Step Right (Very Slow)
#raw 0xC = Step Down (Slow)
#raw 0xD = Step Up (Slow)
#raw 0xE = Step Left (Slow)
#raw 0xF = Step Right (Slow)
#raw 0x10 = Step Down (Normal)
#raw 0x11 = Step Up (Normal)
#raw 0x12 = Step Left (Normal)
#raw 0x13 = Step Right (Normal)
#raw 0x14 = Jump2 Down
#raw 0x15 = Jump2 Up
#raw 0x16 = Jump2 Left
#raw 0x17 = Jump2 Right
#raw 0x18 = Delay1
#raw 0x19 = Delay2
#raw 0x1A = Delay3
#raw 0x1B = Delay4
#raw 0x1C = Delay5
#raw 0x1D = Step Down (Fast)
#raw 0x1E = Step Up (Fast)
#raw 0x1F = Step Left (Fast)
#raw 0x20 = Step Right (Fast)
#raw 0x21 = Step on the Spot Down (Normal)
#raw 0x22 = Step on the Spot Up (Normal)
#raw 0x23 = Step on the Spot Left (Normal)
#raw 0x24 = Step on the Spot Right (Normal)
#raw 0x25 = Step on the Spot Down (Faster)
#raw 0x26 = Step on the Spot Up (Faster)
#raw 0x27 = Step on the Spot Left (Faster)
#raw 0x28 = Step on the Spot Right (Faster)
#raw 0x29 = Step on the Spot Down (Fastest)
#raw 0x2A = Step on the Spot Up (Fastest)
#raw 0x2B = Step on the Spot Left (Fastest)
#raw 0x2C = Step on the Spot Right (Fastest)
#raw 0x2D = Face Down (Delayed)
#raw 0x2E = Face Up (Delayed)
#raw 0x2F = Face Left (Delayed)
#raw 0x30 = Face Right (Delayed)
#raw 0x31 = Slide Down (Slow)
#raw 0x32 = Slide Up (Slow)
#raw 0x33 = Slide Left (Slow)
#raw 0x34 = Slide Right (Slow)
#raw 0x35 = Slide Down (Normal)
#raw 0x36 = Slide Up (Normal)
#raw 0x37 = Slide Left (Normal)
#raw 0x38 = Slide Right (Normal)
#raw 0x39 = Slide Down (Fast)
#raw 0x3A = Slide Up (Fast)
#raw 0x3B = Slide Left (Fast)
#raw 0x3C = Slide Right (Fast)
#raw 0x3D = Slide Running on Right Foot (Down)
#raw 0x3E = Slide Running on Right Foot (Up)
#raw 0x3F = Slide Running on Right Foot (Left)
#raw 0x40 = Slide Running on Right Foot (Right)
#raw 0x41 = Slide Running on Left Foot (Down)
#raw 0x42 = Slide Running on Left Foot (Up)
#raw 0x43 = Slide Running on Left Foot (Left)
#raw 0x44 = Slide Running on Left Foot (Right)
#raw 0x46 = Jump Facing Left (Down)
#raw 0x47 = Jump Facing Down (Up)
#raw 0x48 = Jump Facing Up (Left)
#raw 0x49 = Jump Facing Left (Right)
#raw 0x4A = Face Player
#raw 0x4B = Face Against Player
#raw 0x4E = Jump Down
#raw 0x4F = Jump Up
#raw 0x50 = Jump Left
#raw 0x51 = Jump Right
#raw 0x52 = Jump in Place (Facing Down)
#raw 0x53 = Jump in Place (Facing Up)
#raw 0x54 = Jump in Place (Facing Left)
#raw 0x55 = Jump in Place (Facing Right)
#raw 0x56 = Jump in Place (Facing Down/Up)
#raw 0x57 = Jump in Place (Facing Up/Down)
#raw 0x58 = Jump in Place (Facing Left/Right)
#raw 0x59 = Jump in Place (Facing Right/Left)
#raw 0x60 = Hide Sprite
#raw 0x61 = Show Sprite
#raw 0x62 = Exclamation Mark (!)
#raw 0x63 = Question Mark (?)
#raw 0x64 = Cross (X)
#raw 0x65 = Double Exclamation Mark (!!)
#raw 0x66 = Happy (^_^)
#raw 0xFE = End of Movements



7- FLAGS


OK here I'll explain flags and the four commands that can be used with them.

Flags can be activated and deactivated. Some flags have special effects that are activated once the flag is set(or activated, same meaning). The commands you can use with flags are:

setflag
checkflag
clearflag
if

Ok the setflag sets or activates a certain flag.
Form: setflag 0x<flag number>
The flag number can be any hex number from 1 to FFFF. But almost all flags under a thousand are already used in the game and thus their use again could cause problems. So always use a flag with four digits and letters where the first isn't zero.For example 1000;1001;1A34;23B6;5F46 and so on can be used, but 1;34;456;23D;DF5;EA5:2;0987;0AF4 and so on can't be used. You are not limited to the previous numbers. There are thousands of flags you can use.

clearflag clears a flag, or deactivates it. If you use this command on a flag that has been set by setflag, it is no longer set.
Form: clearflag 0x<flag number>

checkflag checks if a certain flag is set.
Form: checkflag 0x<flag number>
After this command use the if command. Use "if 0x1 goto @pointer" if you want the script to go to that pointer if the flag is set, and use"if 0x0 goto @pointer" if you want the script to go to that pointer if the flag isn't set.
And if the condition mentioned in the if command(0x1 or 0x0) isn't fulfilled, the script won't go to the mentioned pointer, it'll just continue the commands after the if command.

But why are flags used. Well lets say you want to make a script where the person says something then gives you a pokemon, and the next time you talk to him he says that he already gave you one, or whatever other event you don't want to take place twice. Well here you can use flags. This is a script with three of the commands mentioned above. You should know by then how to use the fourth:


#dynamic 0x<FSF OFFSET>

#org @start
lock
faceplayer
checkflag 0x1000
if 0x1 goto @alreadydone
msgbox @first 0x6
release
end

#org @alreadydone
msgbox @second 0x6
release
end

#org @first
= Hey next time I'll say\nsomething else.

#org @second
= Hey I said something\nelse.

Ok in the previous script the person says "Hey next time I'll say something else." the first time. Then he says "Hey I said something else." the second time you talk to him. And he also says that any other time you talk to him later, cause once you set a flag, it is perminantly set. But if you clear this flag in any other place, this script will start all over again if you talk to this person.

Here are the flags that activate something once set. Set these flags to activate the corrosponding effects:

RUBY/SAPPHIRE


POKEMON MENU 0x800
POKEDEX 0x801
POKENAV 0x802
RUNNING SHOES 0x860
BADGE1 0x807
BADGE2 0x808
BADGE3 0x809
BADGE4 0x80A
BADGE5 0x80B
BADGE6 0x80C
BADGE7 0x80D
BADGE8 0x80E

EMERALD


POKEMON MENU 0x860
POKEDEX 0x861
POKENAV 0x862
RUNNING SHOES 0x8C0
BADGE1 0x867
BADGE2 0x868
BADGE3 0x869
BADGE4 0x86A
BADGE5 0x86B
BADGE6 0x86C
BADGE7 0x86D
BADGE8 0x86E

FIRERED/LEAFGREEN


POKEMON MENU 0x828
POKEDEX 0x829
RUNNING SHOES 0x82F
BADGE1 0x820
BADGE2 0x821
BADGE3 0x822
BADGE4 0x823
BADGE5 0x824
BADGE6 0x825
BADGE7 0x826
BADGE8 0x827

OK we're done with flags, I hope you understood.




8- VARIABLES


Ok now I'll explain variables. Most of you guys have been waiting for this. Well it's here. A variable can be equal to any number. So if you assign a certain value to a variable, then that variable is equal to that value. So lets say you assigned the value 103 to the variable 456D, then the variable 456D=103. Oh and a variable can be any four digit and letter hex number. and you can assign any value to any variable. Just don't play around with any important variables like 800D or 8000 and 8001 and 8002 and I think 8003 too.

Ok the commands you can use here are:

setvar
addvar
subvar
resetvars
compare
if
copyvar
comparevars
copyvarifnotzero

setvar sets or assigns a certain value to a certain variable.
Form: setvar 0x<variable> 0x<value to assign>

addvar adds a certain value to the value assigned to a certain variable.
Form: addvar 0x<variable> 0x<value to add>

subvar subtracts a certain value from the value assigned to a certain variable.
Form: subvar 0x<variable> 0x<value to subtract>

resetvars resets the variables 8000 8001 8002.
Form: resetvars

compare checks if a certain variable is equal to, less than, greater than, greater than or equal, and less than or equal to a certain value.
Form: compare 0x<variable> 0x<value>

Now after this use "if 0x<condition> goto @pointer". The 0x<condition> can be:


Lower Than (0x0)
Equals (0x1)
Greater Than (0x2)
Lower than or Equal to (0x3)
Greater than or Equal to (0x4)
Not exactly equal to (0x5)

You should understand how to use this by now.

OK copyvar copies the value stored in one variable to another,
Form: copyvar 0x<destination variable> 0x<source variable>

copyvarifnotzero does the same and has the same parameters but only if the source is not equal to zero.

comparevars checks if the value assigned to one variable is equal to the value assigned to another.
Form: comparevars 0x<first variable> 0x<second variable>
After this use the if command and let the condition be 0x1 if you want the script to go to the pointer if the variables are equal, and 0x0 if you want it to go to the pointer if the variables aren't equal.



9- WARPS


OK new commands:

warp
warphole
warpmuted
warpteleport
warpwalk

warp instantly warps the player to a certain map to certain x and y coordinates.
Form:warp 0x<bank number> 0x<map number> 0x<exit number> 0x<X coordinate> 0x<Y coordinate>
bank number and mao number and X Y coordinates are clear I think and don't need explaining. But what's the exit number. It's, I think, the number of the warp leading to this map. Just experiment with this and you should find out what it is.

warpmuted is the same as the previous one but without a sound, so is warpteleport but it has a teleport effect like in sabrina's gym, and so is warpwalk but with a walk effect. Never tried the last one but try it and it should work out.

warphole warps you to another map and takes you there with a hole effect like falling, and you arrive at the same X Y coordinates you were at in the previous map.
Form: warphole 0x<bank number> 0x<map number>



10- MONEY AND COINS


OK some money and coins commands:

givemoney
paymoney
showmoney
hidemoney
updatemoney
checkmoney

givemoney gives a certain amount of money.
Form: givemoney 0x<amount of money> 0x0

paymoney makes the player pay a certain amount of money.
Form: paymoney 0<amount of money to pay> 0x0

showmoney shows a box with the amount of money the player has at certain coordiantes on the screen.
Form: showmoney 0x<X coordinate> 0x<Y coordinate> 0x0

hidemoney hides the shown money box at certain coordinates on the screen
Form: hidemoney 0x<X coordinate> 0x<Y coordinate>

updatemoney updates the amount of money the player has in the money box if money has been added or payed at certain coordinates on the screen.
Form: updatemoney 0x<X coordinate> 0x<Y coordinate> 0x0

checkmoney checks if the player has a certain amount of money.
Form: checkmoney 0x<amount to check for> 0x0
After this use the if command and the condition here can be the less than and greater than and that other stuff mentioned earlier.

Coin commands:

givecoins
removecoins
checkcoins
showcoins
hidecoins
updatecoins

givecoins gives the player a certain amount of coins.
Form: givecoins 0x<amount to give>

removecoins removes a certain amount of coins form the player's coincase.
Form: removecoins 0x<amount to remove>

checkcoins assigns the amount of money the player has to a certain variable.
Form: checkcoins 0x<variable to store amount of coins in>
After this use the compare and if commands to manipulate the effect of the command.
You should know how.

showcoins and hidecoins and updatecoins do the same as they do in money commands.
Form: showcoins 0x<X coordinates> 0x<Y coordinates>
Form: hidecoins 0x<X coordinates> 0x<Y coordinates>
Form: updatecoins 0x<X coordinates> 0x<Y coordinates>

OK we're done. But remember all above amounts have to be in hex so convert, and happy money hacking.



11- POKEPIC


New commands:

showpokepic
hidepokepic

showpokepic shows the picture of a certain pokemon at certain coordinates on the screen.
Form: showpokepic 0x<pokemon species> 0x<X coordinates> 0x<Y coordinates>
All in hex.

hidepokepic hides the picture shown.
Form: hidepokepic

Pokepics section done.



12- SPECIALS


Easiest ever. Only one command.

special

This command activates a special event.
Form: special 0x<special number>
Replace the special number with one of the following numbers to activate its effect:

R/S Specials
Ruby & Sapphire Specials List...

0 = Heals Party Pokémon
2 = Warp sound + FadeBlack
3 = Hero Uses Last Used Warp
8 = Make new Secret Base/Enter Secret Base
9 = Come out of Coliseum
A = Come out of Coliseum
E = Hero Uses Secret Base PC
F = Something to do with registry in a secret base
11 = Something to do with Secret Base battling
18 = Move Player to X01 Y03
19 = Something to do with secret base battling
1A = Turning off PC
1B = Mixing Records
1F = checks whether game is linked
20 = Please wait followed by wild battle (Linkup) (VS in coliseum)
21 = "Please wait link stand by" (Link Feature)
22 = "Please wait link stand by" (Link Feature)
23 = Call Save Menu
29 = Select 3 Pokémon [maybe for Battle tower?]
2A = Black Screen
2B = Something to do with Berry Growth
2C = Opens up berry pocket (Used in berry blender script)
2D = Something to do with Planted berry (Used with CmdC3)
2E = Something to do with Berry Growth
2F = Something to do with Berry Growth
30 = Maybe activates the watered flag (used first, then special0x5E)
34 = Open Textbox (Stays Open)
35 = Open Textbox (Stays Open)
3B = Trainer battle
3C = Access Lanette's PC (BOX System)
5D = Call Save Menu which keeps looping.
5E = Watering of Berry (used first, then special0x5E)
5F = You fill your trainer's profile/interview
60 = Shows what you put for trainer's Profile/interview
67 = Strange Message with sound (could be Unown speech)
6C = Trainer Tales (Link Feature)
6D = Choose Tale
75 = Secret Base Decoration Item Menu
7C = Something to do with renaming
7D = Something to do with renaming
83 = Poké Slots In Use (Store Command)
8A = Crashes
8D = Displays the last message
8E = Used with Setmaptile to make it work
91 = setmaptile #206 at X8 YB
94 = Something to do with Timed events
98 = Cable Car Ride Cutscene
9A = Male Clock
9B = View Clock
9C = Choose Starters From Birch's Bag
9D = Wally Catching Ralts
9E = Nickname's first Pokémon in Party
9F = Choose a Pokémon in the party (For Nickname)
A1 = Starts Berry Blender
A2 = Slot game.
AF = Gabby and TV's "In serach of Trainers"
BC = Store a Pokémon For Day Care
BD = Take back Pokémon From Day Care
BE = Get Breeding Growth (store)
BF = Get Price
C0 = Something to do with Day Cay pay (store)
C2 = Egg hatch (1st Pokémon in party)
C4 = Battle results For The Coliseum
C6 = Something to do with DayCare cost
C8 = Move to the last sethealingplace/flightspot after some time (faint!!) (Fainted Event)
D0 = Opens PokéBlock case
D1 = Stores a random value to LASTRESULT (If the value matches mirage Island will show)
D4 = Used Before Special 0xF9/FA
D5 = Catch Pokémon tip, boxset 4 (use closeonkeypress)
D6 = tile change (in the middle of screen?)(For PC)
D7 = tile change (flower, in the middle of screen?)
D9 = Sets some sort of tiles
DA = Sets some sort of tiles
DB = Choose Pokémon then Fadescreen
DC = Opens the First Pokémon's Moves
E0 = Move tutoring For 1st Pokémon in Party
E3 = CheckBike (store command) 00 = nobike
E4 = Set Cycling Road Results (time, collisions)
E6 = First Pokémon Happy (StoreResult, 4 = Happy),
EC = Verse a high level trainer, level 100/Random Battle?
F1 = Restarts Game
F5 = choose 3 Pokémon(Battle tower) F6 = ?
F9 = Item Storage Mailbox Decoration
FA = Item Storage - No Decoration
FB = World Map
FE = Used for In-Game Trades - Trades 1st trade Pokémon "Makit" to 1st Pokémon in Party
103 = Berry Blender results
106 = PC (menu opens and disappears real fast)
107 = Hall of Fame, through PC (Will be corrupt if there's no data) (reads)
108 = Hoenn Pokédex diploma
10E = Boat sailing for a long time, like Fire Red's speed boat (+Return)
10F = Restarts
110 = Hall of Fame "Credits" (Saves data)
111 = Elevator animation<
112 = Displays Flutes
113 = Freezes The Screen/Camera
114 = Releases The Screen/Camera
119 = Groudon's Orb followed by earthquake
11B = Battel Tower Results
12C = Player Goes to last warp/flightspot used
12D = Makes special 0x9d work properly
130 = Is PC Box Full (store command) (0 = full)
131 = Earthquake for few seconds "Earthquake (stops)"
132 = Show Floors & Which Floor you're on
134 = CheckPokerus [0001 = Pokerus]
136 = Weird Quake
137 = Lava Battle/with Groudon
138 = Land Battle/with legendary
139 = Land Battle2/different song/battle with ledgendary - used with wildbattle
13B = Small screen shake
13D = Light/Flash
13E = Player uses the warp last used (no sound)
13F = falls in first warp of the first map
140 = Pokémon Image (UnLZ 199/200)
142 = Ecard battle Initiate (used in Levelscript at mossdeep, Oldman's house)
143 = Battle ?(perhaps used for wildbattle)
147 = Check Pokemon
14C = Turns Off Background/Map music
FR/LG Specials
Fire Red & Leaf Green Specials List...

0 = Heal Party Pokémon
2 = Warp sound + Black Screen
3 = Walk to your room
20 = Weird Fight
21 = Link Communication Standby
22 = Link Communication Standby 2
23 = Call Save Menu
29 = Select 3 Pokémon for something
2A = Crashes
3B = Fight with Team Aqua's Leader
3C = Access BILL's PC
5D = Call Save Menu
5E = Edit "At the battle's start" profile
5F = Edit "At the battle's start" profile
60 = Displays "At the battle's start" text
9D = Old man catching a Weedle
9E = Nickname
9F = Choose 3 Pokémon
BC = Store a Pokémon
BD = Withdraw a stored Pokémon
C2 = Egg Hatch
C4 = Show Battle Results
C8 = Fainted Event
D6 = A Turned On PC Appears
D7 = A Turned Off PC Appears
DC = Shows Known Moves
DF = Crashes
E0 = Crashes
E1 = Crashes
E2 = Crashes
E3 = Crashes
E4 = Crashes
E5 = Crashes
E6 = Crashes
E7 = Crashes
E8 = Crashes
E9 = Crashes
107 = Reads Hall Of Fame Data
108 = Diplome For Completing Kanto Dex
10F = Crashes
110 = Saves Hall Of Fame Data
111 = Elevator
113 = Freezes The Camera
114 = Releases The Camera
132 = Select Floor (Elevator)
136 = Using Strength
137 = Starts Trainerbattle
138 = Starts Wild Battle
139 = Starts Wild Battle
13D = Warp
13E = Fall Through A Hole
143 = Starts Wild Battle
156 = Starts Battle Against Ghost
157 = Uses The Bicycle
15C = Crashes
161 = Activates Surfing Animation
163 = See in PokéDex
166 = Lets You Enter A Nickname
16B = Establishes A Connection
16C = Establishes A Connection
16D = Establishes A Connection
16E = Shows Wireless Connection Status
17B = Uses The Ms Aqua
186 = Crashes
18D = Learns A Move
18E = Battletower Lv50
191 = Departure Of MS Anne
195 = Shows Jump Records
19C = Shows Powder Counter
1A2 = Shows Berry Crush Rankings
1A5 = Plays Credits On The Current Map
1A6 = Shows Dodrio Berry Picking Stats
1AB = Moves The Deoxys-Triangle
1B2 = Displays A Cursor At The Left Top Corner
1B5 = Executes Weird Effects on Map Tiles
1B6 = Executes Weird Effects on Map Tiles
Sorry, don't have the emerald specials, but i think some are the same as ruby and sapphire specials.



13- SONGS


New commands:

fanfare
waitfanfare
fadedefault

fanfare plays a certain song.
Form: fanfare 0x<song number>
A list of song numbers is mentioned above in the messages section.

waitfanfare waits for the song to play out before the script continues.
Form: waitfanfare

fadedefault fades back to the original map's song.
Form: fadedefault

There are a lot more song commands but I feal they are useless, but check the command help option in XSE to get more info, or just read all the commands in that option once you've finished reading the tutorial.




14- SPRITES


New commands:

hidesprite
showsprite
spriteinvisible
spritevisible

hidesprite hides a certain sprite on the map.
Form: hidesprite 0x<people number of sprite>
Ok for this to make the sprite perminantly disapear, after the command set any flag and place that flag's number in the Person ID box of that sprite in advance map.

showsprite shows a sprite hidden earlier with the previous command.
Form: showsprite 0x<people number of the sprite>
For this to work you have to clear the flag you set to hide the sprite.

spriteinvisible and spriteinvisible do the same as the two previous commands but hide a sprite in any map, not just the one you are in right now.
Form: spriteinvisible 0x<people number of sprite> 0x<bank number> 0x<map number>

Form: spritevisible 0x<people number of sprite> 0x<bank number> 0x<map number>

OH and all people numbers here have to be converted to hex. You should now when to convert to hex by now but I will still keep reminding you.



15- TRAINER BATTLES


Ok new commands:

trainerbattle
cleartrainerflag

trainerbattle starts a battle with a trainer predefined in a-trainer. To make a trainer, add a person event in advance map and check the trainer box and define the veiw radius. Goto a-trainer and you should see a list of trainers. You can edit any one you want but to add a trainer, edit one without a name, and everytime you check the trainer box for a person in advance map, a new trainer appears in a-trainer with no name. Edit the trainer you want in the battle, and memorize its trainer number mentioned next to its name in a-trainer. Oh and always save before changing the page in a-trainer so the changes are perminant.

Form: trainerbattle 0x<battle type> 0x<trainer number from a-trainer> 0x0 @pointer1 @pointer2

Battle type can be 0 for normal trainer battle, 1 for official battle, 4 for double battle.

0 uses the above form of the command, where the first pointer is a pointer to the text before the battle when the trainer's eye catches the player, and the second pointer is the pointer to the text after the battle is done, you now before the player is told how much money he is given.

1 is the official battle type like gym battles or battles with important people. It's form is the same but has an extra pointer at the end that is a pointer to the after battle script, as in the events after the battle. Here's how it looks in the script:


#dynamic 0x<FSF OFFSET>

#org @start
trainerbattle 0x1 0x<trainer number> 0x0 @1 @2 @3
end

#org @3
applymovement 0x3 @4
end

#org @4
#raw 0x11
#raw 0x11
#raw 0xFE

@org @1
= Hey there lets battle.

#org @2
= You won.

And the sweat thing about trainer battles is that the game know if a battle has taken place or not, so if a battle is already done, it'll skip the trainer battle command, so after it place a message box and it will appear if you talk to the person after the battle. OH and the command has a lock, faceplayer, and release effect by itself.

4 is a double battle. For this to work you have to check the double battle box in a-trainer, and there is also three pointers here, the first two are the same as the ordinary trainer battle command, but the last one is the message that appears if the player doesn't have enough pokemon for the battle, and the game does the check itself, so all three pointers are message pointers.

Ok like i said, the trainerbattle command knows if a battle has been done or not, but if it has been done, you can undo it, as in make it possible to take place again, by using the command cleartrainerflag.

Form: cleartrainerflag 0x<trainer number from a-trainer>

OK we're done with trainer battles.



16- WILD BATTLES


One new command:

wildbattle

It starts a wild battle.

Form: wildbattle 0x<species> 0x<level> 0x<held item number>
All in hex.




17- WEATHER


Changes the weather of the present map. Three commands:

setweather
resetweathjer
doweather

setweather sets a certain weather to be activated by doweather.
Form: setweather 0x<weather type>

resetweather resets the maps original weather to be activated by doweather.
Form: resetweather

doweather does the weather set by one of the two previous command. It has to be added after them for the weather command to work.
Form: doweather

Sorry I don't have a list of weathers, but it should be easy to find. All have to be in hex.




18- MARTS


One new command:

pokemart

This command starts a market event, you know, the buy, sell, and cancel choice thingy.
Form: pokemart @pointer
The pointer is to a list of items sold in the mart, and to edit the prices use the item editor.

The pointer can be anywhere after the script similar to movement and message and any other type of pointer. Here's how it looks:


#org @pointer
#raw word 0x<item number>
#raw word 0x<item number>
#raw word 0x<item number>
#raw word 0x<item number>
#raw word 0x0

No you are not limited to four, and yes the #raw word 0x0 at the end is necessary. OH and convert to hex in the list.



19- BUFFERS


Lots of buffer commands:

bufferpokemon
bufferfirstpokemon
bufferitem
bufferattack

All of the previous commands have two parameters, the first of which is the buffer number and the second one is either the pokemon number or item number or attack number. Bufferfirstpokemon only needs the buffer number cause it already knows that it's buffering the first pokemon in the player's party. The buffer number can be 0x1 or 0x2 or 0x3. But what does a buffer do. Well lets say you buffer a pokemon to buffer 1, then if you use [buffer1] in a message it'll appear as that pokemon's name. 0x1 stands for [buffer1] and 0x2 stands for [buffer2]
and 0x3 stands for [buffer3]. I don't know if there are any more buffers but try them.

So the commands look like:

bufferpokemon 0x<buffer number> 0x<pokemon number>

bufferfirstpokemon 0x<buffer number>

bufferitem 0x<buffer number> 0x<item number>

bufferattack 0x<buffer number> 0x<attack number>

OH and all the above have to be in hex.

OK I haven't given you a list of attacks so here it is:

NONE 0x0
POUND 0x1
KARATECHOP 0x2
DOUBLESLAP 0x3
COMETPUNCH 0x4
MEGAPUNCH 0x5
PAYDAY 0x6
FIREPUNCH 0x7
ICEPUNCH 0x8
THUNDERPUNCH 0x9
SCRATCH 0xA
VICEGRIP 0xB
GUILLOTINE 0xC
RAZORWIND 0xD
SWORDSDANCE 0xE
CUT 0xF
GUST 0x10
WINGATTACK 0x11
WHIRLWIND 0x12
FLY 0x13
BIND 0x14
SLAM 0x15
VINEWHIP 0x16
STOMP 0x17
DOUBLEKICK 0x18
MEGAKICK 0x19
JUMPKICK 0x1A
ROLLINGKICK 0x1B
SANDATTACK 0x1C
HEADBUTT 0x1D
HORNATTACK 0x1E
FURYATTACK 0x1F
HORNDRILL 0x20
TACKLE 0x21
BODYSLAM 0x22
WRAP 0x23
TAKEDOWN 0x24
THRASH 0x25
DOUBLEEDGE 0x26
TAILWHIP 0x27
POISONSTING 0x28
TWINEEDLE 0x29
PINMISSILE 0x2A
LEER 0x2B
BITE 0x2C
GROWL 0x2D
ROAR 0x2E
SING 0x2F
SUPERSONIC 0x30
SONICBOOM 0x31
DISABLE 0x32
ACID 0x33
EMBER 0x34
FLAMETHROWER 0x35
MIST 0x36
WATERGUN 0x37
HYDROPUMP 0x38
SURF 0x39
ICEBEAM 0x3A
BLIZZARD 0x3B
PSYBEAM 0x3C
BUBBLEBEAM 0x3D
AURORABEAM 0x3E
HYPERBEAM 0x3F
PECK 0x40
DRILLPECK 0x41
SUBMISSION 0x42
LOWKICK 0x43
COUNTER 0x44
SEISMICTOSS 0x45
STRENGTH 0x46
ABSORB 0x47
MEGADRAIN 0x48
LEECHSEED 0x49
GROWTH 0x4A
RAZORLEAF 0x4B
SOLARBEAM 0x4C
POISONPOWDER 0x4D
STUNSPORE 0x4E
SLEEPPOWDER 0x4F
PETALDANCE 0x50
STRINGSHOT 0x51
DRAGONRAGE 0x52
FIRESPIN 0x53
THUNDERSHOCK 0x54
THUNDERBOLT 0x55
THUNDERWAVE 0x56
THUNDER 0x57
ROCKTHROW 0x58
EARTHQUAKE 0x59
FISSURE 0x5A
DIG 0x5B
TOXIC 0x5C
CONFUSION 0x5D
PSYCHIC 0x5E
HYPNOSIS 0x5F
MEDITATE 0x60
AGILITY 0x61
QUICKATTACK 0x62
RAGE 0x63
TELEPORT 0x64
NIGHTSHADE 0x65
MIMIC 0x66
SCREECH 0x67
DOUBLETEAM 0x68
RECOVER 0x69
HARDEN 0x6A
MINIMIZE 0x6B
SMOKESCREEN 0x6C
CONFUSERAY 0x6D
WITHDRAW 0x6E
DEFENSECURL 0x6F
BARRIER 0x70
LIGHTSCREEN 0x71
HAZE 0x72
REFLECT 0x73
FOCUSENERGY 0x74
BIDE 0x75
METRONOME 0x76
MIRRORMOVE 0x77
SELFDESTRUCT 0x78
EGGBOMB 0x79
LICK 0x7A
SMOG 0x7B
SLUDGE 0x7C
BONECLUB 0x7D
FIREBLAST 0x7E
WATERFALL 0x7F
CLAMP 0x80
SWIFT 0x81
SKULLBASH 0x82
SPIKECANNON 0x83
CONSTRICT 0x84
AMNESIA 0x85
KINESIS 0x86
SOFTBOILED 0x87
HIJUMPKICK 0x88
GLARE 0x89
DREAMEATER 0x8A
POISONGAS 0x8B
BARRAGE 0x8C
LEECHLIFE 0x8D
LOVELYKISS 0x8E
SKYATTACK 0x8F
TRANSFORM 0x90
BUBBLE 0x91
DIZZYPUNCH 0x92
SPORE 0x93
FLASH 0x94
PSYWAVE 0x95
SPLASH 0x96
ACIDARMOR 0x97
CRABHAMMER 0x98
EXPLOSION 0x99
FURYSWIPES 0x9A
BONEMERANG 0x9B
REST 0x9C
ROCKSLIDE 0x9D
HYPERFANG 0x9E
SHARPEN 0x9F
CONVERSION 0xA0
TRIATTACK 0xA1
SUPERFANG 0xA2
SLASH 0xA3
SUBSTITUTE 0xA4
STRUGGLE 0xA5
SKETCH 0xA6
TRIPLEKICK 0xA7
THIEF 0xA8
SPIDERWEB 0xA9
MINDREADER 0xAA
NIGHTMARE 0xAB
FLAMEWHEEL 0xAC
SNORE 0xAD
CURSE 0xAE
FLAIL 0xAF
CONVERSION2 0xB0
AEROBLAST 0xB1
COTTONSPORE 0xB2
REVERSAL 0xB3
SPITE 0xB4
POWDERSNOW 0xB5
PROTECT 0xB6
MACHPUNCH 0xB7
SCARYFACE 0xB8
FAINTATTACK 0xB9
SWEETKISS 0xBA
BELLYDRUM 0xBB
SLUDGEBOMB 0xBC
MUDSLAP 0xBD
OCTAZOOKA 0xBE
SPIKES 0xBF
ZAPCANNON 0xC0
FORESIGHT 0xC1
DESTINYBOND 0xC2
PERISHSONG 0xC3
ICYWIND 0xC4
DETECT 0xC5
BONERUSH 0xC6
LOCKON 0xC7
OUTRAGE 0xC8
SANDSTORM 0xC9
GIGADRAIN 0xCA
ENDURE 0xCB
CHARM 0xCC
ROLLOUT 0xCD
FALSESWIPE 0xCE
SWAGGER 0xCF
MILKDRINK 0xD0
SPARK 0xD1
FURYCUTTER 0xD2
STEELWING 0xD3
MEANLOOK 0xD4
ATTRACT 0xD5
SLEEPTALK 0xD6
HEALBELL 0xD7
RETURN 0xD8
PRESENT 0xD9
FRUSTRATION 0xDA
SAFEGUARD 0xDB
PAINSPLIT 0xDC
SACREDFIRE 0xDD
MAGNITUDE 0xDE
DYNAMICPUNCH 0xDF
MEGAHORN 0xE0
DRAGONBREATH 0xE1
BATONPASS 0xE2
ENCORE 0xE3
PURSUIT 0xE4
RAPIDSPIN 0xE5
SWEETSCENT 0xE6
IRONTAIL 0xE7
METALCLAW 0xE8
VITALTHROW 0xE9
MORNINGSUN 0xEA
SYNTHESIS 0xEB
MOONLIGHT 0xEC
HIDDENPOWER 0xED
CROSSCHOP 0xEE
TWISTER 0xEF
RAINDANCE 0xF0
SUNNYDAY 0xF1
CRUNCH 0xF2
MIRRORCOAT 0xF3
PSYCHUP 0xF4
EXTREMESPEED 0xF5
ANCIENTPOWER 0xF6
SHADOWBALL 0xF7
FUTURESIGHT 0xF8
ROCKSMASH 0xF9
WHIRLPOOL 0xFA
BEATUP 0xFB
FAKEOUT 0xFC
UPROAR 0xFD
STOCKPILE 0xFE
SPITUP 0xFF
SWALLOW 0x100
HEATWAVE 0x101
HAIL 0x102
TORMENT 0x103
FLATTER 0x104
WILLOWISP 0x105
MEMENTO 0x106
FACADE 0x107
FOCUSPUNCH 0x108
SMELLINGSALT 0x109
FOLLOWME 0x10A
NATUREPOWER 0x10B
CHARGE 0x10C
TAUNT 0x10D
HELPINGHAND 0x10E
TRICK 0x10F
ROLEPLAY 0x110
WISH 0x111
ASSIST 0x112
INGRAIN 0x113
SUPERPOWER 0x114
MAGICCOAT 0x115
RECYCLE 0x116
REVENGE 0x117
BRICKBREAK 0x118
YAWN 0x119
KNOCKOFF 0x11A
ENDEAVOR 0x11B
ERUPTION 0x11C
SKILLSWAP 0x11D
IMPRISON 0x11E
REFRESH 0x11F
GRUDGE 0x120
SNATCH 0x121
SECRETPOWER 0x122
DIVE 0x123
ARMTHRUST 0x124
CAMOUFLAGE 0x125
TAILGLOW 0x126
LUSTERPURGE 0x127
MISTBALL 0x128
FEATHERDANCE 0x129
TEETERDANCE 0x12A
BLAZEKICK 0x12B
MUDSPORT 0x12C
ICEBALL 0x12D
NEEDLEARM 0x12E
SLACKOFF 0x12F
HYPERVOICE 0x130
POISONFANG 0x131
CRUSHCLAW 0x132
BLASTBURN 0x133
HYDROCANNON 0x134
METEORMASH 0x135
ASTONISH 0x136
WEATHERBALL 0x137
AROMATHERAPY 0x138
FAKETEARS 0x139
AIRCUTTER 0x13A
OVERHEAT 0x13B
ODORSLEUTH 0x13C
ROCKTOMB 0x13D
SILVERWIND 0x13E
METALSOUND 0x13F
GRASSWHISTLE 0x140
TICKLE 0x141
COSMICPOWER 0x142
WATERSPOUT 0x143
SIGNALBEAM 0x144
SHADOWPUNCH 0x145
EXTRASENSORY 0x146
SKYUPPERCUT 0x147
SANDTOMB 0x148
SHEERCOLD 0x149
MUDDYWATER 0x14A
BULLETSEED 0x14B
AERIALACE 0x14C
ICICLESPEAR 0x14D
IRONDEFENSE 0x14E
BLOCK 0x14F
HOWL 0x150
DRAGONCLAW 0x151
FRENZYPLANT 0x152
BULKUP 0x153
BOUNCE 0x154
MUDSHOT 0x155
POISONTAIL 0x156
COVET 0x157
VOLTTACKLE 0x158
MAGICALLEAF 0x159
WATERSPORT 0x15A
CALMMIND 0x15B
LEAFBLADE 0x15C
DRAGONDANCE 0x15D
ROCKBLAST 0x15E
SHOCKWAVE 0x15F
WATERPULSE 0x160
DOOMDESIRE 0x161
PSYCHOBOOST 0x162



20- SETTING TILES


Ok one new command:

setmaptile 0x<X coordinate> 0x<Y coordinate> 0x<tile number> 0x<if passable>

This commands sets the tile at the mentioned coordinates to be the tile mentioned in the third parameter and the last one can be 0 for the tile to be passable and 1 for it to be blocked.

But what's the tile number. Well in advance map, hover the mouse above the tile and in the bottom left corner something like Block: XX Offset: YY should appear. The XX is the tile number. Remember the coordinates have to be in hex.



21- DOORS


New commands:

setdooropened
setdoorclosed
doorchange

OK the first two only need two parameters which are the X Y coordinates in order.

doorchange has to be used after both these commands for there effects to take place.

Form: setdooropened 0x<X coordinate> 0x<Y coordinate>
Form: setdoorclosed 0x<X coordinate> 0x<Y coordinate>
Form: doorchange
All in hex.


22- RANDOMS


One new command:

random 0x<value>

The value has to be in hex and the random command generates a value between zero and the mentioned value and you could use the compare and if commands after it to give random pokemon and do other cool stuff. OH and the generated value is assigned to the variable 800D, that's how you can use the compare and if commands.


PART 10 : HEADER EVENTS


OK people this PART was recommended to me by Orinjmate. So if any of you have any more recommendations, please tell me, and I'll post a tutorial if I know about the subject and if it makes sence to make a tutorial for that subject, and Orinjmate also recommended to add a couple important tools to the toolbox so I added a toolbox with those tools under this part of the tutorial. OK here we go:

OK here I will explain what you can do in the header tab in advance map, there are a couple things you can do here:

1- In the name section, you can see that there are two parts one on the left, here you can choose from a list of maps, and once you save and exit then re-enter advance map, the map you were editing will be in the folder of the map you chose from the dropdown list. Under that you can choose something I honestly have no idea about. Open it and think. Then there's the part on the left that displays the maps name, change this and hit "change name" and all maps in that folder will have the name you entered.
Here's an image from advance map:
http://sphotos.ak.fbcdn.net/hphotos-ak-snc4/hs041.snc4/34436_115113445215360_100001501165973_113191_8344090_n.jpg

2- Under Map Options, you can choose a music from the dropdown list and that music will play in the map. The dropdown list called cave, here you can choose wether this map is normal or dark, and wether flash is usable or not. Under weather you can change the weather of the map. Under type you can change the typw of the map as in choose from city or route or underwater, and so on. Always choose the right one here just as a precaution cause I honestly have no idea what difference it makes. And the fight type thingy, just keep that random.

3-Under Map Script you can edit the level scripts of the map, there's a Level script tutorial somewhere in this forum. Read It.

4-Under tilesets you can change the tilesets of this map, then hit change tileset.

5-Under Map Dimensions you can change the width and height of your map, and then hit change dimensions.

OH and you can hit ctrl+H to enter Advance Header veiw, but I've never used this so i have no idea how. The only thing I know how to do here is how to change the bank # and map #, you can see the boxes, just fill them in with the bank and map #s you want then hit save.


PART 11 : POC and Movement Editor Tutorial

These tools were made by my deer friend ShadowMrk:

Tool 1 POC (Palette Order Changer)


LINK: http://www.4shared.com/file/_qopsd4S/Palette_Editor.html (http://www.4shared.com/file/_qopsd4S/Palette_Editor.html)

What it does: This tools is used to change the order of colors in a palette without editting the image, this makes the job of tile inerters and pokemon sprite inserters a lot easier. Just hit file --> open, browse for the bitmap, and in the first box, type in the number of the color you want to switch, ranging from 0 to 15, and in the second box, the number of the color you want to switch it with, and hit switch. The other function of openning a certain bitmap from a rom at a certain offet is still in development.


Tool 2 Movement Editor


LINK: http://www.4shared.com/file/W8et3ajg/MOVEMENT_EDITOR.html (http://www.4shared.com/file/W8et3ajg/MOVEMENT_EDITOR.html)

What it does: Instead of having to type the number of the movement that scripters want, this program inserts the movement automatically, so instead of typing

...
applymovement 0x<people number> @move1
...

#org @move1
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE

You can type

...
applymovement 0x<people number> @move1
...

#org @move1


and when you hit compile, a list of the pointers and their offsets appear, click on the pointer you want to insert movements, and hit copy (do not close this window yet if you want to edit anymore pointers), now open movement editor, open the rom, paste the offset in the box and open it, now choose the movement you want from the list, and hit add movement and so on untill all movements are added (make sure the last one is end), now hit save, and you can do this for the rest of the pointers you want to edit.....thank you ShadowMrk....



Here's the link to toolbox 2:
http://www.4shared.com/file/bLqMAT6q/TOOLBOX_2.html

CLOSING WORD

OK guys, we're done. MY GOD that was exhausting. I have been writing this tutorial for days. GOD. I am tired. I don't know if other people do this, but I wrote it in NOTEPAD than pasted it here, cause it would've been weird to type it in directly. I hope this tutorial helped. If you have any questions please PM or VM me or post your question here. I won't be logging in a lot, so it might take a couple days to answer, but it'll still work. And if I wrote anything wrong tell me please, cause it's a long tutorial and there's no way it's all right. And if you have any major subjects you want me to add to the tutorial, tell me too, and if i know how I'll post it. Bye. And happy hacking.

Arctanus
October 14th, 2010, 12:37 AM
Unless I'm missing something, which is possible, you didn't explain how to assign the result from msgbox 0x5 to a variable.

-Edit-
I think I figured it out. Is it by using "compare 0x800D 0x1"

francisbb
October 14th, 2010, 04:48 PM
XD I think it more of a scripting then everything :P

Nice signature by the way :)

Hopeless Masquerade
October 14th, 2010, 05:21 PM
Not too bad! I learned a few things from this that I hadn't previously known.

Echidna
October 16th, 2010, 10:36 AM
Unless I'm missing something, which is possible, you didn't explain how to assign the result from msgbox 0x5 to a variable.

-Edit-
I think I figured it out. Is it by using "compare 0x800D 0x1"

Yeah go to the messages part at the beginning of the scripting tutorial in part 1 and it should be explained in the list of message tyes. Anyways, yes the value 1 is assigned to the variable 800D if the answer is yes, and the value 0 is assigned to the same variable if the answer is no. Use the if command after the compare command after the msgbox command to check for the answer. Read the variables section above and you should understand more.

XD I think it more of a scripting then everything :P

Nice signature by the way :)

Thanks dude.

Not too bad! I learned a few things from this that I hadn't previously known.

Happy to help. ;)

Echidna
November 1st, 2010, 06:31 AM
so did anyone find anything wrong here ????
This tutorial help'n you guys ???

c3drick11
November 1st, 2010, 09:47 PM
PEDRO12!!!!!!!!!!!!!!!!!!!!!!!!!!!!






well.. thank you ;)

i learned alot about scripting.. im a newbie...
btw.. can i ask? but its out of the topic.. what forum can i ask questions?
i post from a thread this forum(tutorial) asking some questions that would help me... like how to add all d/p pokemon to my hack bla bla bla...but it did not showed up.. its taking a long time now.. will the mods reply to me if my thread wud not be publish? i want it back so that i cud just copy paste it coz its tiring to type my questions again in the other forum sections


btw...can u reply with this question asap?... i saw a reply from your other thread.. did u put the tools
Orinjmate suggested from the toolbox at the above link?

well.. thank you again.. this was really helpful...

Echidna
November 3rd, 2010, 06:41 AM
yeah the link above that says

Here's the link to toolbox 2:
http://www.4shared.com/file/bLqMAT6q/TOOLBOX_2.html (http://www.4shared.com/file/bLqMAT6q/TOOLBOX_2.html)



is my second toolbox, recommended by orinjmate, but the first with the original tools is in the first forum, and to answer your first question , i'm not really sure cause none of my threads weren't published, but PM a guy username: Manipulation. She's a moderator and can answer your question. But don't post that thread here. This is only for giving knowledge not asking for it. tha's why your thread was not published, but if you get it back post it in the rom hacking question's forum, it's somewhere around here.

P.S. I'm glad you liked the tutorial. You can learn how to insert all gen 4 pokemon to your rom in my first thread, because there's is now way to insert them all at the same time, so you'll have to follow the tutorial in the first thread : PEDRO12's Everything tutorial for every last pokemon, that's what's annoying about hacking, but there might be a program somewhere that automatically inserts all pokemon of gen4 out there. BUT I HAVE NO IDEA WHERE.

c3drick11
November 4th, 2010, 05:06 PM
thanks for the advice... yeah i really like your tutorial..i lerned alot not like other tutorials coz u came from the basic.. thanks alot.. ;)

Echidna
November 5th, 2010, 10:15 AM
u're welcome.... if you need any more help PM me and i'll get back to you as soon as possible, that goes for everyone....

Echidna
November 20th, 2010, 02:23 AM
u have any specific scripts u need, cause editting the enitre scripting section with new examples is hard... and exhausting, but i'd be more than happy to help with any specific scripts u or anyone might need...

Geogebra
November 20th, 2010, 10:37 AM
Hey!
I just wondered if you could post a script about giving pokemons.
I managed to make a script where a dude is giving me a pokemon , but he just keeps giving me this pokemon ifI ask him again. I know I have to use flags and stuff, but I am not entirely sure where to add for example the givepokemonscript..

so annyways, I wondered if you could post an example of a script like this (it dosent matter which pokemon or level etc. I'll understand ;) )
thanks:)

Echidna
November 23rd, 2010, 07:02 AM
OK here goes:

#dynamic 0xFSF OFFSET

#org @start
lock
faceplayer
checkflag 0x1000
if 0x1 goto @5
msgbox @1 0x5
compare 0x800D 0x1
if 0x1 goto @2
msgbox @3 0x6
release
end

#org @2
givepokemon 0x<pokemon number> 0x<level> 0x<item held number> 0x0 0x0 0x0
fanfare 0x13E 0x0
msgbox @4 0x4
waitfanfare
closeonkeypress
msgbox @7 0x6
setflag 0x1000
release
end

#org @5
msgbox @6 0x6
release
end

#org @1
= Hey, do you want a/npokemon????

#org @3
= OK whatever you want.

#org @4
= [player] obtained <pokemon name>.

#org @6
= Hey I already gave/nyou one.

#org @7
= There you go.

Do you know how to play around with the pokemon and messages?????

Mallonee
November 25th, 2010, 12:18 AM
Actually I have a question. I wasn't able to find anything about editing what pokemon a trainer has. Would you happen to know how to do that?

countryemo
November 25th, 2010, 12:38 AM
Actually I have a question. I wasn't able to find anything about editing what pokemon a trainer has. Would you happen to know how to do that?
you just answerd youw own question :P
a-trainer (atleast I think thats what it is called) forgot where to get it. check the tool box

Echidna
November 25th, 2010, 10:03 AM
hahaha, yeah good notice countryemo, hahaha, that was funny, UHHH, to edit a trainer, download my toolbox from part one of the tutorial(link in my signiture below), there should be the program a-triner, once you've downloaded it, read the trainerbattle section of the tutorial up there, in the scripting part, it's title 15.....read it and you'll find out....

Cynder The Bloody Angel
December 4th, 2010, 07:23 AM
nice ... you may should add some how to use tool stuff here ^^ someone asked me once how to use ape or unlz gba 0o so yea

Echidna
December 4th, 2010, 07:58 AM
hahaha.... sorry cinder.. but i am completely clueless about the ways od ape and unlz gba....... i only know how to insert sprites and i don't know why it works... i just leasrned it and it worked... and i already wrote that up there i inserting new people sprites... but thankjs for the advice.....

Pokemonguy1990
December 4th, 2010, 02:19 PM
slight confusion on Specials commands. in the camera movement section you state
0x113 unlocks the camera and special 0x114 relocks
but, under the specials list for Fire Red & Leaf Green it's
113 = Freezes The Camera
114 = Releases The Camera


which is correct?

Echidna
December 5th, 2010, 06:01 AM
uh oh...... never tried it... try both.. whichever works is the right one.... u see there are four things in scipting i've never used.... that's one and the other three are:
warphole
setting map tiles
door editting

so try it and whichever works is the right one... sorry..... but i'm kinda sure of that cause i got that from a guy i really trust.. but anyone could be wrong so.......

galtama
February 19th, 2011, 01:55 PM
While testing the tools, my anti-virus software (McAfee) detected a trojan on A-Trainer. Just thought it would be useful if everybody was warned

Echidna
February 20th, 2011, 06:37 AM
what ?? i just scanned mine after i read your post..nothing here.....and i have norton with contineous internet update...i don't know how a trojan could be there........ hopefully no one has been harmed.....

galtama
February 21st, 2011, 06:54 AM
I checked a second time and it didn't detect anything, I don't know if it was a false alarm, but I think it should be used with caution, since it hadn't detected just a random "generic virus" it was an identified trojan.

But anyways, thanks for the tutorial, very helpful. Oh and I have some questions.
On advance map, does the "check for free space" work like FSF program?

When you select the the option "add script editor" on advance map, do I separe offsets with "the standard ';'" or "the preferred ' ' <I assume its a space>"?

Echidna
February 21st, 2011, 07:08 AM
hahaha....in answer to your first question.. i don't know...but i recommend not to use it.......and in answer to your second question....choose any one...it doesn't matter...but i usually choose no... so choose that so if anything is to change...you can keep up with this tutorial....
and i scanned mine again...nothing.....don't know...could be a glitch....

M.L
February 25th, 2011, 05:47 AM
hi man ive got somthing to ask if you can give me an example uhm how would you write wait ill give an example of what i want'' you get an item and then you talk to a statue or person and then it opens a door'' how?? please explain thanks !!

sorry about all the questions but.... im trying to get more experience and all and i enjoy it so i wana learn oh and thanks again!

Echidna
February 27th, 2011, 03:24 AM
ohthat's easy...at the statue....check if the player has the item...if yes....use setmaptile....here's and example....this is part of the script...you gotta enter the messages and stuff your self.....
checkitem 0xitem number(in hex) 0xnumber to look for(in your case...1)
if 0x1 goto @bla
release
end

#org @bla
setmaptile 0xXcordinate of where the dor should be 0xYcrdinate 0xtilenumber 0x0
bla bla bla

But what's the tile number. Well in advance map, hover the mouse above the tile and in the bottom left corner something like Block: XX Offset: YY should appear. The XX is the tile number. Remember the coordinates have to be in hex.

but you gotta insert to the rm the tile of the open door...or use the cave door...in the case..you gotta set two tiles...one for the bottom part of the door..and another for the upper part...yes the cave door is two parts..otherwise it will look weird......oh and befre all this...there is supposed to be a warp n the tile where the door will be..and the 0x0 at the end of the setmaptile command means that the tile can now be walked on....it can be 0x1 so the tile is bloacked...
test it out........lol....read the setting tiles section above for more nfo on this command......

M.L
February 28th, 2011, 05:51 AM
Ohk i get it a bit but the thing is wait can you maybe check and tell me this"the door musnt be there and when you talk to the (person,statue Ect) the door is then showed but the script you showed me doesnt do that" Please help im sorry to be a bother and all but i just wana say thanks for all the help so far its been great so if you could help....... would be great thanks thanks!!

M.L says thanks! :);)

Sora's Nobody
February 28th, 2011, 06:02 AM
Hmm. The only itch about these tutorials of yours is the scripting and such. I mean, I wonder where you got all the information ect: Diegoisawesome's scripting tutorial (which he got from thethethe's tutorial but with permission)It's just that there is an excellent tutorial on XSE a few threads bellow you, and you don't bring anything new to the table.

M.L
March 1st, 2011, 05:36 AM
Hey i checked the flag section and couldnt find somthing i need.... so what i meen is like one of those scripts like say you walk into a building and there is know one there then you do somthing(talk or complete sothing for someone) then later you go back into the building and there are people their how HOW
Thanks

this may be useful for alot of people so if you can explain or give exaple it would be apreciated thanks!

Echidna
March 1st, 2011, 06:44 AM
Hmm. The only itch about these tutorials of yours is the scripting and such. I mean, I wonder where you got all the information ect: Diegoisawesome's scripting tutorial (which he got from thethethe's tutorial but with permission)It's just that there is an excellent tutorial on XSE a few threads bellow you, and you don't bring anything new to the table.

oh i read those tutorials...but nothing worked..and it got me even more lost....cause they are outdated....then i read XSE tutorial that came with it...but the prob was that it was kinda complex and explained non more than 20-25 commands...so i tried them out...some worked...then ...after i understood parameters, i started reading the command help, which only said what each and every command does, and what it needs as parameters, and i tried and tried and tested, and used over 50-60 firered roms, which took like 6 month of pure testing most commands, until i learned almost all....and the reason why this tutorial differs is, if you read this and the ones you r talking about thoroughly, you will see that some commands mentioned here aren't mentioned there....and some are changed to fit the new XSE release, removing a few buffer paraneters, adding a few, changing the main phrase that makes the comand

ex: wildbattle used to be startwildbattle, and wild battle had no buffers, and know does, three actually, and msgbox used to essage, and the last parameter wasn't added till later, it used to be added as its own command
it used to be
message @talk
boxset 0x6
which doesn't work in the new XSE release, it is now a prameter:
msgbox @talk 0x6

scripter were getting so confused that no one actually read the tutorials and didn't have to post a question(except me cause i went to learning my self)

oh and another reason is that this is an everything tutorial, and the thing i hated most when learning to hack was having to look around for tutorials on different subjects of hacking, and having them all together is very helpfull for hackers, as was pointed out a few posts earlier(or in the other part of the tutorial).....all i wanted to do was to make it easier to learn hacking...lol....

Hey i checked the flag section and couldnt find somthing i need.... so what i meen is like one of those scripts like say you walk into a building and there is know one there then you do somthing(talk or complete sothing for someone) then later you go back into the building and there are people their how HOW
Thanks

this may be useful for alot of people so if you can explain or give exaple it would be apreciated thanks!

in accordance to your previous post...i forgot to mention..you gotta revive the map somehow for the door to appear...i don't know how to do that...but try adding this after the setmaptile command:
fadescreen 0x1
fadescreen 0x0

but it might or might not work....openning doors is usually used in level scripts...lol....but i'm gonna try to find a solution......give me an hour or so.....lol....oh and for this question......in the tutrorial forum.....there is somewhere a level script tutorial...read that...but change the type of script to On entering map not on menu close
something like that... and in the script, let it check for the flag you want to be the activation key.... and then use showsprite and clear a flag, and you gotta assign that flag to all the sprites in that building, and in advance map, set their movement to hidden, so they will only be shown when you use show sprite, and clear the flag so that they are perminantly shown....lol.....

musicexam
March 1st, 2011, 11:46 PM
Please help!
in XSE:

#dynamic 0x3FA2F3

#org @start
givepokemon 0x1 0x14 0x1 0x0 0x0 0x0
fanfare 0x13E
msgbox @1
waitfanfare
closeonkeypress
end

#org @1
= [player] recieved a Pokemon!

-----------------------------------
i type this in XSE, but there is an error: line 11 does not have an offset value.


Another question; is it possible to make a sprite talk to you without battling, or to change how Prof. Oak moves just before you go into the tall grass for the first time?

Yet another question; when i include the waitfanfare and closeonkeypress codes, the game hangs when i step on the scripted tile. i hear the fanfare, but the gmae hangs there. is there a way to continue playing the game without restarting?

P.s. Yes, i tried your code pasted above (the recieve pokemon one). Didn't work for me. Also, in XSE, when i input a new pointer (#org @?) and compile, it says i have a new offset value. What do i do with it?



SORRY FOR THE LONG TEXT!!! PLEASE REPLY!!!
I love your tutorial cause i have 0% knowledge of this :P

M.L
March 2nd, 2011, 09:55 AM
haha ill give it a try but im still begining as i just got the moving trainer battles to sorta work so im getting their slowly ive got many things to experiment with as i need to learn alot of commands to get my scripts working propley, i make some stupid mistakes and then gotta check my entire scripts i just wana know can you recomend any good hacks that you have played made...... that i can maybe test and see ive played many and am playing flora sky so ja and thanks hope you dont mind the questions...........
ja
oh ja so must i put show sprite in the script of the person you speak to, to get them to appear? is that right i think!?
;)

M.L
March 3rd, 2011, 11:38 AM
so to add onto the last question is.....
i get check pokemon but now hat if you want to take away the players pokemon
and can you take all of them away?

Echidna
March 4th, 2011, 07:06 AM
Please help!
in XSE:

#dynamic 0x3FA2F3

#org @start
givepokemon 0x1 0x14 0x1 0x0 0x0 0x0
fanfare 0x13E
msgbox @1
waitfanfare
closeonkeypress
end

#org @1
= [player] recieved a Pokemon!

-----------------------------------
i type this in XSE, but there is an error: line 11 does not have an offset value.


Another question; is it possible to make a sprite talk to you without battling, or to change how Prof. Oak moves just before you go into the tall grass for the first time?

Yet another question; when i include the waitfanfare and closeonkeypress codes, the game hangs when i step on the scripted tile. i hear the fanfare, but the gmae hangs there. is there a way to continue playing the game without restarting?

P.s. Yes, i tried your code pasted above (the recieve pokemon one). Didn't work for me. Also, in XSE, when i input a new pointer (#org @?) and compile, it says i have a new offset value. What do i do with it?



SORRY FOR THE LONG TEXT!!! PLEASE REPLY!!!
I love your tutorial cause i have 0% knowledge of this :P

for the script...its not working cause the msgbox command is mjissing a type ... it is supposed to be msgbox @1 0x4 ...this is for the closeonkeypress command to work...cause the type 0x4 is the one that needs this command......yes you can make a sprite talkmto you weithout battlign you...its easy...in the scipt...uise msgbox commands and not trainer battle commands......and to edit how he moves...open the rom inadvance map and doulbe click on the script tile...and edit the movements... and hit compile.....and the new offset value doesn't matter...if you are comileing the script for the first time...just hit the copy button on the window that appears after you com;ile...and paste it in advance map...and close the compile and XSE windoe... and when it asks to save..say no....its already in the rom...unless you want to use it again...copy the scipr and paste it in note pad and save it....and if you are editting a script...and hit the compile button....don't mind what it says.....hit compile then close the window that appears...that's it....and don't worry avbout asking...i made this tutorial to help people scirpt....

haha ill give it a try but im still begining as i just got the moving trainer battles to sorta work so im getting their slowly ive got many things to experiment with as i need to learn alot of commands to get my scripts working propley, i make some stupid mistakes and then gotta check my entire scripts i just wana know can you recomend any good hacks that you have played made...... that i can maybe test and see ive played many and am playing flora sky so ja and thanks hope you dont mind the questions...........
ja
oh ja so must i put show sprite in the script of the person you speak to, to get them to appear? is that right i think!?
;)

yes i recommend to check the ruby destiny trio...they are for destinedjagold ...i think they are in his sig...lol.....
and in answer to your last question....no....if you do like i said...and make him appear and then clear a flag that is tytped into his person ID.....he should perminantl be visible...lol......

so to add onto the last question is.....
i get check pokemon but now hat if you want to take away the players pokemon
and can you take all of them away?

you cannot take away a trainer's pokemon....i think....and even if you could...how are you supposed to lkeave him pokemonless ???

M.L
March 8th, 2011, 10:07 AM
Ohk wait i wana change that can you take away all of the main players pokemon not other trainers but you, so example say you go back to oak he says oh i need those pokemon and takes them and then you must find new ones can you do that?

Echidna
March 9th, 2011, 06:58 AM
i habe no idea...i'v honestly never tried to take pokemon away...hey...look at the script in the day care and any place where your pokemon are taken away in the ofiginal game.....there is no command for it...but maybe a special...lol....

SKRoy
March 12th, 2011, 06:29 AM
Is this for beginners? I don't understand the most of it...

Echidna
March 13th, 2011, 08:22 AM
you don't understand., that hurt...hmm, how old are you???

Sacred Dragon
March 14th, 2011, 12:37 PM
Sorry for being such a noob at this, but when you do something like applymovement 0x<personID> @<pointer>

What is the personID? I see it in Advance Map, but when I changed a character's ID to 1000 and tried applymovement 0x1000 @<pointer> and stepped on the tile to see if he would move, nothing happened. What am I doing wrong? Is the number already in use? Am I writing it wrong? Am I using the wrong number? Can someone show me a full example script using real numbers? I just wanna make a test script to make a person walk up and to the right when I step on a tile near him is all. I am coder of many types; coding I understand, just not where to get the number to use lawl :p

M.L
March 15th, 2011, 05:08 AM
So pedro i havnt been on in a while internet down . . . . . haha but if you can get any iinfo on how to take away the players pokemon tell me and if i find a way ill be sure as to tell you oh ja and i cant check the dyacares script i tried to set it with notepad but it dousnt work sadly and i have NO clue how XSE works so that muddles me up but ill still give it a try ohk ja thanks i hope i helped now a new command is to be found. . . . . haha MORE WORK FOR ALL OF USE!! thanks and cheers!

ohk thanks if you figure it out much apreciated if you can tell me, i hope im not a bother but a quik question:
say now you speak to a guy and like a yes or no question but you dont want it to be yes or no you want it to be a pokemon name or next example
You go into lab and you talk to oak he says; you old now you can get a pokemon wich one shall you have and the box appears like this

[CINDAQAUL]
[TOTODILE]
[CHICKORITA]
[next]

and it goes to a certain command depending on what you chose if you chose a pkms name it will give you it if you chose next it moves onto a new list with diffrent pokemon names i know this may be long since its alot of commands but can you explain this to me please?? i will be grateful thanks alot it will help with my hack!!

The Nintendo Freak
March 15th, 2011, 01:04 PM
just started editing a copy of fire red

when i click on open script in advance map it tells me it cant find the script editor. im thinking that its to do with where my files are saved. how do i fix this problem? also once this is done will i be able to see existing scripts that were in the game origonaly (thinking they might be a good use of example codes)

very last question (for the moment honist)
i want to remove the gender option from the start alltogether is there any way to edit the scripts in that opening sequence?

Echidna
March 16th, 2011, 09:21 AM
Sorry for being such a noob at this, but when you do something like applymovement 0x<personID> @<pointer>

What is the personID? I see it in Advance Map, but when I changed a character's ID to 1000 and tried applymovement 0x1000 @<pointer> and stepped on the tile to see if he would move, nothing happened. What am I doing wrong? Is the number already in use? Am I writing it wrong? Am I using the wrong number? Can someone show me a full example script using real numbers? I just wanna make a test script to make a person walk up and to the right when I step on a tile near him is all. I am coder of many types; coding I understand, just not where to get the number to use lawl :p

yeah..the thing you are doing wrong is that you don't edit the peron id...its the peron event number, at the top......and it has to be inn hex...so instead of 1000...type: 3E8 (after you change the person event number or people event number (i forgot its name) to 1000)

So pedro i havnt been on in a while internet down . . . . . haha but if you can get any iinfo on how to take away the players pokemon tell me and if i find a way ill be sure as to tell you oh ja and i cant check the dyacares script i tried to set it with notepad but it dousnt work sadly and i have NO clue how XSE works so that muddles me up but ill still give it a try ohk ja thanks i hope i helped now a new command is to be found. . . . . haha MORE WORK FOR ALL OF USE!! thanks and cheers!

ohk thanks if you figure it out much apreciated if you can tell me, i hope im not a bother but a quik question:
say now you speak to a guy and like a yes or no question but you dont want it to be yes or no you want it to be a pokemon name or next example
You go into lab and you talk to oak he says; you old now you can get a pokemon wich one shall you have and the box appears like this

[CINDAQAUL]
[TOTODILE]
[CHICKORITA]
[next]

and it goes to a certain command depending on what you chose if you chose a pkms name it will give you it if you chose next it moves onto a new list with diffrent pokemon names i know this may be long since its alot of commands but can you explain this to me please?? i will be grateful thanks alot it will help with my hack!!

for your first question
goto settings -- > choose script editor...and choose XSE
now in advance map, double click on the script you want to open and it will open in XSE

for your second question...you will have to do some multichoice box editting..and i am lueless in that matter...lol...

just started editing a copy of fire red

when i click on open script in advance map it tells me it cant find the script editor. im thinking that its to do with where my files are saved. how do i fix this problem? also once this is done will i be able to see existing scripts that were in the game origonaly (thinking they might be a good use of example codes)

very last question (for the moment honist)
i want to remove the gender option from the start alltogether is there any way to edit the scripts in that opening sequence?

goto settings -- > choose script editor...and choose XSE
now in advance map, double click on the script you want to open and it will open in XSE, or choose it and hot open script like you said.....lol....

and editting the intro needs asm hackng which is very complex...like programming..and you have to be an epert to do that...look for an asm hacker and ask him...

PowerSpartanl99
March 16th, 2011, 07:52 PM
Dude sweet tutorial! This taught me everything I know about scripting. One question though: how do you assign certain scripts to activate when talking to a person? For example, let's say I make a person event in advance map, then how do I assign a msgbox to that particular person? Please help man thanks

M.L
March 17th, 2011, 08:51 AM
Hahaha thanx lol ja ima try and get that multichoice stuff right hey thanx youve been alota help can you do asm hacking is it realy that complicated?

Echidna
March 18th, 2011, 04:35 AM
asm is very complicated, unless you are a programmer...lol.....its basically editting the game's engine from scratch...lol...

M.L
March 18th, 2011, 10:56 PM
haha ja i dont think ill be able to to that can you ASM hack?

Echidna
March 20th, 2011, 07:59 AM
no...i am learning though..lol....i hope i master it sometime....

M.L
March 22nd, 2011, 08:22 AM
haha then make a tutorial for me then cause i underdstand yours i no you say you may not be too good at multichoice questiob but if you may be able to give me a simple one i can then adjust it :) :) haha oh ja your specials you gave me help i like using them oh ja i wana ask i donna if you played FLORA SKY but their is a multi choice script thing and in gives you the option to teleport and it says 1:golden city 2:FIESTA ZONE
The a box [1]
[2]
[none]

Is it posible if you may help???


Oh and heres one of my ''special'' scripts i have 1 question

#org $start
lock
faceplayer
message $1
boxset 5
compare LASTRESULT 1
if 1 goto $done
message $no
$no 1 = Fine come back any time!
boxset 6
release
end

#org $done
lock
special 0x9B
message $2
boxset 6
special 0x98
warp 0x0 0x2 0x8
release
end

#org $1
$1 1 = check the clock and tell me\nif its time to go up!

#org $2
$2 1 = Oh it is lets go!

How do i get the Message 2 to work everything else works it brings up the clock then you click cancel from the clock ''thats where the message must appear'' but it stops you click a button then it goes to the next special and then warp so if yyou can tell me why the second message doesnt appear??


Oh i just wana give somthing i put together from many searching haha it may help most of it works wait i think 99% of it works some for r/s other for fr/lg ohk here it is it may help alot of people

{PLAYER} \v\h01!
{RIVAL} \v\h06
Master Ball 1
Ultra Ball 2
Great Ball 3
Poké Ball 4
Safari Ball 5
Net Ball 6
Dive Ball 7
Nest Ball 8
Repeat Ball 9
Timer Ball 10
Luxury Ball 11
Premier Ball 12
Potion 13
Antidote 14
Burn Heal 15
Ice Heal 16
Awakening 17
Parlyz Heal 18
Full Restore 19
Max Potion 20
Hyper Potion 21
Super Potion 22
Full Heal 23
Revive 24
Max Revive 25
Fresh Water 26
Soda Pop 27
Lemonade 28
Moomoo Milk 29
Energypowder 30
Energy Root 31
Heal Powder 32
Revival Herb 33
Ether 34
Max Ether 35
Elixir 36
Max Elixir 37
Lava Cookie 38
Blue Flute 39
Yellow Flute 40
Red Flute 41
Black Flute 42
White Flute 43
Berry Juice 44
Sacred Ash 45
Shoal Salt 46
Shoal Shell 47
Red Shard 48
Blue Shard 49
Yellow Shard 50
Green Shard 51
HP Up 63
Protein 64
Iron 65
Carbos 66
Calcium 67
Rare Candy 68
PP Up 69
Zinc 70
PP Max 71
Guard Spec. 73
Dire Hit 74
X Attack 75
X Defend 76
X Speed 77
X Accuracy 78
X Special 79
Poké Doll 80
Fluffy Tail 81
Super Repel 83
Max Repel 84
Escape Rope 85
Repel 86
Sun Stone 93
Moon Stone 94
Fire Stone 95
Thunderstone 96
Water Stone 97
Leaf Stone 98
Tinymushroom 103
Big Mushroom 104
Pearl 106
Big Pearl 107
Stardust 108
Star Piece 109
Nugget 110
Heart Scale 111
Orange Mail 121
Harbor Mail 122
Glitter Mail 123
Mech Mail 124
Wood Mail 125
Wave Mail 126
Bead Mail 127
Shadow Mail 128
Tropic Mail 129
Dream Mail 130
Fab Mail 131
Retro Mail 132
Cheri Berry 133
Chesto Berry 134
Pecha Berry 135
Rawst Berry 136
Aspear Berry 137
Leppa Berry 138
Oran Berry 139
Persim Berry 140
Lum Berry 141
Sitrus Berry 142
Figy Berry 143
Wiki Berry 144
Mago Berry 145
Aguav Berry 146
Iapapa Berry 147
Razz Berry 148
Bluk Berry 149
Nanab Berry 150
Wepear Berry 151
Pinap Berry 152
Pomeg Berry 153
Kelpsy Berry 154
Qualot Berry 155
Hondew Berry 156
Grepa Berry 157
Tamato Berry 158
Cornn Berry 159
Magost Berry 160
Rabuta Berry 161
Nomel Berry 162
Spelon Berry 163
Pamtre Berry 164
Watmel Berry 165
Durin Berry 166
Belue Berry 167
Liechi Berry 168
Ganlon Berry 169
Salac Berry 170
Petaya Berry 171
Apicot Berry 172
Lansat Berry 173
Starf Berry 174
Enigma Berry 175
Brightpowder 179
White Herb 180
Macho Brace 181
Exp. Share 182
Quick Claw 183
Soothe Bell 184
Mental Herb 185
Choice Band 186
King's Rock 187
Silverpowder 188
Amulet Coin 189
Cleanse Tag 190
Soul Dew 191
Deepseatooth 192
Deepseascale 193
Smoke Ball 194
Everstone 195
Focus Band 196
Lucky Egg 197
Scope Lens 198
Metal Coat 199
Leftovers 200
Dragon Scale 201
Light Ball 202
Soft Sand 203
Hard Stone 204
Miracle Seed 205
Blackglasses 206
Black Belt 207
Magnet 208
Mystic Water 209
Sharp Beak 210
Poison Barb 211
Nevermeltice 212
Spell Tag 213
Twistedspoon 214
Charcoal 215
Dragon Fang 216
Silk Scarf 217
Up-grade 218
Shell Bell 219
Sea Incense 220
Lax Incense 221
Lucky Punch 222
Metal Powder 223
Thick Club 224
Stick 225
Red Scarf 254
Blue Scarf 255
Pink Scarf 256
Green Scarf 257
Yellow Scarf 258
Mach Bike 259
Coin Case 260
Itemfinder 261
Old Rod 262
Good Rod 263
Super Rod 264
S.S. Ticket 265
Contest Pass 266
Wailmer Pail 268
Devon Goods 269
Soot Sack 270
Basement Key 271
Acro Bike 272
PokéBlock Case 273
Letter 274
Eon Ticket 275
Red Orb 276
Blue Orb 277
Scanner 278
Go-goggles 279
Meteorite 280
Rm. 1 Key 281
Rm. 2 Key 282
Rm. 4 Key 283
Rm. 6 Key 284
Storage Key 285
Root Fossil 286
Claw Fossil 287
Devon Scope 288
TM01 289
TM02 290
TM03 291
TM04 292
TM05 293
TM06 294
TM07 295
TM08 296
TM09 297
TM10 298
TM11 299
TM12 300
TM13 301
TM14 302
TM15 303
TM16 304
TM17 305
TM18 306
TM19 307
TM20 308
TM21 309
TM22 310
TM23 311
TM24 312
TM25 313
TM26 314
TM27 315
TM28 316
TM29 317
TM30 318
TM31 319
TM32 320
TM33 321
TM34 322
TM35 323
TM36 324
TM37 325
TM38 326
TM39 327
TM40 328
TM41 329
TM42 330
TM43 331
TM44 332
TM45 333
TM46 334
TM47 335
TM48 336
TM49 337
TM50 338
HM01 339
HM02 340
HM03 341
HM04 342
HM05 343
HM06 344
HM07 345
HM08 346
Oak's Parcel 349
Poké Flute 350
Secret Key 351
Bike Voucher 352
Gold Teeth 353
Old Amber 354
Card Key 355
Lift Key 356
Helix Fossil 357
Dome Fossil 358
Silph Scope 359
Bicycle 360
Town Map 361
VS Seeker 362
Fame Checker 363
TM Case 364
Berry Pouch 365
Teachy TV 366
Tri-pass 367
Rainbow Pass 368
Tea 369
Mysticticket 370
Auroraticket 371
Powder Jar 372
Ruby 373
Sapphire 374
POKEMON
0100 = BULBASAUR
0200 = IVYSAUR
0300 = VENESAUR
0400 = CHARMANDER
0500 = CHARMELEON
0600 = CHARIZARD
0700 = SQUIRTLE
0800 = WARTORTLE
0900 = BLASTOISE
0A00 = CATERPIE
0B00 = METAPOD
0C00 = BUTTERFREE
0D00 = WEEDLE
0E00 = KAKUNA
0F00 = BEEDRILL
1000 = PIDGEY
1100 = PIDGEOTTO
1200 = PIDGEOT
1300 = RATTATA
1400 = RATICATE
1500 = SPEAROW
1600 = FEAROW
1700 = EKANS
1800 = ARBOK
1900 = PIKACHU
1A00 = RAICHU
1B00 = SANDSHREW
1C00 = SANDSLASH
1D00 = NIDORAN (FEMALE)
1E00 = NIDORINA
1F00 = NIDOQUEEN
2000 = NIDORAN (MALE)
2100 = NIDORINO
2200 = NIDOKING
2300 = CLEFAIRY
2400 = CLEFABLE
2500 = VULPIX
2600 = NINETALES
2700 = JIGGLYPUFF
2800 = WIGGLYTUFF
2900 = ZUBAT
2A00 = GOLBAT
2B00 = ODDISH
2C00 = GLOOM
2D00 = VILEPLUME
2E00 = PARAS
2F00 = PARASECT
3000 = VENONAT
3100 = VENOMOTH
3200 = DIGLETT
3300 = DUGTRIO
3400 = MEOWTH
3500 = PERSIAN
3600 = PSYDUCK
3700 = GOLDUCK
3800 = MANKEY
3900 = PRIMEAPE
3A00 = GROWLITHE
3B00 = ARCANINE
3C00 = POLIWAG
3D00 = POLIWHIRL
3E00 = POLIWRATH
3F00 = ABRA
4000 = KADABRA
4100 = ALAKAZAM
4200 = MACHOP
4300 = MACHOKE
4400 = MACHAMP
4500 = BELLSPROUT
4600 = WEEPINBELL
4700 = VICTREEBELL
4800 = TENTACOOL
4900 = TENTACRUEL
4A00 = GEODUDE
4B00 = GRAVELER
4C00 = GOLEM
4D00 = PONYTA
4E00 = RAPIDASH
4F00 = SLOWPOKE
5000 = SLOWBRO
5100 = MAGNEMITE
5200 = MAGNETON
5300 = FARFETCH'D
5400 = DODUO
5500 = DODRIO
5600 = SEEL
5700 = DEWGONG
5800 = GRIMER
5900 = MUK
5A00 = SHELLDER
5B00 = CLOYSTER
5C00 = GASTLY
5D00 = HAUNTER
5E00 = GENGAR
5F00 = ONIX
6000 = DROWZEE
6100 = HYPNO
6200 = KRABBY
6300 = KINGLER
6400 = VOLTORB
6500 = ELECTRODE
6600 = EXEGGCUTE
6700 = EXEGGUTOR
6800 = CUBONE
6900 = MAROWAK
6A00 = HITMONLEEE
6B00 = HITMONCHAN
6C00 = LICKITUNG
6D00 = KOFFING
6E00 = WEEZING
6F00 = RHYHORN
7000 = RHYDON
7100 = CHANSEY
7200 = TANGELA
7300 = KANGASKHAN
7400 = HORSEA
7500 = SEADRA
7600 = GOLDEEN
7700 = SEAKING
7800 = STARYU
7900 = STARMIE
7A00 = MR. MIME
7B00 = SCYTHER
7C00 = JYNX
7D00 = ELECTABUZZ
7E00 = MAGMAR
7F00 = PINSIR
8000 = TAUROS
8100 = MAGIKARP
8200 = GYARADOS
8300 = LAPRAS
8400 = DITTO
8500 = EEVEE
8600 = VAPOREON
8700 = JOLTEON
8800 = FLAREON
8900 = PORYGON
8A00 = OMANYTE
8B00 = OMASTAR
8C00 = KABUTO
8D00 = KABUTOPS
8E00 = AERODACTYL
8F00 = SNORLAX
9000 = ARTICUNO
9100 = ZAPDOS
9200 = MOLTRES
9300 = DRATINI
9400 = DRAGONAIR
9500 = DRAGONITE
9600 = MEWTWO
9700 = MEW
9800 = CHIKORITA
9900 = BAYLEEF
9A00 = MEGANIUM
9B00 = CYNDAQUIL
9C00 = QUILAVA
9D00 = TYPLOSION
9E00 = TOTODILE
9F00 = CROCONAW
A000 = FERALIGATR
A100 = SENTRET
A200 = FURRET
A300 = HOOTHOOT
A400 = NOCTOWL
A500 = LEDYBA
A600 = LEDIAN
A700 = SPINARAK
A800 = ARIADOS
A900 = CROBAT
AA00 = CHINCHOU
AB00 = LANTURN
AC00 = PICHU
AD00 = CLEFFA
AE00 = IGGLYBUFF
AF00 = TOGEPI
B000 = TOGETIC
B100 = NATU
B200 = XATU
B300 = MAREEP
B400 = FLAAFFY
B500 = AMPHAROS
B600 = BELLOSSOM
B700 = MARRILL
B800 = AZUMARILL
B900 = SUDOWOODO
BA00 = POLITOED
BB00 = HOPPIP
BC00 = SKI PLOOM
BD00 = JUMPLUFF
BE00 = AIPOM
BF00 = SUNKERN
C000 = SUNFLORA
C100 = YANMA
C200 = WOOPER
C300 = QUAGSIRE
C400 = ESPEON
C500 = UMBREON
C600 = MURKROW
C700 = SLOWKING
C800 = MISDREAVUS
C900 = UNOWN
CA00 = WOBBUFFET
CB00 = GIRAFARIG
CC00 = PINECO
CD00 = FORRETRESS
CE00 = DUNSPARCE
CF00 = GLIGAR
D000 = STEELIX
D100 = SNUBBULL
D200 = GRANBULL
D300 = QWILFISH
D400 = SCIZOR
D500 = SHUCKLE
D600 = HERACROSS
D700 = SNEASEL
D800 = TEDDIURSA
D900 = URSARING
DA00 = SLUGMA
DB00 = MAGCARGO
DC00 = SWINUB
DD00 = PILOSWINE
DE00 = CORSOLA
DF00 = REMORAID
E000 = OCTILLERY
E100 = DELIBIRD
E200 = MANTINE
E300 = SKARMORY
E400 = HOUNDOUR
E500 = DOUNDOOM
E600 = KINGDRA
E700 = PHANPY
E800 = DONPHAN
E900 = PORYGON2
EA00 = STANTLER
EB00 = SMEARGLE
EC00 = TYROGUE
ED00 = HITMONTOP
EE00 = SMOOCHUM
EF00 = ELEKID
F000 = MAGBY
F100 = MILTANK
F200 = BLISSEY
F300 = RAIKOU
F400 = ENTEI
F500 = SUICINE
F600 = LARVITAR
F700 = PUPITAR
F800 = TYRANITAR
F900 = LUGIA
FA00 = HO-OH
FB00 = CELEBI
1501 = TREECKO
1601 = GROVYLE
1701 = SCEPTILE
1801 = TORCHIC
1901 = COMBUSKEN
1A01 = BLAZIKEN
1B01 = MUDKIP
1C01 = MARSHTOMP
1D01 = SWAMPERT
1E01 = POOCHYENA
1F01 = MIGHTYENA
2001 = ZIGZAGOON
2101 = LINOONE
2201 = WURMPLE
2301 = SILCOON
2401 = BEAUTIFLY
2501 = CASCOON
2601 = DUSTOX
2701 = LOTAD
2801 = LOMBRE
2901 = LUDICOLO
2A01 = SEEDOT
2B01 = NUZLEAF
2C01 = SHIFTRY
2D01 = NINCADA
2E01 = NINJASK
2F01 = SHEDINJA
3001 = TAILLOW
3101 = SWELLOW
3201 = SHROOMISH
3301 = BRELOOM
3401 = SPINDA
3501 = WINGULL
3601 = PELIPPER
3701 = SURSKIT
3801 = MASQUERAIN
3901 = WAILMER
3A01 = WAILORD
3B01 = SKITTY
3C01 = DELCATTY
3D01 = KECLEON
3E01 = BALTOY
3F01 = CLAYDOL
4001 = NOSEPASS
4101 = TORKOAL
4201 = SABLEYE
4301 = BARBOACH
4401 = WHISCASH
4501 = LUVDISC
4601 = CORPHISH
4701 = CRAWDAUNT
4801 = FEEBAS
4901 = MILOTIC
4A01 = CARVANHA
4B01 = SHARPEDO
4C01 = TRAPINCH
4D01 = VIBRAVA
4E01 = FLYGON
4F01 = MAKUHITA
5001 = HARIYAMA
5101 = ELECTRIKE
5201 = MANECTRIC
5301 = NUMEL
5401 = CAMERUPT
5501 = SPHEAL
5601 = SEALEO
5701 = WALREIN
5801 = CACNEA
5901 = CACTURNE
5A01 = SNORUNT
5B01 = GLALIE
5C01 = LUNATONE
5D01 = SOLROCK
5E01 = AZURILL
5F01 = SPOINK
6001 = GRUMPIG
6101 = PLUSLE
6201 = MINUN
6301 = MAWILE
6401 = MEDITITE
6501 = MEDICHAM
6601 = SWABLU
6701 = ALTARIA
6801 = WYNAUT
6901 = DUSKULL
6A01 = DUSCLOPS
6B01 = ROSELIA
6C01 = SLAKOTH
6D01 = VIGOROTH
6E01 = SLAKING
6F01 = GULPIN
7001 = SWALOT
7101 = TROPIUS
7201 = WHISMUR
7301 = LOUDRED
7401 = EXPLOUD
7501 = CLAMPERL
7601 = HUNTAIL
7701 = GOREBYSS
7801 = ABSOL
7901 = SHUPPET
7A01 = BANNETE
7B01 = SEVIPER
7C01 = ZANGOOSE
7D01 = RELICANTH
7E01 = ARON
7F01 = LAIRON
8001 = AGGRON
8101 = CASTFORM
8201 = VOLBEAT
8301 = ILLUMISE
8401 = LILEEP
8501 = CRADILY
8601 = ANORITH
8701 = ARMALDO
8801 = RALTS
8901 = KIRLIA
8A01 = GARDEVOIR
8B01 = BAGON
8C01 = SHELGON
8D01 = SALAMENCE
8E01 = BELDUM
8F01 = METANG
9001 = METAGROSS
9101 = REGI ROCK
9201 = REGICE
9301 = REGI STEEL
9401 = KYOGRE
9501 = GROUDON
9601 = RAYQUAZA
9701 = LATIAS
9801 = LATIOS
9901 = JIRACHI
9A01 = DEOXYS
9B01 = CHIMECHO
SECOND
BULBASAUR 1
IVYSAUR 2
VENUSAUR 3
CHARMANDER 4
CHARMELEON 5
CHARIZARD 6
SQUIRTLE 7
WARTORTLE 8
BLASTOISE 9
CATERPIE 10
METAPOD 11
BUTTERFREE 12
WEEDLE 13
KAKUNA 14
BEEDRILL 15
PIDGEY 16
PIDGEOTTO 17
PIDGEOT 18
RATTATA 19
RATICATE 20
SPEAROW 21
FEAROW 22
EKANS 23
ARBOK 24
PIKACHU 25
RAICHU 26
SANDSHREW 27
SANDSLASH 28
NIDORAN|w| 29
NIDORINA 30
NIDOQUEEN 31
NIDORAN|m| 32
NIDORINO 33
NIDOKING 34
CLEFAIRY 35
CLEFABLE 36
VULPIX 37
NINETALES 38
JIGGLYPUFF 39
WIGGLYTUFF 40
ZUBAT 41
GOLBAT 42
ODDISH 43
GLOOM 44
VILEPLUME 45
PARAS 46
PARASECT 47
VENONAT 48
VENOMOTH 49
DIGLETT 50
DUGTRIO 51
MEOWTH 52
PERSIAN 53
PSYDUCK 54
GOLDUCK 55
MANKEY 56
PRIMEAPE 57
GROWLITHE 58
ARCANINE 59
POLIWAG 60
POLIWHIRL 61
POLIWRATH 62
ABRA 63
KADABRA 64
ALAKAZAM 65
MACHOP 66
MACHOKE 67
MACHAMP 68
BELLSPROUT 69
WEEPINBELL 70
VICTREEBEL 71
TENTACOOL 72
TENTACRUEL 73
GEODUDE 74
GRAVELER 75
GOLEM 76
PONYTA 77
RAPIDASH 78
SLOWPOKE 79
SLOWBRO 80
MAGNEMITE 81
MAGNETON 82
FARFETCH'D 83
DODUO 84
DODRIO 85
SEEL 86
DEWGONG 87
GRIMER 88
MUK 89
SHELLDER 90
CLOYSTER 91
GASTLY 92
HAUNTER 93
GENGAR 94
ONIX 95
DROWZEE 96
HYPNO 97
KRABBY 98
KINGLER 99
VOLTORB 100
ELECTRODE 101
EXEGGCUTE 102
EXEGGUTOR 103
CUBONE 104
MAROWAK 105
HITMONLEE 106
HITMONCHAN 107
LICKITUNG 108
KOFFING 109
WEEZING 110
RHYHORN 111
RHYDON 112
CHANSEY 113
TANGELA 114
KANGASKHAN 115
HORSEA 116
SEADRA 117
GOLDEEN 118
SEAKING 119
STARYU 120
STARMIE 121
MR. MIME 122
SCYTHER 123
JYNX 124
ELECTABUZZ 125
MAGMAR 126
PINSIR 127
TAUROS 128
MAGIKARP 129
GYARADOS 130
LAPRAS 131
DITTO 132
EEVEE 133
VAPOREON 134
JOLTEON 135
FLAREON 136
PORYGON 137
OMANYTE 138
OMASTAR 139
KABUTO 140
KABUTOPS 141
AERODACTYL 142
SNORLAX 143
ARTICUNO 144
ZAPDOS 145
MOLTRES 146
DRATINI 147
DRAGONAIR 148
DRAGONITE 149
MEWTWO 150
MEW 151
CHIKORITA 152
BAYLEEF 153
MEGANIUM 154
CYNDAQUIL 155
QUILAVA 156
TYPHLOSION 157
TOTODILE 158
CROCONAW 159
FERALIGATR 160
SENTRET 161
FURRET 162
HOOTHOOT 163
NOCTOWL 164
LEDYBA 165
LEDIAN 166
SPINARAK 167
ARIADOS 168
CROBAT 169
CHINCHOU 170
LANTURN 171
PICHU 172
CLEFFA 173
IGGLYBUFF 174
TOGEPI 175
TOGETIC 176
NATU 177
XATU 178
MAREEP 179
FLAAFFY 180
AMPHAROS 181
BELLOSSOM 182
MARILL 183
AZUMARILL 184
SUDOWOODO 185
POLITOED 186
HOPPIP 187
SKIPLOOM 188
JUMPLUFF 189
AIPOM 190
SUNKERN 191
SUNFLORA 192
YANMA 193
WOOPER 194
QUAGSIRE 195
ESPEON 196
UMBREON 197
MURKROW 198
SLOWKING 199
MISDREAVUS 200
UNOWN 201
WOBBUFFET 202
GIRAFARIG 203
PINECO 204
FORRETRESS 205
DUNSPARCE 206
GLIGAR 207
STEELIX 208
SNUBBULL 209
GRANBULL 210
QWILFISH 211
SCIZOR 212
SHUCKLE 213
HERACROSS 214
SNEASEL 215
TEDDIURSA 216
URSARING 217
SLUGMA 218
MAGCARGO 219
SWINUB 220
PILOSWINE 221
CORSOLA 222
REMORAID 223
OCTILLERY 224
DELIBIRD 225
MANTINE 226
SKARMORY 227
HOUNDOUR 228
HOUNDOOM 229
KINGDRA 230
PHANPY 231
DONPHAN 232
PORYGON2 233
STANTLER 234
SMEARGLE 235
TYROGUE 236
HITMONTOP 237
SMOOCHUM 238
ELEKID 239
MAGBY 240
MILTANK 241
BLISSEY 242
RAIKOU 243
ENTEI 244
SUICUNE 245
LARVITAR 246
PUPITAR 247
TYRANITAR 248
LUGIA 249
HO-OH 250
CELEBI 251
TREECKO 277
GROVYLE 278
SCEPTILE 279
TORCHIC 280
COMBUSKEN 281
BLAZIKEN 282
MUDKIP 283
MARSHTOMP 284
SWAMPERT 285
POOCHYENA 286
MIGHTYENA 287
ZIGZAGOON 288
LINOONE 289
WURMPLE 290
SILCOON 291
BEAUTIFLY 292
CASCOON 293
DUSTOX 294
LOTAD 295
LOMBRE 296
LUDICOLO 297
SEEDOT 298
NUZLEAF 299
SHIFTRY 300
NINCADA 301
NINJASK 302
SHEDINJA 303
TAILLOW 304
SWELLOW 305
SHROOMISH 306
BRELOOM 307
SPINDA 308
WINGULL 309
PELIPPER 310
SURSKIT 311
MASQUERAIN 312
WAILMER 313
WAILORD 314
SKITTY 315
DELCATTY 316
KECLEON 317
BALTOY 318
CLAYDOL 319
NOSEPASS 320
TORKOAL 321
SABLEYE 322
BARBOACH 323
WHISCASH 324
LUVDISC 325
CORPHISH 326
CRAWDAUNT 327
FEEBAS 328
MILOTIC 329
CARVANHA 330
SHARPEDO 331
TRAPINCH 332
VIBRAVA 333
FLYGON 334
MAKUHITA 335
HARIYAMA 336
ELECTRIKE 337
MANECTRIC 338
NUMEL 339
CAMERUPT 340
SPHEAL 341
SEALEO 342
WALREIN 343
CACNEA 344
CACTURNE 345
SNORUNT 346
GLALIE 347
LUNATONE 348
SOLROCK 349
AZURILL 350
SPOINK 351
GRUMPIG 352
PLUSLE 353
MINUN 354
MAWILE 355
MEDITITE 356
MEDICHAM 357
SWABLU 358
ALTARIA 359
WYNAUT 360
DUSKULL 361
DUSCLOPS 362
ROSELIA 363
SLAKOTH 364
VIGOROTH 365
SLAKING 366
GULPIN 367
SWALOT 368
TROPIUS 369
WHISMUR 370
LOUDRED 371
EXPLOUD 372
CLAMPERL 373
HUNTAIL 374
GOREBYSS 375
ABSOL 376
SHUPPET 377
BANETTE 378
SEVIPER 379
ZANGOOSE 380
RELICANTH 381
ARON 382
LAIRON 383
AGGRON 384
CASTFORM 385
VOLBEAT 386
ILLUMISE 387
LILEEP 388
CRADILY 389
ANORITH 390
ARMALDO 391
RALTS 392
KIRLIA 393
GARDEVOIR 394
BAGON 395
SHELGON 396
SALAMENCE 397
BELDUM 398
METANG 399
METAGROSS 400
REGIROCK 401
REGICE 402
REGISTEEL 403
KYOGRE 404
GROUDON 405
RAYQUAZA 406
LATIAS 407
LATIOS 408
JIRACHI 409
DEOXYS 410
CHIMECHO 411

MOVMENT NUMBERS
' Specials
0x4A ' Face player
0x4B ' Face against player
0x60 ' Disappear (removes the sprite, but the person can still be interacted with)
0x62 ' "!" pops up
0x63 ' "?" pops up
0x64 ' "X" pops up (vs-seeker cant fight)
0x65 ' "!!" pops up (vs-seeker can fight)
0x66 ' "" pops up

' walking
0x01 ' step Up0
0x02 ' step Left0
0x03 ' step Right0
0x04 ' step Down0
0x08 ' step down1
0x09 ' step up1
0x0A ' step left1
0x0B ' step right1
0x0C ' step down2
0x0D ' step up2
0x0E ' step left2
0x0F ' step right2
0x10 ' step down3
0x11 ' step up3
0x12 ' step left3
0x13 ' step right3
0x1D ' step down4
0x1E ' step up4
0x1F ' step left4
0x20 ' step right4

' jump in place looking where it says
0x52 ' jump0 down
0x53 ' jump0 up
0x54 ' jump0 left
0x55 ' jump0 right

' jump in place looking in the order it says
0x56 ' jump0 down/up
0x57 ' jump0 up/down
0x58 ' jump0 left/right
0x59 ' jump0 right/left

' Jump Direction
0x4E ' jump1 down
0x4F ' jump1 up
0x50 ' jump1 left
0x51 ' jump1 right

0x14 ' jump2 down
0x15 ' jump2 up
0x16 ' jump2 left
0x17 ' jump2 right

0x46 ' jumpLookingLeft1 down
0x47 ' jumpLookingDown1 up (jump backwards)
0x48 ' jumpLookingUp1 left
0x49 ' jumpLookingLeft right (jump backwards)
COLOURS
White - \c\h01\h00
Black - \c\h01\h02
Grey - \c\h01\h03
Red - \c\h01\h06
Orange - \c\h01\h05
Dark Green - \c\h01\h06
Cyan - \c\h01\h07
Blue - \c\h01\h08
Light Blue - \c\h01\h09
SPECIAL
special 0x0 - Heal Pokemon
special 0x3C - Acess Bill's PC (FR/LG)
special 0x98 - Going up to Mountain (R/S)
special 0x9C - Wally Catch (R/S)
special 0x9F - choose A Pokemon (R/S)
special 0xE0 - Pokeblock Case (R/S)
special 0x10F - Restart Game
special 0x110 - Hall of Fame and Credits
special 0x111 - Elevator Animation
special 0x119 - Groudons Orb effect (R/S)
special 0x131 - Earthquake (R/S)
special 0x132 - Show Floors
special 0x136 - Earthquake (FR/LG)
special 0x137 - Lava Battle
special 0x156 - Battle with Ghost (FR/LG)
special 0x157 - Get on Bike (FR/LG)
special 0x161 - Start Surfing (FR/LG)
special 0x166 - Nickname
special 0x16F - Activate National Dex (FR/LG)
special 0x17B - Seagallop Animation
special 0x191 - SS. Anne Leaving
special 0x1F3 - Activate National Dex (Emerald)
WEATHER
None = 0x0
Reflected Clouds = 0x1
Normal = 0x2
Rain = 0x3
3 Snowflakes = 0x4
Thunderstorm = 0x5
Fog = 0x6
Snow = 0x7
Sandstorm = 0x8
Diagonal Fog = 0x9
Thin Fog = 0xA
Bit Dark = 0xB
Overheat = 0xC
Thunderstorm2 = 0xD
None = 0xE
COLOURS
BLUE=#raw 0xC7 0x00
BLACK=#raw 0xC7 0x02
RED=#raw 0xC7 0x01
MORE MOVEMENT
Face Down 0x00
Face Up 0x01
Face Left 0x02
Face Right 0x03
Step Down (Very Slow) 0x08
Step Up (Very Slow) 0x09
Step Left (Very Slow) 0x0A
Step Right (Very Slow) 0x0B
Step Down (Slow) 0x0C
Step Up (Slow) 0x0D
Step Left (Slow) 0x0E
Step Right (Slow) 0x0F
Step Down (Normal) 0x10
Step Up (Normal) 0x11
Step Left (Normal) 0x12
Step Right (Normal) 0x13
Jump Down 2 Squares 0x14
Jump Up 2 Squares 0x15
Jump Left 2 Squares 0x16
Jump Right 2 Squares 0x17
Step Down (Fast) 0x1D
Step Up (Fast) 0x1E
Step Left (Fast) 0x1F
Step Right (Fast) 0x20
Step on the Spot Down 0x21
Step on the Spot Up 0x22
Step on the Spot Left 0x23
Step on the Spot Right 0x24
Step on the Spot Down (Fast) 0x25
Step on the Spot Up (Fast) 0x26
Step on the Spot Left (Fast) 0x27
Step on the Spot Right (Fast) 0x28
Step on the Spot Down (Very Fast) 0x29
Step on the Spot Up (Very Fast) 0x2A
Step on the Spot Left (Very Fast) 0x2B
Step on the Spot Right (Very Fast) 0x2C
Face Down (Non-Instant) 0x2D
Face Up (Non-Instant) 0x2E
Face Left (Non-Instant) 0x2F
Face Right (Non-Instant) 0x30
Slide Down 0x31
Slide Up 0x32
Slide Left 0x33
Slide Right 0x34
Slide Down On Right Foot 0x3D
Slide Up On Right Foot 0x3E
Slide Left On Right Foot 0x3F
Slide Right On Right Foot 0x40
Slide Down On Left Foot 0x41
Slide Up On Left Foot 0x42
Slide Left On Left Foot 0x43
Slide Right On Left Foot 0x44
Face Player 0x4A
Face Away from Player 0x4B
Jump Down 1 Square 0x4E
Jump Up 1 Square 0x4F
Jump Left 1 Square 0x50
Jump Right 1 Square 0x51
Jump in Place (Facing Down) 0x52
Jump in Place (Facing Up) 0x53
Jump in Place (Facing Left) 0x54
Jump in Place (Facing Right) 0x55
Jump in Place (Facing Down->Up) 0x56
Jump in Place (Facing Up->Down) 0x57
Jump in Place (Facing Left->Right) 0x58
Jump in Place (Facing Right->Left) 0x59
Disappear 0x60
Reappear 0x61
"!" box popup 0x62
"?" box popup 0x63
"X" box popup 0x64
"!!" box popup 0x65
"^_^" box popup 0x66

Extra
0x820 - First Badge
0x821 - Second Badge
0x822 - Third Badge
0x823 - Fourth Badge
0x824 - Fifth Badge
0x825 - Sixth Badge
0x826 - Seventh Badge
0x827 - Eighth Badge
0x828 - Pokemon Menu
0x829 - Pokedex Menu
0x82F - Running Shoes
GIVEEGG(pkm num must be in hex)
#raw 0x7A 0x19 0x00
Ruby/Sapphire:
0x800 - Pokemon Menu
0x801 - Pokedex Menu
0x802 - Pokenav Menu
0x807 - First Badge
0x808 - Second Badge
0x809 - Third Badge
0x80A - Fourth Badge
0x80B - Fifth Badge
0x80C - Sixth Badge
0x80D - Seventh Badge
0x80E - Eighth Badge
0x860 - Running Shoes
special 0x0 - Heal Pokemon
special 0x3C - Acess Bill's PC (FR/LG)
special 0x98 - Going up to Mountain (R/S)
special 0x9C - Wally Catch (R/S)
special 0x9F - choose A Pokemon (R/S)
special 0xE0 - Pokeblock Case (R/S)
special 0x10F - Restart Game
special 0x110 - Hall of Fame and Credits
special 0x111 - Elevator Animation
special 0x119 - Groudons Orb effect (R/S)
special 0x131 - Earthquake (R/S)
special 0x132 - Show Floors
special 0x136 - Earthquake (FR/LG)
special 0x137 - Lava Battle
special 0x156 - Battle with Ghost (FR/LG)
special 0x157 - Get on Bike (FR/LG)
special 0x161 - Start Surfing (FR/LG)
special 0x166 - Nickname
special 0x16F - Activate National Dex (FR/LG)
special 0x17B - Seagallop Animation
special 0x191 - SS. Anne Leaving
special 0x1F3 - Activate National Dex (Emerald
RUBY SAPPHHIRE
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


RUBY
specials
0 = Heals Party Pokémon
2 = Warp sound + FadeBlack
3 = Hero Uses Last Used Warp
8 = Make new Secret Base/Enter Secret Base
9 = Come out of Coliseum
A = Come out of Coliseum
E = Hero Uses Secret Base PC
F = Something to do with registry in a secret base
11 = Something to do with Secret Base battling
18 = Move Player to X01 Y03
19 = Something to do with secret base battling
1A = Turning off PC
1B = Mixing Records
1F = checks whether game is linked
20 = Please wait followed by wild battle (Linkup) (VS in coliseum)
21 = "Please wait link stand by" (Link Feature)
22 = "Please wait link stand by" (Link Feature)
23 = Call Save Menu
29 = Select 3 Pokémon [maybe for Battle tower?]
2A = Black Screen
2B = Something to do with Berry Growth
2C = Opens up berry pocket (Used in berry blender script)
2D = Something to do with Planted berry (Used with CmdC3)
2E = Something to do with Berry Growth
2F = Something to do with Berry Growth
30 = Maybe activates the watered flag (used first, then special0x5E)
34 = Open Textbox (Stays Open)
35 = Open Textbox (Stays Open)
3B = Trainer battle
3C = Access Lanette's PC (BOX System)
5D = Call Save Menu which keeps looping.
5E = Watering of Berry (used first, then special0x5E)
5F = You fill your trainer's profile/interview
60 = Shows what you put for trainer's Profile/interview
67 = Strange Message with sound (could be Unown speech)
6C = Trainer Tales (Link Feature)
6D = Choose Tale
75 = Secret Base Decoration Item Menu
7C = Something to do with renaming
7D = Something to do with renaming
83 = Poké Slots In Use (Store Command)
8A = Crashes
8D = Displays the last message
8E = Used with Setmaptile to make it work
91 = setmaptile #206 at X8 YB
94 = Something to do with Timed events
98 = Cable Car Ride Cutscene
9A = Male Clock
9B = View Clock
9C = Choose Starters From Birch's Bag
9D = Wally Catching Ralts
9E = Nickname's first Pokémon in Party
9F = Choose a Pokémon in the party (For Nickname)
A1 = Starts Berry Blender
A2 = Slot game.
AF = Gabby and TV's "In serach of Trainers"
BC = Store a Pokémon For Day Care
BD = Take back Pokémon From Day Care
BE = Get Breeding Growth (store)
BF = Get Price
C0 = Something to do with Day Cay pay (store)
C2 = Egg hatch (1st Pokémon in party)
C4 = Battle results For The Coliseum
C6 = Something to do with DayCare cost
C8 = Move to the last sethealingplace/flightspot after some time (faint!!) (Fainted Event)
D0 = Opens PokéBlock case
D1 = Stores a random value to LASTRESULT (If the value matches mirage Island will show)
D4 = Used Before Special 0xF9/FA
D5 = Catch Pokémon tip, boxset 4 (use closeonkeypress)
D6 = tile change (in the middle of screen?)(For PC)
D7 = tile change (flower, in the middle of screen?)
D9 = Sets some sort of tiles
DA = Sets some sort of tiles
DB = Choose Pokémon then Fadescreen
DC = Opens the First Pokémon's Moves
E0 = Move tutoring For 1st Pokémon in Party
E3 = CheckBike (store command) 00 = nobike
E4 = Set Cycling Road Results (time, collisions)
E6 = First Pokémon Happy (StoreResult, 4 = Happy),
EC = Verse a high level trainer, level 100/Random Battle?
F1 = Restarts Game
F5 = choose 3 Pokémon(Battle tower) F6 = ?
F9 = Item Storage Mailbox Decoration
FA = Item Storage - No Decoration
FB = World Map
FE = Used for In-Game Trades - Trades 1st trade Pokémon "Makit" to 1st Pokémon in Party
103 = Berry Blender results
106 = PC (menu opens and disappears real fast)
107 = Hall of Fame, through PC (Will be corrupt if there's no data) (reads)
108 = Hoenn Pokédex diploma
10E = Boat sailing for a long time, like Fire Red's speed boat (+Return)
10F = Restarts
110 = Hall of Fame "Credits" (Saves data)
111 = Elevator animation<
112 = Displays Flutes
113 = Freezes The Screen/Camera
114 = Releases The Screen/Camera
119 = Groudon's Orb followed by earthquake
11B = Battel Tower Results
12C = Player Goes to last warp/flightspot used
12D = Makes special 0x9d work properly
130 = Is PC Box Full (store command) (0 = full)
131 = Earthquake for few seconds "Earthquake (stops)"
132 = Show Floors & Which Floor you're on
134 = CheckPokerus [0001 = Pokerus]
136 = Weird Quake
137 = Lava Battle/with Groudon
138 = Land Battle/with legendary
139 = Land Battle2/different song/battle with ledgendary - used with wildbattle
13B = Small screen shake
13D = Light/Flash
13E = Player uses the warp last used (no sound)
13F = falls in first warp of the first map
140 = Pokémon Image (UnLZ 199/200)
142 = Ecard battle Initiate (used in Levelscript at mossdeep, Oldman's house)
143 = Battle ?(perhaps used for wildbattle)
147 = Check Pokemon
14C = Turns Off Background/Map musi





It quit alot but i hope it helps people haha thanxs guys hope you can help me pedro??

(G) ;) ;) :):):):):):):)

haha then make a tutorial for me then cause i underdstand yours i no you say you may not be too good at multichoice questiob but if you may be able to give me a simple one i can then adjust it :) :) haha oh ja your specials you gave me help i like using them oh ja i wana ask i donna if you played FLORA SKY but their is a multi choice script thing and in gives you the option to teleport and it says 1:golden city 2:FIESTA ZONE
The a box [1]
[2]
[none]

Is it posible if you may help???


Oh and heres one of my ''special'' scripts i have 1 question

#org $start
lock
faceplayer
message $1
boxset 5
compare LASTRESULT 1
if 1 goto $done
message $no
$no 1 = Fine come back any time!
boxset 6
release
end

#org $done
lock
special 0x9B
message $2
boxset 6
special 0x98
warp 0x0 0x2 0x8
release
end

#org $1
$1 1 = check the clock and tell me\nif its time to go up!

#org $2
$2 1 = Oh it is lets go!

How do i get the Message 2 to work everything else works it brings up the clock then you click cancel from the clock ''thats where the message must appear'' but it stops you click a button then it goes to the next special and then warp so if yyou can tell me why the second message doesnt appear??


Oh i just wana give somthing i put together from many searching haha it may help most of it works wait i think 99% of it works some for r/s other for fr/lg ohk here it is it may help alot of people

{PLAYER} \v\h01!
{RIVAL} \v\h06
Master Ball 1
Ultra Ball 2
Great Ball 3
Poké Ball 4
Safari Ball 5
Net Ball 6
Dive Ball 7
Nest Ball 8
Repeat Ball 9
Timer Ball 10
Luxury Ball 11
Premier Ball 12
Potion 13
Antidote 14
Burn Heal 15
Ice Heal 16
Awakening 17
Parlyz Heal 18
Full Restore 19
Max Potion 20
Hyper Potion 21
Super Potion 22
Full Heal 23
Revive 24
Max Revive 25
Fresh Water 26
Soda Pop 27
Lemonade 28
Moomoo Milk 29
Energypowder 30
Energy Root 31
Heal Powder 32
Revival Herb 33
Ether 34
Max Ether 35
Elixir 36
Max Elixir 37
Lava Cookie 38
Blue Flute 39
Yellow Flute 40
Red Flute 41
Black Flute 42
White Flute 43
Berry Juice 44
Sacred Ash 45
Shoal Salt 46
Shoal Shell 47
Red Shard 48
Blue Shard 49
Yellow Shard 50
Green Shard 51
HP Up 63
Protein 64
Iron 65
Carbos 66
Calcium 67
Rare Candy 68
PP Up 69
Zinc 70
PP Max 71
Guard Spec. 73
Dire Hit 74
X Attack 75
X Defend 76
X Speed 77
X Accuracy 78
X Special 79
Poké Doll 80
Fluffy Tail 81
Super Repel 83
Max Repel 84
Escape Rope 85
Repel 86
Sun Stone 93
Moon Stone 94
Fire Stone 95
Thunderstone 96
Water Stone 97
Leaf Stone 98
Tinymushroom 103
Big Mushroom 104
Pearl 106
Big Pearl 107
Stardust 108
Star Piece 109
Nugget 110
Heart Scale 111
Orange Mail 121
Harbor Mail 122
Glitter Mail 123
Mech Mail 124
Wood Mail 125
Wave Mail 126
Bead Mail 127
Shadow Mail 128
Tropic Mail 129
Dream Mail 130
Fab Mail 131
Retro Mail 132
Cheri Berry 133
Chesto Berry 134
Pecha Berry 135
Rawst Berry 136
Aspear Berry 137
Leppa Berry 138
Oran Berry 139
Persim Berry 140
Lum Berry 141
Sitrus Berry 142
Figy Berry 143
Wiki Berry 144
Mago Berry 145
Aguav Berry 146
Iapapa Berry 147
Razz Berry 148
Bluk Berry 149
Nanab Berry 150
Wepear Berry 151
Pinap Berry 152
Pomeg Berry 153
Kelpsy Berry 154
Qualot Berry 155
Hondew Berry 156
Grepa Berry 157
Tamato Berry 158
Cornn Berry 159
Magost Berry 160
Rabuta Berry 161
Nomel Berry 162
Spelon Berry 163
Pamtre Berry 164
Watmel Berry 165
Durin Berry 166
Belue Berry 167
Liechi Berry 168
Ganlon Berry 169
Salac Berry 170
Petaya Berry 171
Apicot Berry 172
Lansat Berry 173
Starf Berry 174
Enigma Berry 175
Brightpowder 179
White Herb 180
Macho Brace 181
Exp. Share 182
Quick Claw 183
Soothe Bell 184
Mental Herb 185
Choice Band 186
King's Rock 187
Silverpowder 188
Amulet Coin 189
Cleanse Tag 190
Soul Dew 191
Deepseatooth 192
Deepseascale 193
Smoke Ball 194
Everstone 195
Focus Band 196
Lucky Egg 197
Scope Lens 198
Metal Coat 199
Leftovers 200
Dragon Scale 201
Light Ball 202
Soft Sand 203
Hard Stone 204
Miracle Seed 205
Blackglasses 206
Black Belt 207
Magnet 208
Mystic Water 209
Sharp Beak 210
Poison Barb 211
Nevermeltice 212
Spell Tag 213
Twistedspoon 214
Charcoal 215
Dragon Fang 216
Silk Scarf 217
Up-grade 218
Shell Bell 219
Sea Incense 220
Lax Incense 221
Lucky Punch 222
Metal Powder 223
Thick Club 224
Stick 225
Red Scarf 254
Blue Scarf 255
Pink Scarf 256
Green Scarf 257
Yellow Scarf 258
Mach Bike 259
Coin Case 260
Itemfinder 261
Old Rod 262
Good Rod 263
Super Rod 264
S.S. Ticket 265
Contest Pass 266
Wailmer Pail 268
Devon Goods 269
Soot Sack 270
Basement Key 271
Acro Bike 272
PokéBlock Case 273
Letter 274
Eon Ticket 275
Red Orb 276
Blue Orb 277
Scanner 278
Go-goggles 279
Meteorite 280
Rm. 1 Key 281
Rm. 2 Key 282
Rm. 4 Key 283
Rm. 6 Key 284
Storage Key 285
Root Fossil 286
Claw Fossil 287
Devon Scope 288
TM01 289
TM02 290
TM03 291
TM04 292
TM05 293
TM06 294
TM07 295
TM08 296
TM09 297
TM10 298
TM11 299
TM12 300
TM13 301
TM14 302
TM15 303
TM16 304
TM17 305
TM18 306
TM19 307
TM20 308
TM21 309
TM22 310
TM23 311
TM24 312
TM25 313
TM26 314
TM27 315
TM28 316
TM29 317
TM30 318
TM31 319
TM32 320
TM33 321
TM34 322
TM35 323
TM36 324
TM37 325
TM38 326
TM39 327
TM40 328
TM41 329
TM42 330
TM43 331
TM44 332
TM45 333
TM46 334
TM47 335
TM48 336
TM49 337
TM50 338
HM01 339
HM02 340
HM03 341
HM04 342
HM05 343
HM06 344
HM07 345
HM08 346
Oak's Parcel 349
Poké Flute 350
Secret Key 351
Bike Voucher 352
Gold Teeth 353
Old Amber 354
Card Key 355
Lift Key 356
Helix Fossil 357
Dome Fossil 358
Silph Scope 359
Bicycle 360
Town Map 361
VS Seeker 362
Fame Checker 363
TM Case 364
Berry Pouch 365
Teachy TV 366
Tri-pass 367
Rainbow Pass 368
Tea 369
Mysticticket 370
Auroraticket 371
Powder Jar 372
Ruby 373
Sapphire 374
POKEMON
0100 = BULBASAUR
0200 = IVYSAUR
0300 = VENESAUR
0400 = CHARMANDER
0500 = CHARMELEON
0600 = CHARIZARD
0700 = SQUIRTLE
0800 = WARTORTLE
0900 = BLASTOISE
0A00 = CATERPIE
0B00 = METAPOD
0C00 = BUTTERFREE
0D00 = WEEDLE
0E00 = KAKUNA
0F00 = BEEDRILL
1000 = PIDGEY
1100 = PIDGEOTTO
1200 = PIDGEOT
1300 = RATTATA
1400 = RATICATE
1500 = SPEAROW
1600 = FEAROW
1700 = EKANS
1800 = ARBOK
1900 = PIKACHU
1A00 = RAICHU
1B00 = SANDSHREW
1C00 = SANDSLASH
1D00 = NIDORAN (FEMALE)
1E00 = NIDORINA
1F00 = NIDOQUEEN
2000 = NIDORAN (MALE)
2100 = NIDORINO
2200 = NIDOKING
2300 = CLEFAIRY
2400 = CLEFABLE
2500 = VULPIX
2600 = NINETALES
2700 = JIGGLYPUFF
2800 = WIGGLYTUFF
2900 = ZUBAT
2A00 = GOLBAT
2B00 = ODDISH
2C00 = GLOOM
2D00 = VILEPLUME
2E00 = PARAS
2F00 = PARASECT
3000 = VENONAT
3100 = VENOMOTH
3200 = DIGLETT
3300 = DUGTRIO
3400 = MEOWTH
3500 = PERSIAN
3600 = PSYDUCK
3700 = GOLDUCK
3800 = MANKEY
3900 = PRIMEAPE
3A00 = GROWLITHE
3B00 = ARCANINE
3C00 = POLIWAG
3D00 = POLIWHIRL
3E00 = POLIWRATH
3F00 = ABRA
4000 = KADABRA
4100 = ALAKAZAM
4200 = MACHOP
4300 = MACHOKE
4400 = MACHAMP
4500 = BELLSPROUT
4600 = WEEPINBELL
4700 = VICTREEBELL
4800 = TENTACOOL
4900 = TENTACRUEL
4A00 = GEODUDE
4B00 = GRAVELER
4C00 = GOLEM
4D00 = PONYTA
4E00 = RAPIDASH
4F00 = SLOWPOKE
5000 = SLOWBRO
5100 = MAGNEMITE
5200 = MAGNETON
5300 = FARFETCH'D
5400 = DODUO
5500 = DODRIO
5600 = SEEL
5700 = DEWGONG
5800 = GRIMER
5900 = MUK
5A00 = SHELLDER
5B00 = CLOYSTER
5C00 = GASTLY
5D00 = HAUNTER
5E00 = GENGAR
5F00 = ONIX
6000 = DROWZEE
6100 = HYPNO
6200 = KRABBY
6300 = KINGLER
6400 = VOLTORB
6500 = ELECTRODE
6600 = EXEGGCUTE
6700 = EXEGGUTOR
6800 = CUBONE
6900 = MAROWAK
6A00 = HITMONLEEE
6B00 = HITMONCHAN
6C00 = LICKITUNG
6D00 = KOFFING
6E00 = WEEZING
6F00 = RHYHORN
7000 = RHYDON
7100 = CHANSEY
7200 = TANGELA
7300 = KANGASKHAN
7400 = HORSEA
7500 = SEADRA
7600 = GOLDEEN
7700 = SEAKING
7800 = STARYU
7900 = STARMIE
7A00 = MR. MIME
7B00 = SCYTHER
7C00 = JYNX
7D00 = ELECTABUZZ
7E00 = MAGMAR
7F00 = PINSIR
8000 = TAUROS
8100 = MAGIKARP
8200 = GYARADOS
8300 = LAPRAS
8400 = DITTO
8500 = EEVEE
8600 = VAPOREON
8700 = JOLTEON
8800 = FLAREON
8900 = PORYGON
8A00 = OMANYTE
8B00 = OMASTAR
8C00 = KABUTO
8D00 = KABUTOPS
8E00 = AERODACTYL
8F00 = SNORLAX
9000 = ARTICUNO
9100 = ZAPDOS
9200 = MOLTRES
9300 = DRATINI
9400 = DRAGONAIR
9500 = DRAGONITE
9600 = MEWTWO
9700 = MEW
9800 = CHIKORITA
9900 = BAYLEEF
9A00 = MEGANIUM
9B00 = CYNDAQUIL
9C00 = QUILAVA
9D00 = TYPLOSION
9E00 = TOTODILE
9F00 = CROCONAW
A000 = FERALIGATR
A100 = SENTRET
A200 = FURRET
A300 = HOOTHOOT
A400 = NOCTOWL
A500 = LEDYBA
A600 = LEDIAN
A700 = SPINARAK
A800 = ARIADOS
A900 = CROBAT
AA00 = CHINCHOU
AB00 = LANTURN
AC00 = PICHU
AD00 = CLEFFA
AE00 = IGGLYBUFF
AF00 = TOGEPI
B000 = TOGETIC
B100 = NATU
B200 = XATU
B300 = MAREEP
B400 = FLAAFFY
B500 = AMPHAROS
B600 = BELLOSSOM
B700 = MARRILL
B800 = AZUMARILL
B900 = SUDOWOODO
BA00 = POLITOED
BB00 = HOPPIP
BC00 = SKI PLOOM
BD00 = JUMPLUFF
BE00 = AIPOM
BF00 = SUNKERN
C000 = SUNFLORA
C100 = YANMA
C200 = WOOPER
C300 = QUAGSIRE
C400 = ESPEON
C500 = UMBREON
C600 = MURKROW
C700 = SLOWKING
C800 = MISDREAVUS
C900 = UNOWN
CA00 = WOBBUFFET
CB00 = GIRAFARIG
CC00 = PINECO
CD00 = FORRETRESS
CE00 = DUNSPARCE
CF00 = GLIGAR
D000 = STEELIX
D100 = SNUBBULL
D200 = GRANBULL
D300 = QWILFISH
D400 = SCIZOR
D500 = SHUCKLE
D600 = HERACROSS
D700 = SNEASEL
D800 = TEDDIURSA
D900 = URSARING
DA00 = SLUGMA
DB00 = MAGCARGO
DC00 = SWINUB
DD00 = PILOSWINE
DE00 = CORSOLA
DF00 = REMORAID
E000 = OCTILLERY
E100 = DELIBIRD
E200 = MANTINE
E300 = SKARMORY
E400 = HOUNDOUR
E500 = DOUNDOOM
E600 = KINGDRA
E700 = PHANPY
E800 = DONPHAN
E900 = PORYGON2
EA00 = STANTLER
EB00 = SMEARGLE
EC00 = TYROGUE
ED00 = HITMONTOP
EE00 = SMOOCHUM
EF00 = ELEKID
F000 = MAGBY
F100 = MILTANK
F200 = BLISSEY
F300 = RAIKOU
F400 = ENTEI
F500 = SUICINE
F600 = LARVITAR
F700 = PUPITAR
F800 = TYRANITAR
F900 = LUGIA
FA00 = HO-OH
FB00 = CELEBI
1501 = TREECKO
1601 = GROVYLE
1701 = SCEPTILE
1801 = TORCHIC
1901 = COMBUSKEN
1A01 = BLAZIKEN
1B01 = MUDKIP
1C01 = MARSHTOMP
1D01 = SWAMPERT
1E01 = POOCHYENA
1F01 = MIGHTYENA
2001 = ZIGZAGOON
2101 = LINOONE
2201 = WURMPLE
2301 = SILCOON
2401 = BEAUTIFLY
2501 = CASCOON
2601 = DUSTOX
2701 = LOTAD
2801 = LOMBRE
2901 = LUDICOLO
2A01 = SEEDOT
2B01 = NUZLEAF
2C01 = SHIFTRY
2D01 = NINCADA
2E01 = NINJASK
2F01 = SHEDINJA
3001 = TAILLOW
3101 = SWELLOW
3201 = SHROOMISH
3301 = BRELOOM
3401 = SPINDA
3501 = WINGULL
3601 = PELIPPER
3701 = SURSKIT
3801 = MASQUERAIN
3901 = WAILMER
3A01 = WAILORD
3B01 = SKITTY
3C01 = DELCATTY
3D01 = KECLEON
3E01 = BALTOY
3F01 = CLAYDOL
4001 = NOSEPASS
4101 = TORKOAL
4201 = SABLEYE
4301 = BARBOACH
4401 = WHISCASH
4501 = LUVDISC
4601 = CORPHISH
4701 = CRAWDAUNT
4801 = FEEBAS
4901 = MILOTIC
4A01 = CARVANHA
4B01 = SHARPEDO
4C01 = TRAPINCH
4D01 = VIBRAVA
4E01 = FLYGON
4F01 = MAKUHITA
5001 = HARIYAMA
5101 = ELECTRIKE
5201 = MANECTRIC
5301 = NUMEL
5401 = CAMERUPT
5501 = SPHEAL
5601 = SEALEO
5701 = WALREIN
5801 = CACNEA
5901 = CACTURNE
5A01 = SNORUNT
5B01 = GLALIE
5C01 = LUNATONE
5D01 = SOLROCK
5E01 = AZURILL
5F01 = SPOINK
6001 = GRUMPIG
6101 = PLUSLE
6201 = MINUN
6301 = MAWILE
6401 = MEDITITE
6501 = MEDICHAM
6601 = SWABLU
6701 = ALTARIA
6801 = WYNAUT
6901 = DUSKULL
6A01 = DUSCLOPS
6B01 = ROSELIA
6C01 = SLAKOTH
6D01 = VIGOROTH
6E01 = SLAKING
6F01 = GULPIN
7001 = SWALOT
7101 = TROPIUS
7201 = WHISMUR
7301 = LOUDRED
7401 = EXPLOUD
7501 = CLAMPERL
7601 = HUNTAIL
7701 = GOREBYSS
7801 = ABSOL
7901 = SHUPPET
7A01 = BANNETE
7B01 = SEVIPER
7C01 = ZANGOOSE
7D01 = RELICANTH
7E01 = ARON
7F01 = LAIRON
8001 = AGGRON
8101 = CASTFORM
8201 = VOLBEAT
8301 = ILLUMISE
8401 = LILEEP
8501 = CRADILY
8601 = ANORITH
8701 = ARMALDO
8801 = RALTS
8901 = KIRLIA
8A01 = GARDEVOIR
8B01 = BAGON
8C01 = SHELGON
8D01 = SALAMENCE
8E01 = BELDUM
8F01 = METANG
9001 = METAGROSS
9101 = REGI ROCK
9201 = REGICE
9301 = REGI STEEL
9401 = KYOGRE
9501 = GROUDON
9601 = RAYQUAZA
9701 = LATIAS
9801 = LATIOS
9901 = JIRACHI
9A01 = DEOXYS
9B01 = CHIMECHO
SECOND
BULBASAUR 1
IVYSAUR 2
VENUSAUR 3
CHARMANDER 4
CHARMELEON 5
CHARIZARD 6
SQUIRTLE 7
WARTORTLE 8
BLASTOISE 9
CATERPIE 10
METAPOD 11
BUTTERFREE 12
WEEDLE 13
KAKUNA 14
BEEDRILL 15
PIDGEY 16
PIDGEOTTO 17
PIDGEOT 18
RATTATA 19
RATICATE 20
SPEAROW 21
FEAROW 22
EKANS 23
ARBOK 24
PIKACHU 25
RAICHU 26
SANDSHREW 27
SANDSLASH 28
NIDORAN|w| 29
NIDORINA 30
NIDOQUEEN 31
NIDORAN|m| 32
NIDORINO 33
NIDOKING 34
CLEFAIRY 35
CLEFABLE 36
VULPIX 37
NINETALES 38
JIGGLYPUFF 39
WIGGLYTUFF 40
ZUBAT 41
GOLBAT 42
ODDISH 43
GLOOM 44
VILEPLUME 45
PARAS 46
PARASECT 47
VENONAT 48
VENOMOTH 49
DIGLETT 50
DUGTRIO 51
MEOWTH 52
PERSIAN 53
PSYDUCK 54
GOLDUCK 55
MANKEY 56
PRIMEAPE 57
GROWLITHE 58
ARCANINE 59
POLIWAG 60
POLIWHIRL 61
POLIWRATH 62
ABRA 63
KADABRA 64
ALAKAZAM 65
MACHOP 66
MACHOKE 67
MACHAMP 68
BELLSPROUT 69
WEEPINBELL 70
VICTREEBEL 71
TENTACOOL 72
TENTACRUEL 73
GEODUDE 74
GRAVELER 75
GOLEM 76
PONYTA 77
RAPIDASH 78
SLOWPOKE 79
SLOWBRO 80
MAGNEMITE 81
MAGNETON 82
FARFETCH'D 83
DODUO 84
DODRIO 85
SEEL 86
DEWGONG 87
GRIMER 88
MUK 89
SHELLDER 90
CLOYSTER 91
GASTLY 92
HAUNTER 93
GENGAR 94
ONIX 95
DROWZEE 96
HYPNO 97
KRABBY 98
KINGLER 99
VOLTORB 100
ELECTRODE 101
EXEGGCUTE 102
EXEGGUTOR 103
CUBONE 104
MAROWAK 105
HITMONLEE 106
HITMONCHAN 107
LICKITUNG 108
KOFFING 109
WEEZING 110
RHYHORN 111
RHYDON 112
CHANSEY 113
TANGELA 114
KANGASKHAN 115
HORSEA 116
SEADRA 117
GOLDEEN 118
SEAKING 119
STARYU 120
STARMIE 121
MR. MIME 122
SCYTHER 123
JYNX 124
ELECTABUZZ 125
MAGMAR 126
PINSIR 127
TAUROS 128
MAGIKARP 129
GYARADOS 130
LAPRAS 131
DITTO 132
EEVEE 133
VAPOREON 134
JOLTEON 135
FLAREON 136
PORYGON 137
OMANYTE 138
OMASTAR 139
KABUTO 140
KABUTOPS 141
AERODACTYL 142
SNORLAX 143
ARTICUNO 144
ZAPDOS 145
MOLTRES 146
DRATINI 147
DRAGONAIR 148
DRAGONITE 149
MEWTWO 150
MEW 151
CHIKORITA 152
BAYLEEF 153
MEGANIUM 154
CYNDAQUIL 155
QUILAVA 156
TYPHLOSION 157
TOTODILE 158
CROCONAW 159
FERALIGATR 160
SENTRET 161
FURRET 162
HOOTHOOT 163
NOCTOWL 164
LEDYBA 165
LEDIAN 166
SPINARAK 167
ARIADOS 168
CROBAT 169
CHINCHOU 170
LANTURN 171
PICHU 172
CLEFFA 173
IGGLYBUFF 174
TOGEPI 175
TOGETIC 176
NATU 177
XATU 178
MAREEP 179
FLAAFFY 180
AMPHAROS 181
BELLOSSOM 182
MARILL 183
AZUMARILL 184
SUDOWOODO 185
POLITOED 186
HOPPIP 187
SKIPLOOM 188
JUMPLUFF 189
AIPOM 190
SUNKERN 191
SUNFLORA 192
YANMA 193
WOOPER 194
QUAGSIRE 195
ESPEON 196
UMBREON 197
MURKROW 198
SLOWKING 199
MISDREAVUS 200
UNOWN 201
WOBBUFFET 202
GIRAFARIG 203
PINECO 204
FORRETRESS 205
DUNSPARCE 206
GLIGAR 207
STEELIX 208
SNUBBULL 209
GRANBULL 210
QWILFISH 211
SCIZOR 212
SHUCKLE 213
HERACROSS 214
SNEASEL 215
TEDDIURSA 216
URSARING 217
SLUGMA 218
MAGCARGO 219
SWINUB 220
PILOSWINE 221
CORSOLA 222
REMORAID 223
OCTILLERY 224
DELIBIRD 225
MANTINE 226
SKARMORY 227
HOUNDOUR 228
HOUNDOOM 229
KINGDRA 230
PHANPY 231
DONPHAN 232
PORYGON2 233
STANTLER 234
SMEARGLE 235
TYROGUE 236
HITMONTOP 237
SMOOCHUM 238
ELEKID 239
MAGBY 240
MILTANK 241
BLISSEY 242
RAIKOU 243
ENTEI 244
SUICUNE 245
LARVITAR 246
PUPITAR 247
TYRANITAR 248
LUGIA 249
HO-OH 250
CELEBI 251
TREECKO 277
GROVYLE 278
SCEPTILE 279
TORCHIC 280
COMBUSKEN 281
BLAZIKEN 282
MUDKIP 283
MARSHTOMP 284
SWAMPERT 285
POOCHYENA 286
MIGHTYENA 287
ZIGZAGOON 288
LINOONE 289
WURMPLE 290
SILCOON 291
BEAUTIFLY 292
CASCOON 293
DUSTOX 294
LOTAD 295
LOMBRE 296
LUDICOLO 297
SEEDOT 298
NUZLEAF 299
SHIFTRY 300
NINCADA 301
NINJASK 302
SHEDINJA 303
TAILLOW 304
SWELLOW 305
SHROOMISH 306
BRELOOM 307
SPINDA 308
WINGULL 309
PELIPPER 310
SURSKIT 311
MASQUERAIN 312
WAILMER 313
WAILORD 314
SKITTY 315
DELCATTY 316
KECLEON 317
BALTOY 318
CLAYDOL 319
NOSEPASS 320
TORKOAL 321
SABLEYE 322
BARBOACH 323
WHISCASH 324
LUVDISC 325
CORPHISH 326
CRAWDAUNT 327
FEEBAS 328
MILOTIC 329
CARVANHA 330
SHARPEDO 331
TRAPINCH 332
VIBRAVA 333
FLYGON 334
MAKUHITA 335
HARIYAMA 336
ELECTRIKE 337
MANECTRIC 338
NUMEL 339
CAMERUPT 340
SPHEAL 341
SEALEO 342
WALREIN 343
CACNEA 344
CACTURNE 345
SNORUNT 346
GLALIE 347
LUNATONE 348
SOLROCK 349
AZURILL 350
SPOINK 351
GRUMPIG 352
PLUSLE 353
MINUN 354
MAWILE 355
MEDITITE 356
MEDICHAM 357
SWABLU 358
ALTARIA 359
WYNAUT 360
DUSKULL 361
DUSCLOPS 362
ROSELIA 363
SLAKOTH 364
VIGOROTH 365
SLAKING 366
GULPIN 367
SWALOT 368
TROPIUS 369
WHISMUR 370
LOUDRED 371
EXPLOUD 372
CLAMPERL 373
HUNTAIL 374
GOREBYSS 375
ABSOL 376
SHUPPET 377
BANETTE 378
SEVIPER 379
ZANGOOSE 380
RELICANTH 381
ARON 382
LAIRON 383
AGGRON 384
CASTFORM 385
VOLBEAT 386
ILLUMISE 387
LILEEP 388
CRADILY 389
ANORITH 390
ARMALDO 391
RALTS 392
KIRLIA 393
GARDEVOIR 394
BAGON 395
SHELGON 396
SALAMENCE 397
BELDUM 398
METANG 399
METAGROSS 400
REGIROCK 401
REGICE 402
REGISTEEL 403
KYOGRE 404
GROUDON 405
RAYQUAZA 406
LATIAS 407
LATIOS 408
JIRACHI 409
DEOXYS 410
CHIMECHO 411

MOVMENT NUMBERS
' Specials
0x4A ' Face player
0x4B ' Face against player
0x60 ' Disappear (removes the sprite, but the person can still be interacted with)
0x62 ' "!" pops up
0x63 ' "?" pops up
0x64 ' "X" pops up (vs-seeker cant fight)
0x65 ' "!!" pops up (vs-seeker can fight)
0x66 ' "" pops up

' walking
0x01 ' step Up0
0x02 ' step Left0
0x03 ' step Right0
0x04 ' step Down0
0x08 ' step down1
0x09 ' step up1
0x0A ' step left1
0x0B ' step right1
0x0C ' step down2
0x0D ' step up2
0x0E ' step left2
0x0F ' step right2
0x10 ' step down3
0x11 ' step up3
0x12 ' step left3
0x13 ' step right3
0x1D ' step down4
0x1E ' step up4
0x1F ' step left4
0x20 ' step right4

' jump in place looking where it says
0x52 ' jump0 down
0x53 ' jump0 up
0x54 ' jump0 left
0x55 ' jump0 right

' jump in place looking in the order it says
0x56 ' jump0 down/up
0x57 ' jump0 up/down
0x58 ' jump0 left/right
0x59 ' jump0 right/left

' Jump Direction
0x4E ' jump1 down
0x4F ' jump1 up
0x50 ' jump1 left
0x51 ' jump1 right

0x14 ' jump2 down
0x15 ' jump2 up
0x16 ' jump2 left
0x17 ' jump2 right

0x46 ' jumpLookingLeft1 down
0x47 ' jumpLookingDown1 up (jump backwards)
0x48 ' jumpLookingUp1 left
0x49 ' jumpLookingLeft right (jump backwards)
COLOURS
White - \c\h01\h00
Black - \c\h01\h02
Grey - \c\h01\h03
Red - \c\h01\h06
Orange - \c\h01\h05
Dark Green - \c\h01\h06
Cyan - \c\h01\h07
Blue - \c\h01\h08
Light Blue - \c\h01\h09
SPECIAL
special 0x0 - Heal Pokemon
special 0x3C - Acess Bill's PC (FR/LG)
special 0x98 - Going up to Mountain (R/S)
special 0x9C - Wally Catch (R/S)
special 0x9F - choose A Pokemon (R/S)
special 0xE0 - Pokeblock Case (R/S)
special 0x10F - Restart Game
special 0x110 - Hall of Fame and Credits
special 0x111 - Elevator Animation
special 0x119 - Groudons Orb effect (R/S)
special 0x131 - Earthquake (R/S)
special 0x132 - Show Floors
special 0x136 - Earthquake (FR/LG)
special 0x137 - Lava Battle
special 0x156 - Battle with Ghost (FR/LG)
special 0x157 - Get on Bike (FR/LG)
special 0x161 - Start Surfing (FR/LG)
special 0x166 - Nickname
special 0x16F - Activate National Dex (FR/LG)
special 0x17B - Seagallop Animation
special 0x191 - SS. Anne Leaving
special 0x1F3 - Activate National Dex (Emerald)
WEATHER
None = 0x0
Reflected Clouds = 0x1
Normal = 0x2
Rain = 0x3
3 Snowflakes = 0x4
Thunderstorm = 0x5
Fog = 0x6
Snow = 0x7
Sandstorm = 0x8
Diagonal Fog = 0x9
Thin Fog = 0xA
Bit Dark = 0xB
Overheat = 0xC
Thunderstorm2 = 0xD
None = 0xE
COLOURS
BLUE=#raw 0xC7 0x00
BLACK=#raw 0xC7 0x02
RED=#raw 0xC7 0x01
MORE MOVEMENT
Face Down 0x00
Face Up 0x01
Face Left 0x02
Face Right 0x03
Step Down (Very Slow) 0x08
Step Up (Very Slow) 0x09
Step Left (Very Slow) 0x0A
Step Right (Very Slow) 0x0B
Step Down (Slow) 0x0C
Step Up (Slow) 0x0D
Step Left (Slow) 0x0E
Step Right (Slow) 0x0F
Step Down (Normal) 0x10
Step Up (Normal) 0x11
Step Left (Normal) 0x12
Step Right (Normal) 0x13
Jump Down 2 Squares 0x14
Jump Up 2 Squares 0x15
Jump Left 2 Squares 0x16
Jump Right 2 Squares 0x17
Step Down (Fast) 0x1D
Step Up (Fast) 0x1E
Step Left (Fast) 0x1F
Step Right (Fast) 0x20
Step on the Spot Down 0x21
Step on the Spot Up 0x22
Step on the Spot Left 0x23
Step on the Spot Right 0x24
Step on the Spot Down (Fast) 0x25
Step on the Spot Up (Fast) 0x26
Step on the Spot Left (Fast) 0x27
Step on the Spot Right (Fast) 0x28
Step on the Spot Down (Very Fast) 0x29
Step on the Spot Up (Very Fast) 0x2A
Step on the Spot Left (Very Fast) 0x2B
Step on the Spot Right (Very Fast) 0x2C
Face Down (Non-Instant) 0x2D
Face Up (Non-Instant) 0x2E
Face Left (Non-Instant) 0x2F
Face Right (Non-Instant) 0x30
Slide Down 0x31
Slide Up 0x32
Slide Left 0x33
Slide Right 0x34
Slide Down On Right Foot 0x3D
Slide Up On Right Foot 0x3E
Slide Left On Right Foot 0x3F
Slide Right On Right Foot 0x40
Slide Down On Left Foot 0x41
Slide Up On Left Foot 0x42
Slide Left On Left Foot 0x43
Slide Right On Left Foot 0x44
Face Player 0x4A
Face Away from Player 0x4B
Jump Down 1 Square 0x4E
Jump Up 1 Square 0x4F
Jump Left 1 Square 0x50
Jump Right 1 Square 0x51
Jump in Place (Facing Down) 0x52
Jump in Place (Facing Up) 0x53
Jump in Place (Facing Left) 0x54
Jump in Place (Facing Right) 0x55
Jump in Place (Facing Down->Up) 0x56
Jump in Place (Facing Up->Down) 0x57
Jump in Place (Facing Left->Right) 0x58
Jump in Place (Facing Right->Left) 0x59
Disappear 0x60
Reappear 0x61
"!" box popup 0x62
"?" box popup 0x63
"X" box popup 0x64
"!!" box popup 0x65
"^_^" box popup 0x66

Extra
0x820 - First Badge
0x821 - Second Badge
0x822 - Third Badge
0x823 - Fourth Badge
0x824 - Fifth Badge
0x825 - Sixth Badge
0x826 - Seventh Badge
0x827 - Eighth Badge
0x828 - Pokemon Menu
0x829 - Pokedex Menu
0x82F - Running Shoes
GIVEEGG(pkm num must be in hex)
#raw 0x7A 0x19 0x00
Ruby/Sapphire:
0x800 - Pokemon Menu
0x801 - Pokedex Menu
0x802 - Pokenav Menu
0x807 - First Badge
0x808 - Second Badge
0x809 - Third Badge
0x80A - Fourth Badge
0x80B - Fifth Badge
0x80C - Sixth Badge
0x80D - Seventh Badge
0x80E - Eighth Badge
0x860 - Running Shoes
special 0x0 - Heal Pokemon
special 0x3C - Acess Bill's PC (FR/LG)
special 0x98 - Going up to Mountain (R/S)
special 0x9C - Wally Catch (R/S)
special 0x9F - choose A Pokemon (R/S)
special 0xE0 - Pokeblock Case (R/S)
special 0x10F - Restart Game
special 0x110 - Hall of Fame and Credits
special 0x111 - Elevator Animation
special 0x119 - Groudons Orb effect (R/S)
special 0x131 - Earthquake (R/S)
special 0x132 - Show Floors
special 0x136 - Earthquake (FR/LG)
special 0x137 - Lava Battle
special 0x156 - Battle with Ghost (FR/LG)
special 0x157 - Get on Bike (FR/LG)
special 0x161 - Start Surfing (FR/LG)
special 0x166 - Nickname
special 0x16F - Activate National Dex (FR/LG)
special 0x17B - Seagallop Animation
special 0x191 - SS. Anne Leaving
special 0x1F3 - Activate National Dex (Emerald
RUBY SAPPHHIRE
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


RUBY
specials
0 = Heals Party Pokémon
2 = Warp sound + FadeBlack
3 = Hero Uses Last Used Warp
8 = Make new Secret Base/Enter Secret Base
9 = Come out of Coliseum
A = Come out of Coliseum
E = Hero Uses Secret Base PC
F = Something to do with registry in a secret base
11 = Something to do with Secret Base battling
18 = Move Player to X01 Y03
19 = Something to do with secret base battling
1A = Turning off PC
1B = Mixing Records
1F = checks whether game is linked
20 = Please wait followed by wild battle (Linkup) (VS in coliseum)
21 = "Please wait link stand by" (Link Feature)
22 = "Please wait link stand by" (Link Feature)
23 = Call Save Menu
29 = Select 3 Pokémon [maybe for Battle tower?]
2A = Black Screen
2B = Something to do with Berry Growth
2C = Opens up berry pocket (Used in berry blender script)
2D = Something to do with Planted berry (Used with CmdC3)
2E = Something to do with Berry Growth
2F = Something to do with Berry Growth
30 = Maybe activates the watered flag (used first, then special0x5E)
34 = Open Textbox (Stays Open)
35 = Open Textbox (Stays Open)
3B = Trainer battle
3C = Access Lanette's PC (BOX System)
5D = Call Save Menu which keeps looping.
5E = Watering of Berry (used first, then special0x5E)
5F = You fill your trainer's profile/interview
60 = Shows what you put for trainer's Profile/interview
67 = Strange Message with sound (could be Unown speech)
6C = Trainer Tales (Link Feature)
6D = Choose Tale
75 = Secret Base Decoration Item Menu
7C = Something to do with renaming
7D = Something to do with renaming
83 = Poké Slots In Use (Store Command)
8A = Crashes
8D = Displays the last message
8E = Used with Setmaptile to make it work
91 = setmaptile #206 at X8 YB
94 = Something to do with Timed events
98 = Cable Car Ride Cutscene
9A = Male Clock
9B = View Clock
9C = Choose Starters From Birch's Bag
9D = Wally Catching Ralts
9E = Nickname's first Pokémon in Party
9F = Choose a Pokémon in the party (For Nickname)
A1 = Starts Berry Blender
A2 = Slot game.
AF = Gabby and TV's "In serach of Trainers"
BC = Store a Pokémon For Day Care
BD = Take back Pokémon From Day Care
BE = Get Breeding Growth (store)
BF = Get Price
C0 = Something to do with Day Cay pay (store)
C2 = Egg hatch (1st Pokémon in party)
C4 = Battle results For The Coliseum
C6 = Something to do with DayCare cost
C8 = Move to the last sethealingplace/flightspot after some time (faint!!) (Fainted Event)
D0 = Opens PokéBlock case
D1 = Stores a random value to LASTRESULT (If the value matches mirage Island will show)
D4 = Used Before Special 0xF9/FA
D5 = Catch Pokémon tip, boxset 4 (use closeonkeypress)
D6 = tile change (in the middle of screen?)(For PC)
D7 = tile change (flower, in the middle of screen?)
D9 = Sets some sort of tiles
DA = Sets some sort of tiles
DB = Choose Pokémon then Fadescreen
DC = Opens the First Pokémon's Moves
E0 = Move tutoring For 1st Pokémon in Party
E3 = CheckBike (store command) 00 = nobike
E4 = Set Cycling Road Results (time, collisions)
E6 = First Pokémon Happy (StoreResult, 4 = Happy),
EC = Verse a high level trainer, level 100/Random Battle?
F1 = Restarts Game
F5 = choose 3 Pokémon(Battle tower) F6 = ?
F9 = Item Storage Mailbox Decoration
FA = Item Storage - No Decoration
FB = World Map
FE = Used for In-Game Trades - Trades 1st trade Pokémon "Makit" to 1st Pokémon in Party
103 = Berry Blender results
106 = PC (menu opens and disappears real fast)
107 = Hall of Fame, through PC (Will be corrupt if there's no data) (reads)
108 = Hoenn Pokédex diploma
10E = Boat sailing for a long time, like Fire Red's speed boat (+Return)
10F = Restarts
110 = Hall of Fame "Credits" (Saves data)
111 = Elevator animation<
112 = Displays Flutes
113 = Freezes The Screen/Camera
114 = Releases The Screen/Camera
119 = Groudon's Orb followed by earthquake
11B = Battel Tower Results
12C = Player Goes to last warp/flightspot used
12D = Makes special 0x9d work properly
130 = Is PC Box Full (store command) (0 = full)
131 = Earthquake for few seconds "Earthquake (stops)"
132 = Show Floors & Which Floor you're on
134 = CheckPokerus [0001 = Pokerus]
136 = Weird Quake
137 = Lava Battle/with Groudon
138 = Land Battle/with legendary
139 = Land Battle2/different song/battle with ledgendary - used with wildbattle
13B = Small screen shake
13D = Light/Flash
13E = Player uses the warp last used (no sound)
13F = falls in first warp of the first map
140 = Pokémon Image (UnLZ 199/200)
142 = Ecard battle Initiate (used in Levelscript at mossdeep, Oldman's house)
143 = Battle ?(perhaps used for wildbattle)
147 = Check Pokemon
14C = Turns Off Background/Map musi





It is numbers for like everything you may need in hacking

It quit alot but i hope it helps people haha thanxs guys hope you can help me pedro??

(G) ;) ;) :):):):):):):)

Echidna
March 23rd, 2011, 06:09 AM
woah, what a mouth full, ok first off, i didn't say i suck at multichoise boxes, i said i have NO iea about them, lol, and that script is for pokescript, won't work with me, i also have no idea about Pokescript, and the list is weird, half of it is mentioned up in the tutorial, and the other half is un-undertsandable, lol....

M.L
March 23rd, 2011, 06:34 AM
ohk ja i still wana learn how to multichoice and thanks for the help with every thing it helped me alot ay!!

Echidna
March 23rd, 2011, 07:53 AM
you r very welcome, but could you please tell me the story behind that "ja" you keep saying, its starting to get on my nerve...lol....

M.L
March 23rd, 2011, 08:37 PM
uhhm no it has no story just a ''yes''

Echidna
March 24th, 2011, 06:58 AM
oh ok ?!?!?!?!, ok....hehehe

PokéRepublic
March 26th, 2011, 02:38 PM
I think i actually learned alot from these tuts thanx!

Echidna
March 27th, 2011, 03:51 AM
sure...its point is to help !! if u get stuck on smth, post here..or pm or vm me...whatever works for u...

M.L
March 28th, 2011, 07:20 AM
helloo
i havnt posted in a while
internet been down ):
but in back now (:
ohk uhm with the specials i wana wrote a script so that you walk onto a ''script thing in AM''
and a guys says you cant come here without a
cavepass i use checkitem
but when i get the item and rewalk on the ''script''
it freeses why??

ill post the script to you
please take a look and tell me
what is wrong?
thanx

#org $start
lock
faceplayer
chackflag 0x6123
message $1
checkitem 0x373
#raw 0x01 0x00
compare 0x800D 0x1
if b_true goto $done
boxset 6
applymovement 0xFF $move
pausemove 0x0
applymovement 0x06 $move2
pause 0x30
message $2
boxset 6
applymovement 0xFF $move3
pausemove 0x0
applymovement 0x06 $move4
pause 0x30
nop
pausemove 0
fadesound 0x12C
nop
boxset 6
release
end

#org $done
message $3
#raw 0x53 0x0F 0x80
setflag 0x9090
boxset 6
setflag 0x6123
release
end

#org $move
#raw 0x63 0x03 0xFE

#org $move2
#raw 0x0A 0xFE

#org $move3
#raw 0x08 0x08 0xFE

#org $move4
#raw 0x0B 0x02 0xFE

#org $1
$1 1 =Hey didnt you hear\nthis cave just had a\lcave in you cant go in

\lbut if you show me the cave\lpass i can let you on!

#org $2
$2 1 = Sorry until you get a cave\npass you gana have to leave!

#org $3
$3 1 = you got the cave pass well then\n youmay pass!

thats my script everything othere than that works
thank you!!

ohk i also wana ask this
i made a give pokemon script and he asks you yes or no ''boxset 5''
and depending on you answer it goes to diffrent commands but
if you click yes or no it freezes why heres my script please help

ima put my script in qoutes

THE SCRIPT

#org $start
lock
faceplayer
checkflag 0x828
checkflag 0x7010
applymovement 0x04 $move
pausemove 0x0
message $1
applymovement 0xFF $move2
pause 0x30
nop
message $2
boxset 5
compare LASTRESULT 1
if 1 goto $yes
message $4
givepokemon 0x398 0x5 0x0
message $5
applymovement 0x04 $move3
pause 0x30
boxset 6
#raw 0x53 0x0F 0x80
setflag 0x7010
setflag 0x828
release
end

#org $yes
message $3
givepokemon 0x395 0x5 0x0
message $5
applymovement 0x00 $move3
pause 0x30
#raw 0x53 0x0F 0x80
setflag 0x7010
setflag 0x828
boxset 6
release
end

#org $move
#raw 0x62 0x0A 0x0A 0x0A 0x0A 0x0A 0x0A 0x0A 0xFE

#org $move2
#raw 0x62 0xFE

#org $move3
#raw 0x62 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x60 0xFE

#org $1
$1 1 =HELLO!

#org $2
$2 1 =Haha sorry i startled\nyou but ive got a\lsupprise for you since

your new\lhere in this region\li should explain a few things\l this

region is large and dangereous\l and ive got a question for you\lare

you going to explore our\lregion?

#org $3
$3 1 =I knew it i knew it\nohk good so since you going to\lyou are

going to need a partner\lto go with or you might get\lhurt this is my

favourite pokemon\lso treat it well\lits a dragon flying pokemon!

#org $4
$4 1 =your not that sucks but\nyou know what im going to\lgive you a

pokemon any way\lso if you change you mind\lwell i know your going

to\lchange your mind okay im\lgoing to give you my favourite\lpokemon

its a steel type!

#org $5
$5 1 =I hope you train and\nlook after him well i gotta\lgo my lab is

in that\lcave over there we had to\lput it in there since\lour lab is

too big to make as\la house but its fine in there\la bit cold

sometimes\lbut we are on a frozen lake\lthats why its so cold\lthat is

being studied in the\lweather institute and how we are\lso close to a

dessert\lah im sorry im boring you i\lmust leave now anyway\lGOODBYE

AND GOODLUCK


Ohk please help tell me if ive done somthing wrong please help??

thanxs
=)

Echidna
March 28th, 2011, 01:52 PM
dude, i have said this many many times...I DON'T USE POKESCRIPT... i mean this part
checkitem 0x373
#raw 0x01 0x00
compare 0x800D 0x1
if b_true goto $done
boxset 6


i can't see what a #raw is doing here, unless you mean it as a command in raw form, and what is a boxset doing after an if command... i have no idea how this is suppoed to work, even in pokescript, but this isn't my area of experteise, so would ya plz convert to XSE like... NOW !!!!!

M.L
March 29th, 2011, 05:06 AM
Ohk i get all that sorry i didnt know it was a poketscript command
but how diffrent is XSE to poketscript and is it easier or more
difficult to use? im sorry again i didnt know it was a poketscript
command is your scripting tutorial for XSE and will it show me
how to put scripts into the game cause last time i tried XSE i
couldnt put my script in the game!

Thanks again and sorry

Echidna
March 29th, 2011, 01:09 PM
don't worry about it...first off, XSE is a hundred times easier then pokescript, and secondly, my tutorial will teach you everything having to do with XSE scripting (except the stuff i felt was useless, or had something to do with asm)

fathmox
April 9th, 2011, 07:47 AM
Hey this is my first post ever here.... uh so, Pedro I'd like to say thank you so much for this tutorial it started me down the path of pokerom hacking :D and it is so well written I'm amazed! I've sone petty things here and there as practice and such with my roms... I do have one question, do you know how to in sert a fakemon as a whole new pokemon now just a replacement with it's own pokedex entry and such?

ummm thx, for all the help that this tutorial has brought me! http://www.pokecommunity.com/images/icons/icon10.gif

Echidna
April 9th, 2011, 07:56 AM
yes i know how in general, but not how to do it, its hard to do it on your own unless you are a programmer, iin that case, you'll need to learn ARMXXXX the Xs being replaced by weird numbers and letters which have escaped my mind, this is the ASM (Assembly) Language, and helps you edit the very basis of pokemon games, other then that, you can't, you can however, insert 25 new pokemon, between 251 and 276, the only prob being, they will not appear in the pokedex !!

fathmox
April 9th, 2011, 07:59 AM
Thanks I'll look into that... it does sound like a daunting task though...and again seriously good tutorial, it helped me so much!

Echidna
April 9th, 2011, 08:56 AM
you're welcome, and as for getting help with the ASM issue, ask an ASM hacker, ShadowMrk is a very good one..lol

M.L
April 10th, 2011, 07:13 AM
can you suggest a good ASM tutorial please

Echidna
April 10th, 2011, 02:09 PM
no, because there isn't any. All ASM tutorials here say:


requirements for this tutorial:
background in programming

no one takes the time to do it from scratch any more !!