? i can't edit it i'll just have to post the rest of the tutorial here
Hi guys you may know me you may not but i am Thepokefreak2 here with a Xse tutorial to start off lets go with
What you need
Advanced map
Xse well Duh
Lesson 1
#Dynamic 0x800000 (you need this to start a script)
#org @start (this basically starts the script)
lock (lock makes it so the person you are talking to is unable to move neither you are able to)
faceplayer (makes the person you talk to face you hehe so they arent rude)
msgbox @script 0x6 script is what you will need to write down later on so it jumps over there
Release (is the oposite of lock letting you and the person you talked to move freely
)
end ( without this the script wont let you end or move )
#org @script (you see how msgbox @script jumps to #org @script thats where it leaves off
= This is a LOOOOOOOOOONG\p Script
\p is used to continue the sentence from a different line
\n is the same
\i is the same but can only be used after \n
now press ctrl+b and go to compiler pick your rom and your script and compile copy the offset Now open your rom up in advanced map and go to the place you want to add your script onto a person click on them and put your offset where that $780912 or something would be And that 0x6 in front of script determines what kind of message it should be
Moving on to Yes/no
LESSON 2 Yes/no
#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @yes 0x5 ( @yes 0x5 means you have the yes no option
)
if 0x0 @no (if you picked no it reads it as 0x0 and goes to @no )
msgbox @work 0x6
release
end
#org @no
msgbox @nowork 0x6
release
end
#org @yes
= Yes or no?
#org @work
= you pressed yes
#org @nowork
= you pressed no
Well thats about it for Yes/no moving onto Giveitem
Lesson 3
Giveitem
#dynamic 0x800000
#org @item
lock
faceplayer
Giveitem 0x4 0x5 0x0
msgbox @receive 0x6
release
end
#org @receive
= here take 5 pokeballs
( Giveitem new command it gives you iteam 0x4 is which item it wants so in this case it is pokeball 0x5 is how many of that item you want which i want 5 and the 0x0 is what type of message you want i think its colours i havent tested it out
heres a list of items
#define ITEM_NONE 0x0
#define ITEM_MASTERBALL 0x1
#define ITEM_ULTRABALL 0x2
#define ITEM_GREATBALL 0x3
#define ITEM_POKEBALL 0x4
#define ITEM_SAFARIBALL 0x5
#define ITEM_NETBALL 0x6
#define ITEM_DIVEBALL 0x7
#define ITEM_NESTBALL 0x8
#define ITEM_REPEATBALL 0x9
#define ITEM_TIMERBALL 0xA
#define ITEM_LUXURYBALL 0xB
#define ITEM_PREMIERBALL 0xC
#define ITEM_POTION 0xD
#define ITEM_ANTIDOTE 0xE
#define ITEM_BURNHEAL 0xF
#define ITEM_ICEHEAL 0x10
#define ITEM_AWAKENING 0x11
#define ITEM_PARLYZHEAL 0x12
#define ITEM_FULLRESTORE 0x13
#define ITEM_MAXPOTION 0x14
#define ITEM_HYPERPOTION 0x15
#define ITEM_SUPERPOTION 0x16
#define ITEM_FULLHEAL 0x17
#define ITEM_REVIVE 0x18
#define ITEM_MAXREVIVE 0x19
#define ITEM_FRESHWATER 0x1A
#define ITEM_SODAPOP 0x1B
#define ITEM_LEMONADE 0x1C
#define ITEM_MOOMOOMILK 0x1D
#define ITEM_ENERGYPOWDER 0x1E
#define ITEM_ENERGYROOT 0x1F
#define ITEM_HEALPOWDER 0x20
#define ITEM_REVIVALHERB 0x21
#define ITEM_ETHER 0x22
#define ITEM_MAXETHER 0x23
#define ITEM_ELIXIR 0x24
#define ITEM_MAXELIXIR 0x25
#define ITEM_LAVACOOKIE 0x26
#define ITEM_BLUEFLUTE 0x27
#define ITEM_YELLOWFLUTE 0x28
#define ITEM_REDFLUTE 0x29
#define ITEM_BLACKFLUTE 0x2A
#define ITEM_WHITEFLUTE 0x2B
#define ITEM_BERRYJUICE 0x2C
#define ITEM_SACREDASH 0x2D
#define ITEM_SHOALSALT 0x2E
#define ITEM_SHOALSHELL 0x2F
#define ITEM_REDSHARD 0x30
#define ITEM_BLUESHARD 0x31
#define ITEM_YELLOWSHARD 0x32
#define ITEM_GREENSHARD 0x33
#define ITEM_HPUP 0x3F
#define ITEM_PROTEIN 0x40
#define ITEM_IRON 0x41
#define ITEM_CARBOS 0x42
#define ITEM_CALCIUM 0x43
#define ITEM_RARECANDY 0x44
#define ITEM_PPUP 0x45
#define ITEM_ZINC 0x46
#define ITEM_PPMAX 0x47
#define ITEM_GUARDSPEC 0x49
#define ITEM_DIREHIT 0x4A
#define ITEM_XATTACK 0x4B
#define ITEM_XDEFEND 0x4C
#define ITEM_XSPEED 0x4D
#define ITEM_XACCURACY 0x4E
#define ITEM_XSPECIAL 0x4F
#define ITEM_POKEDOLL 0x50
#define ITEM_FLUFFYTAIL 0x51
#define ITEM_SUPERREPEL 0x53
#define ITEM_MAXREPEL 0x54
#define ITEM_ESCAPEROPE 0x55
#define ITEM_REPEL 0x56
#define ITEM_SUNSTONE 0x5D
#define ITEM_MOONSTONE 0x5E
#define ITEM_FIRESTONE 0x5F
#define ITEM_THUNDERSTONE 0x60
#define ITEM_WATERSTONE 0x61
#define ITEM_LEAFSTONE 0x62
#define ITEM_TINYMUSHROOM 0x67
#define ITEM_BIGMUSHROOM 0x68
#define ITEM_PEARL 0x6A
#define ITEM_BIGPEARL 0x6B
#define ITEM_STARDUST 0x6C
#define ITEM_STARPIECE 0x6D
#define ITEM_NUGGET 0x6E
#define ITEM_HEARTSCALE 0x6F
#define ITEM_ORANGEMAIL 0x79
#define ITEM_HARBORMAIL 0x7A
#define ITEM_GLITTERMAIL 0x7B
#define ITEM_MECHMAIL 0x7C
#define ITEM_WOODMAIL 0x7D
#define ITEM_WAVEMAIL 0x7E
#define ITEM_BEADMAIL 0x7F
#define ITEM_SHADOWMAIL 0x80
#define ITEM_TROPICMAIL 0x81
#define ITEM_DREAMMAIL 0x82
#define ITEM_FABMAIL 0x83
#define ITEM_RETROMAIL 0x84
#define ITEM_CHERIBERRY 0x85
#define ITEM_CHESTOBERRY 0x86
#define ITEM_PECHABERRY 0x87
#define ITEM_RAWSTBERRY 0x88
#define ITEM_ASPEARBERRY 0x89
#define ITEM_LEPPABERRY 0x8A
#define ITEM_ORANBERRY 0x8B
#define ITEM_PERSIMBERRY 0x8C
#define ITEM_LUMBERRY 0x8D
#define ITEM_SITRUSBERRY 0x8E
#define ITEM_FIGYBERRY 0x8F
#define ITEM_WIKIBERRY 0x90
#define ITEM_MAGOBERRY 0x91
#define ITEM_AGUAVBERRY 0x92
#define ITEM_IAPAPABERRY 0x93
#define ITEM_RAZZBERRY 0x94
#define ITEM_BLUKBERRY 0x95
#define ITEM_NANABBERRY 0x96
#define ITEM_WEPEARBERRY 0x97
#define ITEM_PINAPBERRY 0x98
#define ITEM_POMEGBERRY 0x99
#define ITEM_KELPSYBERRY 0x9A
#define ITEM_QUALOTBERRY 0x9B
#define ITEM_HONDEWBERRY 0x9C
#define ITEM_GREPABERRY 0x9D
#define ITEM_TAMATOBERRY 0x9E
#define ITEM_CORNNBERRY 0x9F
#define ITEM_MAGOSTBERRY 0xA0
#define ITEM_RABUTABERRY 0xA1
#define ITEM_NOMELBERRY 0xA2
#define ITEM_SPELONBERRY 0xA3
#define ITEM_PAMTREBERRY 0xA4
#define ITEM_WATMELBERRY 0xA5
#define ITEM_DURINBERRY 0xA6
#define ITEM_BELUEBERRY 0xA7
#define ITEM_LIECHIBERRY 0xA8
#define ITEM_GANLONBERRY 0xA9
#define ITEM_SALACBERRY 0xAA
#define ITEM_PETAYABERRY 0xAB
#define ITEM_APICOTBERRY 0xAC
#define ITEM_LANSATBERRY 0xAD
#define ITEM_STARFBERRY 0xAE
#define ITEM_ENIGMABERRY 0xAF
#define ITEM_BRIGHTPOWDER 0xB3
#define ITEM_WHITEHERB 0xB4
#define ITEM_MACHOBRACE 0xB5
#define ITEM_EXPSHARE 0xB6
#define ITEM_QUICKCLAW 0xB7
#define ITEM_SOOTHEBELL 0xB8
#define ITEM_MENTALHERB 0xB9
#define ITEM_CHOICEBAND 0xBA
#define ITEM_KINGSROCK 0xBB
#define ITEM_SILVERPOWDER 0xBC
#define ITEM_AMULETCOIN 0xBD
#define ITEM_CLEANSETAG 0xBE
#define ITEM_SOULDEW 0xBF
#define ITEM_DEEPSEATOOTH 0xC0
#define ITEM_DEEPSEASCALE 0xC1
#define ITEM_SMOKEBALL 0xC2
#define ITEM_EVERSTONE 0xC3
#define ITEM_FOCUSBAND 0xC4
#define ITEM_LUCKYEGG 0xC5
#define ITEM_SCOPELENS 0xC6
#define ITEM_METALCOAT 0xC7
#define ITEM_LEFTOVERS 0xC8
#define ITEM_DRAGONSCALE 0xC9
#define ITEM_LIGHTBALL 0xCA
#define ITEM_SOFTSAND 0xCB
#define ITEM_HARDSTONE 0xCC
#define ITEM_MIRACLESEED 0xCD
#define ITEM_BLACKGLASSES 0xCE
#define ITEM_BLACKBELT 0xCF
#define ITEM_MAGNET 0xD0
#define ITEM_MYSTICWATER 0xD1
#define ITEM_SHARPBEAK 0xD2
#define ITEM_POISONBARB 0xD3
#define ITEM_NEVERMELTICE 0xD4
#define ITEM_SPELLTAG 0xD5
#define ITEM_TWISTEDSPOON 0xD6
#define ITEM_CHARCOAL 0xD7
#define ITEM_DRAGONFANG 0xD8
#define ITEM_SILKSCARF 0xD9
#define ITEM_UPGRADE 0xDA
#define ITEM_SHELLBELL 0xDB
#define ITEM_SEAINCENSE 0xDC
#define ITEM_LAXINCENSE 0xDD
#define ITEM_LUCKYPUNCH 0xDE
#define ITEM_METALPOWDER 0xDF
#define ITEM_THICKCLUB 0xE0
#define ITEM_STICK 0xE1
#define ITEM_REDSCARF 0xFE
#define ITEM_BLUESCARF 0xFF
#define ITEM_PINKSCARF 0x100
#define ITEM_GREENSCARF 0x101
#define ITEM_YELLOWSCARF 0x102
#define ITEM_MACHBIKE 0x103
#define ITEM_COINCASE 0x104
#define ITEM_ITEMFINDER 0x105
#define ITEM_OLDROD 0x106
#define ITEM_GOODROD 0x107
#define ITEM_SUPERROD 0x108
#define ITEM_SSTICKET 0x109
#define ITEM_CONTESTPASS 0x10A
#define ITEM_WAILMERPAIL 0x10C
#define ITEM_DEVONGOODS 0x10D
#define ITEM_SOOTSACK 0x10E
#define ITEM_BASEMENTKEY 0x10F
#define ITEM_ACROBIKE 0x110
#define ITEM_POKEBLOCKCASE 0x111
#define ITEM_LETTER 0x112
#define ITEM_EONTICKET 0x113
#define ITEM_REDORB 0x114
#define ITEM_BLUEORB 0x115
#define ITEM_SCANNER 0x116
#define ITEM_GOGOGGLES 0x117
#define ITEM_METEORITE 0x118
#define ITEM_RM1KEY 0x119
#define ITEM_RM2KEY 0x11A
#define ITEM_RM4KEY 0x11B
#define ITEM_RM6KEY 0x11C
#define ITEM_STORAGEKEY 0x11D
#define ITEM_ROOTFOSSIL 0x11E
#define ITEM_CLAWFOSSIL 0x11F
#define ITEM_DEVONSCOPE 0x120
#define ITEM_TM01 0x121
#define ITEM_TM02 0x122
#define ITEM_TM03 0x123
#define ITEM_TM04 0x124
#define ITEM_TM05 0x125
#define ITEM_TM06 0x126
#define ITEM_TM07 0x127
#define ITEM_TM08 0x128
#define ITEM_TM09 0x129
#define ITEM_TM10 0x12A
#define ITEM_TM11 0x12B
#define ITEM_TM12 0x12C
#define ITEM_TM13 0x12D
#define ITEM_TM14 0x12E
#define ITEM_TM15 0x12F
#define ITEM_TM16 0x130
#define ITEM_TM17 0x131
#define ITEM_TM18 0x132
#define ITEM_TM19 0x133
#define ITEM_TM20 0x134
#define ITEM_TM21 0x135
#define ITEM_TM22 0x136
#define ITEM_TM23 0x137
#define ITEM_TM24 0x138
#define ITEM_TM25 0x139
#define ITEM_TM26 0x13A
#define ITEM_TM27 0x13B
#define ITEM_TM28 0x13C
#define ITEM_TM29 0x13D
#define ITEM_TM30 0x13E
#define ITEM_TM31 0x13F
#define ITEM_TM32 0x140
#define ITEM_TM33 0x141
#define ITEM_TM34 0x142
#define ITEM_TM35 0x143
#define ITEM_TM36 0x144
#define ITEM_TM37 0x145
#define ITEM_TM38 0x146
#define ITEM_TM39 0x147
#define ITEM_TM40 0x148
#define ITEM_TM41 0x149
#define ITEM_TM42 0x14A
#define ITEM_TM43 0x14B
#define ITEM_TM44 0x14C
#define ITEM_TM45 0x14D
#define ITEM_TM46 0x14E
#define ITEM_TM47 0x14F
#define ITEM_TM48 0x150
#define ITEM_TM49 0x151
#define ITEM_TM50 0x152
#define ITEM_HM01 0x153
#define ITEM_HM02 0x154
#define ITEM_HM03 0x155
#define ITEM_HM04 0x156
#define ITEM_HM05 0x157
#define ITEM_HM06 0x158
#define ITEM_HM07 0x159
#define ITEM_HM08 0x15A
#define ITEM_OAKSPARCEL 0x15D
#define ITEM_POKEFLUTE 0x15E
#define ITEM_SECRETKEY 0x15F
#define ITEM_BIKEVOUCHER 0x160
#define ITEM_GOLDTEETH 0x161
#define ITEM_OLDAMBER 0x162
#define ITEM_CARDKEY 0x163
#define ITEM_LIFTKEY 0x164
#define ITEM_HELIXFOSSIL 0x165
#define ITEM_DOMEFOSSIL 0x166
#define ITEM_SILPHSCOPE 0x167
#define ITEM_BICYCLE 0x168
#define ITEM_TOWNMAP 0x169
#define ITEM_VSSEEKER 0x16A
#define ITEM_FAMECHECKER 0x16B
#define ITEM_TMCASE 0x16C
#define ITEM_BERRYPOUCH 0x16D
#define ITEM_TEACHYTV 0x16E
#define ITEM_TRIPASS 0x16F
#define ITEM_RAINBOWPASS 0x170
#define ITEM_TEA 0x171
#define ITEM_MYSTICTICKET 0x172
#define ITEM_AURORATICKET 0x173
#define ITEM_POWDERJAR 0x174
#define ITEM_RUBY 0x175
#define ITEM_SAPPHIRE 0x176
#define ITEM_MAGMAEMBLEM 0x177
#define ITEM_OLDSEAMAP 0x178
#define DEC_SMALLDESK 0x1
#define DEC_POKEMONDESK 0x2
#define DEC_HEAVYDESK 0x3
#define DEC_RAGGEDDESK 0x4
#define DEC_COMFORTDESK 0x5
#define DEC_PRETTYDESK 0x6
#define DEC_BRICKDESK 0x7
#define DEC_CAMPDESK 0x8
#define DEC_HARDDESK 0x9
#define DEC_SMALLCHAIR 0xA
#define DEC_POKEMONCHAIR 0xB
#define DEC_HEAVYCHAIR 0xC
#define DEC_PRETTYCHAIR 0xD
#define DEC_COMFORTCHAIR 0xE
#define DEC_RAGGEDCHAIR 0xF
#define DEC_BRICKCHAIR 0x10
#define DEC_CAMPCHAIR 0x11
#define DEC_HARDCHAIR 0x12
#define DEC_REDPLANT 0x13
#define DEC_TROPICALPLANT 0x14
#define DEC_PRETTYFLOWERS 0x15
#define DEC_COLORFULPLANT 0x16
#define DEC_BIGPLANT 0x17
#define DEC_GORGEOUSPLANT 0x18
#define DEC_REDBRICK 0x19
#define DEC_YELLOWBRICK 0x1A
#define DEC_REDBALLOON 0x1B
#define DEC_BLUEBALLOON 0x1C
#define DEC_YELLOWBALLOON 0x1D
#define DEC_REDTENT 0x1F
#define DEC_BLUETENT 0x20
#define DEC_SOLIDBOARD 0x21
#define DEC_SLIDE 0x22
#define DEC_FENCELENGTH 0x23
#define DEC_FENCEWIDTH 0x24
#define DEC_TIRE 0x25
#define DEC_STAND 0x26
#define DEC_MUDBALL 0x27
#define DEC_BREAKABLEDOOR 0x28
#define DEC_SANDORNAMENT 0x29
#define DEC_SILVERSHIELD 0x2A
#define DEC_GOLDSHIELD 0x2B
#define DEC_GLASSORNAMENT 0x2C
#define DEC_ROUNDTV 0x2E
#define DEC_CUTETV 0x2F
#define DEC_GLITTERMAT 0x30
#define DEC_JUMPMAT 0x31
#define DEC_SPINMAT 0x32
#define DEC_CLOWNOTEMAT 0x33
#define DEC_DNOTEMAT 0x34
#define DEC_ENOTEMAT 0x35
#define DEC_FNOTEMAT 0x36
#define DEC_GNOTEMAT 0x37
#define DEC_ANOTEMAT 0x38
#define DEC_BNOTEMAT 0x39
#define DEC_CHIGHNOTEMAT 0x3A
#define DEC_SURFMAT 0x3B
#define DEC_THUNDERMAT 0x3C
#define DEC_FIREBLASTMAT 0x3D
#define DEC_POWDERSNOWMAT 0x3E
#define DEC_ATTRACTMAT 0x3F
#define DEC_FISSUREMAT 0x40
#define DEC_SPIKESMAT 0x41
#define DEC_BALLPOSTER 0x42
#define DEC_GREENPOSTER 0x43
#define DEC_REDPOSTER 0x44
#define DEC_BLUEPOSTER 0x45
#define DEC_CUTEPOSTER 0x46
#define DEC_PIKAPOSTER 0x47
#define DEC_LONGPOSTER 0x48
#define DEC_SEAPOSTER 0x49
#define DEC_SKYPOSTER 0x4A
#define DEC_KISSPOSTER 0x4B
#define DEC_PICHUDOLL 0x4C
#define DEC_PIKACHUDOLL 0x4D
#define DEC_MARILLDOLL 0x4E
#define DEC_TOGEPIDOLL 0x4F
#define DEC_CYNDAQUILDOLL 0x50
#define DEC_CHIKORITADOLL 0x51
#define DEC_TOTODILEDOLL 0x52
#define DEC_JIGGLYPUFFDOLL 0x53
#define DEC_MEOWTHDOLL 0x54
#define DEC_CLEFAIRYDOLL 0x55
#define DEC_DITTODOLL 0x56
#define DEC_SMOOCHUMDOLL 0x57
#define DEC_TREECKODOLL 0x58
#define DEC_TORCHICDOLL 0x59
#define DEC_MUDKIPDOLL 0x5A
#define DEC_DUSKULLDOLL 0x5B
#define DEC_WYNAUTDOLL 0x5C
#define DEC_BALTOYDOLL 0x5D
#define DEC_KECLEONDOLL 0x5E
#define DEC_AZURILLDOLL 0x5F
#define DEC_SKITTYDOLL 0x60
#define DEC_SWABLUDOLL 0x61
#define DEC_GULPINDOLL 0x62
#define DEC_LOTADDOLL 0x63
#define DEC_SEEDOTDOLL 0x64
#define DEC_PIKACUSHION 0x65
#define DEC_ROUNDCUSHION 0x66
#define DEC_KISSCUSHION 0x67
#define DEC_ZIGZAGCUSHION 0x68
#define DEC_SPINCUSHION 0x69
#define DEC_DIAMONDCUSHION 0x6A
#define DEC_BALLCUSHION 0x6B
#define DEC_GRASSCUSHION 0x6C
#define DEC_FIRECUSHION 0x6D
#define DEC_WATERCUSHION 0x6E
#define DEC_SNORLAXDOL 0x6F
#define DEC_RHYDONDOLL 0x70
#define DEC_LAPRASDOLL 0x71
#define DEC_VENUSAURDOLL 0x72
#define DEC_CHARIZARDDOLL 0x73
#define DEC_BLASTOISEDOLL 0x74
#define DEC_WAILMERDOLL 0x75
#define DEC_REGIROCKDOLL 0x76
#define DEC_REGICEDOLL 0x77
#define DEC_REGISTEELDOLL 0x78
Im to lazy to take away #define lol sorry
Lesson 4
Givepokemon
here we go givepokemon
#dynamic 0x800000
#org @pokemon
lock
faceplayer
msgbox @give 0x6
givepokemon 0x1 0x5 0x0 0x0 0x0
release
end
#org @give
= Here take a bulbasaur
( ok 0x1 is the pokemon number 0x5 is the level and 0x0 after that is the item it holds 0x0 0x0 are just fillers) Heres a list of pokemon
#define PKMN_MISSINGNO 0x0
#define PKMN_BULBASAUR 0x1
#define PKMN_IVYSAUR 0x2
#define PKMN_VENUSAUR 0x3
#define PKMN_CHARMANDER 0x4
#define PKMN_CHARMELEON 0x5
#define PKMN_CHARIZARD 0x6
#define PKMN_SQUIRTLE 0x7
#define PKMN_WARTORTLE 0x8
#define PKMN_BLASTOISE 0x9
#define PKMN_CATERPIE 0xA
#define PKMN_METAPOD 0xB
#define PKMN_BUTTERFREE 0xC
#define PKMN_WEEDLE 0xD
#define PKMN_KAKUNA 0xE
#define PKMN_BEEDRILL 0xF
#define PKMN_PIDGEY 0x10
#define PKMN_PIDGEOTTO 0x11
#define PKMN_PIDGEOT 0x12
#define PKMN_RATTATA 0x13
#define PKMN_RATICATE 0x14
#define PKMN_SPEAROW 0x15
#define PKMN_FEAROW 0x16
#define PKMN_EKANS 0x17
#define PKMN_ARBOK 0x18
#define PKMN_PIKACHU 0x19
#define PKMN_RAICHU 0x1A
#define PKMN_SANDSHREW 0x1B
#define PKMN_SANDSLASH 0x1C
#define PKMN_NIDORANF 0x1D
#define PKMN_NIDORINA 0x1E
#define PKMN_NIDOQUEEN 0x1F
#define PKMN_NIDORANM 0x20
#define PKMN_NIDORINO 0x21
#define PKMN_NIDOKING 0x22
#define PKMN_CLEFAIRY 0x23
#define PKMN_CLEFABLE 0x24
#define PKMN_VULPIX 0x25
#define PKMN_NINETALES 0x26
#define PKMN_JIGGLYPUFF 0x27
#define PKMN_WIGGLYTUFF 0x28
#define PKMN_ZUBAT 0x29
#define PKMN_GOLBAT 0x2A
#define PKMN_ODDISH 0x2B
#define PKMN_GLOOM 0x2C
#define PKMN_VILEPLUME 0x2D
#define PKMN_PARAS 0x2E
#define PKMN_PARASECT 0x2F
#define PKMN_VENONAT 0x30
#define PKMN_VENOMOTH 0x31
#define PKMN_DIGLETT 0x32
#define PKMN_DUGTRIO 0x33
#define PKMN_MEOWTH 0x34
#define PKMN_PERSIAN 0x35
#define PKMN_PSYDUCK 0x36
#define PKMN_GOLDUCK 0x37
#define PKMN_MANKEY 0x38
#define PKMN_PRIMEAPE 0x39
#define PKMN_GROWLITHE 0x3A
#define PKMN_ARCANINE 0x3B
#define PKMN_POLIWAG 0x3C
#define PKMN_POLIWHIRL 0x3D
#define PKMN_POLIWRATH 0x3E
#define PKMN_ABRA 0x3F
#define PKMN_KADABRA 0x40
#define PKMN_ALAKAZAM 0x41
#define PKMN_MACHOP 0x42
#define PKMN_MACHOKE 0x43
#define PKMN_MACHAMP 0x44
#define PKMN_BELLSPROUT 0x45
#define PKMN_WEEPINBELL 0x46
#define PKMN_VICTREEBEL 0x47
#define PKMN_TENTACOOL 0x48
#define PKMN_TENTACRUEL 0x49
#define PKMN_GEODUDE 0x4A
#define PKMN_GRAVELER 0x4B
#define PKMN_GOLEM 0x4C
#define PKMN_PONYTA 0x4D
#define PKMN_RAPIDASH 0x4E
#define PKMN_SLOWPOKE 0x4F
#define PKMN_SLOWBRO 0x50
#define PKMN_MAGNEMITE 0x51
#define PKMN_MAGNETON 0x52
#define PKMN_FARFETCHED 0x53
#define PKMN_DODUO 0x54
#define PKMN_DODRIO 0x55
#define PKMN_SEEL 0x56
#define PKMN_DEWGONG 0x57
#define PKMN_GRIMER 0x58
#define PKMN_MUK 0x59
#define PKMN_SHELLDER 0x5A
#define PKMN_CLOYSTER 0x5B
#define PKMN_GASTLY 0x5C
#define PKMN_HAUNTER 0x5D
#define PKMN_GENGAR 0x5E
#define PKMN_ONIX 0x5F
#define PKMN_DROWZEE 0x60
#define PKMN_HYPNO 0x61
#define PKMN_KRABBY 0x62
#define PKMN_KINGLER 0x63
#define PKMN_VOLTORB 0x64
#define PKMN_ELECTRODE 0x65
#define PKMN_EXEGGCUTE 0x66
#define PKMN_EXEGGUTOR 0x67
#define PKMN_CUBONE 0x68
#define PKMN_MAROWAK 0x69
#define PKMN_HITMONLEE 0x6A
#define PKMN_HITMONCHAN 0x6B
#define PKMN_LICKITUNG 0x6C
#define PKMN_KOFFING 0x6D
#define PKMN_WEEZING 0x6E
#define PKMN_RHYHORN 0x6F
#define PKMN_RHYDON 0x70
#define PKMN_CHANSEY 0x71
#define PKMN_TANGELA 0x72
#define PKMN_KANGASKHAN 0x73
#define PKMN_HORSEA 0x74
#define PKMN_SEADRA 0x75
#define PKMN_GOLDEEN 0x76
#define PKMN_SEAKING 0x77
#define PKMN_STARYU 0x78
#define PKMN_STARMIE 0x79
#define PKMN_MRMIME 0x7A
#define PKMN_SCYTHER 0x7B
#define PKMN_JYNX 0x7C
#define PKMN_ELECTABUZZ 0x7D
#define PKMN_MAGMAR 0x7E
#define PKMN_PINSIR 0x7F
#define PKMN_TAUROS 0x80
#define PKMN_MAGIKARP 0x81
#define PKMN_GYARADOS 0x82
#define PKMN_LAPRAS 0x83
#define PKMN_DITTO 0x84
#define PKMN_EEVEE 0x85
#define PKMN_VAPOREON 0x86
#define PKMN_JOLTEON 0x87
#define PKMN_FLAREON 0x88
#define PKMN_PORYGON 0x89
#define PKMN_OMANYTE 0x8A
#define PKMN_OMASTAR 0x8B
#define PKMN_KABUTO 0x8C
#define PKMN_KABUTOPS 0x8D
#define PKMN_AERODACTYL 0x8E
#define PKMN_SNORLAX 0x8F
#define PKMN_ARTICUNO 0x90
#define PKMN_ZAPDOS 0x91
#define PKMN_MOLTRES 0x92
#define PKMN_DRATINI 0x93
#define PKMN_DRAGONAIR 0x94
#define PKMN_DRAGONITE 0x95
#define PKMN_MEWTWO 0x96
#define PKMN_MEW 0x97
#define PKMN_CHIKORITA 0x98
#define PKMN_BAYLEEF 0x99
#define PKMN_MEGANIUM 0x9A
#define PKMN_CYNDAQUIL 0x9B
#define PKMN_QUILAVA 0x9C
#define PKMN_TYPHLOSION 0x9D
#define PKMN_TOTODILE 0x9E
#define PKMN_CROCONAW 0x9F
#define PKMN_FERALIGATR 0xA0
#define PKMN_SENTRET 0xA1
#define PKMN_FURRET 0xA2
#define PKMN_HOOTHOOT 0xA3
#define PKMN_NOCTOWL 0xA4
#define PKMN_LEDYBA 0xA5
#define PKMN_LEDIAN 0xA6
#define PKMN_SPINARAK 0xA7
#define PKMN_ARIADOS 0xA8
#define PKMN_CROBAT 0xA9
#define PKMN_CHINCHOU 0xAA
#define PKMN_LANTURN 0xAB
#define PKMN_PICHU 0xAC
#define PKMN_CLEFFA 0xAD
#define PKMN_IGGLYBUFF 0xAE
#define PKMN_TOGEPI 0xAF
#define PKMN_TOGETIC 0xB0
#define PKMN_NATU 0xB1
#define PKMN_XATU 0xB2
#define PKMN_MAREEP 0xB3
#define PKMN_FLAAFFY 0xB4
#define PKMN_AMPHAROS 0xB5
#define PKMN_BELLOSSOM 0xB6
#define PKMN_MARILL 0xB7
#define PKMN_AZUMARILL 0xB8
#define PKMN_SUDOWOODO 0xB9
#define PKMN_POLITOED 0xBA
#define PKMN_HOPPIP 0xBB
#define PKMN_SKIPLOOM 0xBC
#define PKMN_JUMPLUFF 0xBD
#define PKMN_AIPOM 0xBE
#define PKMN_SUNKERN 0xBF
#define PKMN_SUNFLORA 0xC0
#define PKMN_YANMA 0xC1
#define PKMN_WOOPER 0xC2
#define PKMN_QUAGSIRE 0xC3
#define PKMN_ESPEON 0xC4
#define PKMN_UMBREON 0xC5
#define PKMN_MURKROW 0xC6
#define PKMN_SLOWKING 0xC7
#define PKMN_MISDREAVUS 0xC8
#define PKMN_UNOWN 0xC9
#define PKMN_WOBBUFFET 0xCA
#define PKMN_GIRAFARIG 0xCB
#define PKMN_PINECO 0xCC
#define PKMN_FORRETRESS 0xCD
#define PKMN_DUNSPARCE 0xCE
#define PKMN_GLIGAR 0xCF
#define PKMN_STEELIX 0xD0
#define PKMN_SNUBBULL 0xD1
#define PKMN_GRANBULL 0xD2
#define PKMN_QWILFISH 0xD3
#define PKMN_SCIZOR 0xD4
#define PKMN_SHUCKLE 0xD5
#define PKMN_HERACROSS 0xD6
#define PKMN_SNEASEL 0xD7
#define PKMN_TEDDIURSA 0xD8
#define PKMN_URSARING 0xD9
#define PKMN_SLUGMA 0xDA
#define PKMN_MAGCARGO 0xDB
#define PKMN_SWINUB 0xDC
#define PKMN_PILOSWINE 0xDD
#define PKMN_CORSOLA 0xDE
#define PKMN_REMORAID 0xDF
#define PKMN_OCTILLERY 0xE0
#define PKMN_DELIBIRD 0xE1
#define PKMN_MANTINE 0xE2
#define PKMN_SKARMORY 0xE3
#define PKMN_HOUNDOUR 0xE4
#define PKMN_HOUNDOOM 0xE5
#define PKMN_KINGDRA 0xE6
#define PKMN_PHANPY 0xE7
#define PKMN_DONPHAN 0xE8
#define PKMN_PORYGON2 0xE9
#define PKMN_STANTLER 0xEA
#define PKMN_SMEARGLE 0xEB
#define PKMN_TYROGUE 0xEC
#define PKMN_HITMONTOP 0xED
#define PKMN_SMOOCHUM 0xEE
#define PKMN_ELEKID 0xEF
#define PKMN_MAGBY 0xF0
#define PKMN_MILTANK 0xF1
#define PKMN_BLISSEY 0xF2
#define PKMN_RAIKOU 0xF3
#define PKMN_ENTEI 0xF4
#define PKMN_SUICUNE 0xF5
#define PKMN_LARVITAR 0xF6
#define PKMN_PUPITAR 0xF7
#define PKMN_TYRANITAR 0xF8
#define PKMN_LUGIA 0xF9
#define PKMN_HOOH 0xFA
#define PKMN_CELEBI 0xFB
#define PKMN_TREECKO 0x115
#define PKMN_GROVYLE 0x116
#define PKMN_SCEPTILE 0x117
#define PKMN_TORCHIC 0x118
#define PKMN_COMBUSKEN 0x119
#define PKMN_BLAZIKEN 0x11A
#define PKMN_MUDKIP 0x11B
#define PKMN_MARSHTOMP 0x11C
#define PKMN_SWAMPERT 0x11D
#define PKMN_POOCHYENA 0x11E
#define PKMN_MIGHTYENA 0x11F
#define PKMN_ZIGZAGOON 0x120
#define PKMN_LINOONE 0x121
#define PKMN_WURMPLE 0x122
#define PKMN_SILCOON 0x123
#define PKMN_BEAUTIFLY 0x124
#define PKMN_CASCOON 0x125
#define PKMN_DUSTOX 0x126
#define PKMN_LOTAD 0x127
#define PKMN_LOMBRE 0x128
#define PKMN_LUDICOLO 0x129
#define PKMN_SEEDOT 0x12A
#define PKMN_NUZLEAF 0x12B
#define PKMN_SHIFTRY 0x12C
#define PKMN_NINCADA 0x12D
#define PKMN_NINJASK 0x12E
#define PKMN_SHEDINJA 0x12F
#define PKMN_TAILLOW 0x130
#define PKMN_SWELLOW 0x131
#define PKMN_SHROOMISH 0x132
#define PKMN_BRELOOM 0x133
#define PKMN_SPINDA 0x134
#define PKMN_WINGULL 0x135
#define PKMN_PELIPPER 0x136
#define PKMN_SURSKIT 0x137
#define PKMN_MASQUERAIN 0x138
#define PKMN_WAILMER 0x139
#define PKMN_WAILORD 0x13A
#define PKMN_SKITTY 0x13B
#define PKMN_DELCATTY 0x13C
#define PKMN_KECLEON 0x13D
#define PKMN_BALTOY 0x13E
#define PKMN_CLAYDOL 0x13F
#define PKMN_NOSEPASS 0x140
#define PKMN_TORKOAL 0x141
#define PKMN_SABLEYE 0x142
#define PKMN_BARBOACH 0x143
#define PKMN_WHISCASH 0x144
#define PKMN_LUVDISC 0x145
#define PKMN_CORPHISH 0x146
#define PKMN_CRAWDAUNT 0x147
#define PKMN_FEEBAS 0x148
#define PKMN_MILOTIC 0x149
#define PKMN_CARVANHA 0x14A
#define PKMN_SHARPEDO 0x14B
#define PKMN_TRAPINCH 0x14C
#define PKMN_VIBRAVA 0x14D
#define PKMN_FLYGON 0x14E
#define PKMN_MAKUHITA 0x14F
#define PKMN_HARIYAMA 0x150
#define PKMN_ELECTRIKE 0x151
#define PKMN_MANECTRIC 0x152
#define PKMN_NUMEL 0x153
#define PKMN_CAMERUPT 0x154
#define PKMN_SPHEAL 0x155
#define PKMN_SEALEO 0x156
#define PKMN_WALREIN 0x157
#define PKMN_CACNEA 0x158
#define PKMN_CACTURNE 0x159
#define PKMN_SNORUNT 0x15A
#define PKMN_GLALIE 0x15B
#define PKMN_LUNATONE 0x15C
#define PKMN_SOLROCK 0x15D
#define PKMN_AZURILL 0x15E
#define PKMN_SPOINK 0x15F
#define PKMN_GRUMPIG 0x160
#define PKMN_PLUSLE 0x161
#define PKMN_MINUN 0x162
#define PKMN_MAWILE 0x163
#define PKMN_MEDITITE 0x164
#define PKMN_MEDICHAM 0x165
#define PKMN_SWABLU 0x166
#define PKMN_ALTARIA 0x167
#define PKMN_WYNAUT 0x168
#define PKMN_DUSKULL 0x169
#define PKMN_DUSCLOPS 0x16A
#define PKMN_ROSELIA 0x16B
#define PKMN_SLAKOTH 0x16C
#define PKMN_VIGOROTH 0x16D
#define PKMN_SLAKING 0x16E
#define PKMN_GULPIN 0x16F
#define PKMN_SWALOT 0x170
#define PKMN_TROPIUS 0x171
#define PKMN_WHISMUR 0x172
#define PKMN_LOUDRED 0x173
#define PKMN_EXPLOUD 0x174
#define PKMN_CLAMPERL 0x175
#define PKMN_HUNTAIL 0x176
#define PKMN_GOREBYSS 0x177
#define PKMN_ABSOL 0x178
#define PKMN_SHUPPET 0x179
#define PKMN_BANETTE 0x17A
#define PKMN_SEVIPER 0x17B
#define PKMN_ZANGOOSE 0x17C
#define PKMN_RELICANTH 0x17D
#define PKMN_ARON 0x17E
#define PKMN_LAIRON 0x17F
#define PKMN_AGGRON 0x180
#define PKMN_CASTFORM 0x181
#define PKMN_VOLBEAT 0x182
#define PKMN_ILLUMISE 0x183
#define PKMN_LILEEP 0x184
#define PKMN_CRADILY 0x185
#define PKMN_ANORITH 0x186
#define PKMN_ARMALDO 0x187
#define PKMN_RALTS 0x188
#define PKMN_KIRLIA 0x189
#define PKMN_GARDEVOIR 0x18A
#define PKMN_BAGON 0x18B
#define PKMN_SHELGON 0x18C
#define PKMN_SALAMENCE 0x18D
#define PKMN_BELDUM 0x18E
#define PKMN_METANG 0x18F
#define PKMN_METAGROSS 0x190
#define PKMN_REGIROCK 0x191
#define PKMN_REGICE 0x192
#define PKMN_REGISTEEL 0x193
#define PKMN_KYOGRE 0x194
#define PKMN_GROUDON 0x195
#define PKMN_RAYQUAZA 0x196
#define PKMN_LATIAS 0x197
#define PKMN_LATIOS 0x198
#define PKMN_JIRACHI 0x199
#define PKMN_DEOXYS 0x19A
#define PKMN_CHIMECHO 0x19B
yet again lazy to take away #define
Lesson 5
Flags
Ever wondered how you get badges and running shoes ect Well flags explain that ill explain them tho
#dynamic 0x800000
#org @start
lock
faceplayer
checkflag 0x828
if 0x1 goto @done
msgbox @flag 0x6
Givepokemon 0x3 0x5 0x0 0x0 0x0
setflag 0x828 (this is for activating the flag menu in pokemon fr/lg )
release
end
#org @flag
= here take this bulbasaur
#org @done
msgbox @alreadygot 0x6
release
end
(checkflag 0x828 if 0x1 goto @done this determines whether or not you have the flag 0x828 if it does it goes to @done) list of fr/lf flags
Badge 1 0x820
badge 2 0x821
badge 3 0x822
badge 4 0x823
badge 5 0x824
badge 6 0x825
badge 7 0x826
badge 8 0x827
Running shoes 0x82F
Pokemon menu 0x828
pokedex menu 0x829
Ruby/saphire flags
BADGE 1 0x807
BADGE 2 0x808
BADGE 3 0x809
BADGE 4 0x80A
BADGE 5 0x80B
BADGE 6 0x80C
BADGE 7 0x80D
BADGE 8 0x80E
PKMNMENU 0x800
POKEDEX 0x801
POKENAV 0x802
RUNNINGSHOES 0x860
Lesson 6
Specials
hello again ever wondered how those earthquackes and things happend thats why im here to explain
#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @tired 0x6
fadescreen 0x1 (this makes the screen black ill explain it later )
Special 0x0 (this is the healing function used for healing your pokemon)
fadescreen 0x0
msgbox @better 0x6
release
end
#org @better
= your pokemon look better now
#org @tired
= your pokemon look tired want to let\p them have a rest
heres a list of specials
special 0x0 - Heal Pokemon
special 0x3C - Access 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 - Groudon's 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)
Lesson 7
Fadescreen
wondered how those screens went black in pokemon games or white then went back to normal thats what im here to explain
#dynamic 0x800000
#Org @fade
lock
faceplayer
msgbox @al 0x6
fadescreen 0x1
fadescreen 0x0
release
end
#org @al
= Magical Alakazam Make screen turn BLACK
heres a list of fadescreens
0x1 goes from normal to black
0x0 goes from black to normal
0x3 goes from normal to white
0x2 goes from white to normal
well thats about it for fadescreen
Lessong 8
Applymovement
Yes the moment you have been waiting for is APPLYMOVEMENT Yay You dont need lock
or faceplayer with this
#dynamic 0x800000
#org @move
msgbox @lets 0x6
Applymovement 0x1 @go
waitmovement 0x0
applymovement 0xFF @go2
end
#org @lets
= lets go for a walk
#org @go
#raw 0x11 0x11 0x11 0xFE
#org @go2
#raw 0x11 0x11 0x11 0xFE
applymovement 0x1 is the event number on advanced map moving
applymovement 0xFF is you the player moving
#raw 0x11 is basically saying to go up 0xFE is ending it without this you cant move
list of movements for firered/leafgreen
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 slow 0x2D
Face Up slow 0x2E
Face Left slow 0x2F
Face Right slow 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 then up 0x56
Jump in Place Facing up then Down 0x57
Jump in Place Facing Left then Right 0x58
Jump in Place Facing Right then Left 0x59
Disappear 0x60
Reappear 0x61
"!" 0x62
"?" 0x63
"X" 0x64
"!!" 0x65
"^_^"0x66
For ruby/saphire
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
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
' is 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
LESSON 9
Wild battles did you ever want that wild battles and you saw my thread and said NOOOO i want wild battles while i updated this and here it is
#dynamic 0x800000
#org @start
lock
faceplayer
cry 0x1 0x0
msgbox @wildbattle 0x6
wildbattle 0x1 0x5 0x0
hidesprite 0x1
setflag 0x1000
release
end
#org @wildbattle
= Bulba BULBASAUR
ok new commands Wild battle is which pokemon you will be fighting in the wild correct? anyways the 0x1 is which pokedex number it is 0x5 is its level and 0x0 is its item ok Cry 0x1 is which pokemon and 0x0 is the effect (i have no idea what that effect does didnt try it) hide sprite is it new i think so too lazy to check XD well its to hide the sprite which event number is whatever hidesprite you did like hidesprite 0x1 hides the event number on advanced map and the setflags is to keep it hidden
if you want it to reappear use clear flag MOVING on
LESSON 10
Trainer battles
#dynamic 0x800000
#Org @start
trainerbattle 0x0 0x001 0x0 @start @what?
msgbox @beaten 0x6
release
end
#org @start
= Go my ekans
#Org @what?
= how did you beat my ekans
#org @beaten
= that was a great battle
trainer battle 0x0 is the type of battle 0x001 is the trainers id in advanced trainer or pet or anything else and the @start @what? and @beaten @start is when he runs up to you @what? is when you beat him AND @beaten is when you beat him
and talk to him hope that helps you and dont forgot when giving it to a trainer to Tick his/her trainer box and there view radius something like that so they run up to you well theres my updated version hope you like it
Credits
Hackmew for Xse