Seth's XSE Tutorial

View previous topic View next topic Go down

Seth's XSE Tutorial

Post by RaiRai-kun on Tue Aug 05, 2008 9:13 pm

Welcome!
This is my XSE tutorial.
It will cover most all the commands.
Don't take this without my permission.
Credit to Darthatron for the overview and basic tut. on XSE.
Credit to -Hackmew- for making XSE.
Credit to everybody that supports XSE!

Part 1: Simple Script Components
First, I will teach you the basic parts.

Sample Script:
Spoiler:

#dynamic 0xoffset

#org @start
lock
faceplayer
msgbox @text
boxset 0x6
release
end

#org @text
= Hello.\nI'm Seth.

OK so you probably have no idea what these words mean, right?
I will explain everything here:
Spoiler:


#dynamic 0xoffset
#Dynamic this tells the compiler where the offset is to start the search
offset-- this is the number where XSE begins to search for free space for your script, generaly we use 800000 or similar.

#org @start
(The same goes for the org command, just put BEFORE EVERY pointer)
@start-- This is what we call a pointer, a pointer is what tells the script where to go.

lock
This basically "locks" all the sprites, so you and the other people cannot move.

faceplayer
This command makes the sprite you are talking to, well, face you.

msgbox @text
message-- this tells the script that there is a message to be displayed.
@text is a pointer, (description above)

boxset 0x6
boxset-- (Also known as callstd) This is what tells the script what type of message the message is.
# 6-- the boxset or callstd for a simple message.

release
This "undoes" the lock command we set earlier.

end
The script has to end somewhere right? This tells where the end of the script is.


"\" commands

\p-- Used to make a message go to a new box, skipping a line.
\n-- Used to make a message go to a new line
\h-- Used for hex symbols such as:

Spoiler:

00=
01=
02=
03=
04=
05=
06=
07=
08=
09=
0B=
0C=
0D=
0E=
0F=
10=
11=
12=
13=
14=
15=
16=
17=
19=
1A=
1B=
1C=
1D=
1E=
20=
21=
22=
23=
24=
25=
26=
27=
28=
29=
2A=
2B=
2C=
2D=&
2E=+
34=[Lv]
35==
36=;
51=
52=
53=[PK]
54=[MN]
55=[PO]
56=[Ke]
57=[BL]
58=[OC]
59=[K]
5A=
5B=%
5C=(
5D=)
68=
6F=
79=[u]
7A=[D]
7B=[L]
7C=[R]
A1=0
A2=1
A3=2
A4=3
A5=4
A6=5
A7=6
A8=7
A9=8
AA=9
AB=!
AC=?
AD=.
AE=-
AF=
B0=[...]
B1="
B2=["]
B3='
B4=[']
B5=[m]
B6=[f]
B7=$
B8=,
B9=[x]
BA=/
BB=A
BC=B
BD=C
BE=D
BF=E
C0=F
C1=G
C2=H
C3=I
C4=J
C5=K
C6=L
C7=M
C8=N
C9=O
CA=P
CB=Q
CC=R
CD=S
CE=T
CF=U
D0=V
D1=W
D2=X
D3=Y
D4=Z
D5=a
D6=b
D7=c
D8=d
D9=e
DA=f
DB=g
DC=h
DD=i
DE=j
DF=k
E0=l
E1=m
E2=n
E3=o
E4=p
E5=q
E6=r
E7=s
E8=t
E9=u
EA=v
EB=w
EC=x
ED=y
EE=z
EF=[>]
F0=:
F1=
F2=
F3=
F4=
F5=
F6=
F7=[u]
F8=[d]
F9=[l]
FA=\l
FB=\p
FC=\c
FD=\v
FE=\n
FF=\x


\l--Used to make a message go to a new line AFTER \n is used.
\c--Used for making a message colored, put it before the message with NO spaces
Here is a list of the colors for firered:

Spoiler:

White - \c\h01\h00
Black - \c\h01\h02
Grey - \c\h01\h03
Red - \c\h01\h04
Orange - \c\h01\h05
Dark Green - \c\h01\h06
Cyan - \c\h01\h07
Blue - \c\h01\h08
Light Blue - \c\h01\h09

\v-- Used for displaying certain names, such as (rival) and (player) and var values that you set using setvar command, which I will explain later.
The commands that you cannot change are
(player)-- \v\h01
(rival)-- \v\h06

Part 2: Other Message Scripts

For this part of the tutorial, I will teach you some more message scripts.

How about we start with a yes or no message? Sounds good to me.
Here is an example:

Spoiler:

#dynamic 0xoffset

#org @start
lock
faceplayer
msgbox @yesno
boxset 0x5
if 0x1 goto @yes
if 0x0 goto @no
release
end

#org @yesno
= Yes or no?

#org @yes
= You pressed Yes!

#org @no
= You pressed No.

Ok, a few new commands, eh? Well here are the explanations:
Spoiler:


boxset 0x5
Assuming you know what boxset means, I'll go on.
# 5-- The boxset # for a yes or no message.

if 0x1 goto @yes
This means "if you pressed yes goto @pointer
if 0x0 got @no
This means "if you pressed no goto @pointer

Well, that went well. I guess it's time I taught you about flags.

Flags

Flags are what tell the game if an event has happened or not.

Example Script:
Spoiler:

#Dynamic 0xoffset

#org @start
lock
faceplayer
checkflag 0x(I will use 828)
if 0x0 goto @give
if 0x1 goto @sry
release
end

#org @give
givepokemon 0x1 0x10 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
setflag 0x828
msgbox @yay
boxset 0x6
release
end

#org @sry
msgbox @sorry
boxset 0x6
end

#org @yay
= You got Bulbasaur!

#org @sorry
= I can't give you anymore.

The new commands are right here:
Spoiler:

checkflag-- this checks if a flag has been set
setflag-- this sets a certain flag
clearflag-- this clears a flag to be used again.
fanfare 0x13E-- this is the music that is played when you get a pokemon.
waitfanfare-- this makes the script wait until the fanfare is finished then continues
givepokemon-- (I will explain this later)

Here is a list of commonly used flags (or flags built into the game, whatever you like to call them)
Spoiler:

For all the Firered and Leafgreen Hackers:
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

For all you Ruby and Saphire hackers:
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

Emerald (not much is known for emerald because it can be glitchy at times):
0x860 - Pokemon Menu
0x861 - Pokedex Menu
0x862 - Pokenav Menu

That is it for flags. Let's talk about givepokemon and giveitem now. Sounds ok?

Part 4: Giving pokemon and items

It's about time. Anyways here are some commands you need to know before we get started:

givepokemon
It does what it says.
setflag 0x828
Activates the Pokemon menu
giveitem
Once again, It does what it says.

Example script:
Spoiler:

#Dynamic 0xoffset

#org @start
lock
faceplayer
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
setflag 0x828
release
end

That's the script in it's simplest form. But to get it to work once, look back at the Flag section.

Now, the givepokemon command is kinda weird looking, aint it?
Here is a detailed description:
givepokemon (the command) 0x(pokemon's pokedex number translated into hex) 0x(level) 0x(item number in hex) 0x0 0x0 0x0 (<--- you need these)

Now, here is a list of the pokemons' hex numbers:
Spoiler:

BULBASAUR 1
IVYSAUR 2
VENUSAUR 3
CHARMANDER 4
CHARMELEON 5
CHARIZARD 6
SQUIRTLE 7
WARTORTLE 8
BLASTOISE 9
CATERPIE A
METAPOD B
BUTTERFREE C
WEEDLE D
KAKUNA E
BEEDRILL F
PIDGEY 10
PIDGEOTTO 11
PIDGEOT 12
RATTATA 13
RATICATE 14 (I will stop here for now, but I will come back to trans. more numbers into hex)
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

That's all for givepokemon. Now let's discuss giveitem.


Last edited by Seth on Tue Aug 05, 2008 9:27 pm; edited 3 times in total

_________________

RaiRai-kun
Site Admin
Site Admin

Male Number of posts: 97
Age: 19
Location: The one that always has a funny avatar.
Warning:
0 / 1000 / 100

Reputation:
100 / 100100 / 100

Registration date: 2008-08-02

View user profile http://pokehackerforums.forumakers.com

Back to top Go down

Re: Seth's XSE Tutorial

Post by RaiRai-kun on Tue Aug 05, 2008 9:12 pm

Example script:
Spoiler:


#Dynamic 0xoffset

#org @start
giveitem 0x(item number in hex) 0x(how many)
end

Here is a list of the item numbers (not in hex):
Spoiler:

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
PokBlock 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

And that's it for giveitem.

And now we move on to "Other Commands"

Part 5: Other Commands

This section will cover "checkgender", "warp", "pokemart", "giveegg"

Let's go in order, shall we?

Checkgender Example:

Spoiler:

#dynamic 0xoffset

#org @start
lock
faceplayer
checkgender
if 0x0 goto @boy
if 0x1 goto @girl
release
end

#org @boy
= You are a boy.

#org @girl
= You are a girl.

By The Way: in checkgender, 0x0 means "if boy" and 0x1 means "if girl".

Warp time!

Example:
warp 0x(map bank) 0x(map number) 0x(warp number)

Time for a trip to the pokemart!

Here is the example:
[/spoiler]
#Dynamic 0xoffset

#org @start
lock
faceplayer

pokemart @values
release
end

#org @values

binary 0x(number) . . . 0x0
[/spoiler]

Here are the pokemart item codes:

* Master Ball 0x1
* Ultra Ball 0x2
* Great Ball 0x3
* Pok Ball 0x4
* Safari Ball 0x5
* Net Ball 0x6
* Dive Ball 0x7
* Nest Ball 0x8
* Repeat Ball 0x9
* Timer Ball 0xA
* Luxury Ball 0xB
* Premier Ball 0xC
* Parlyz Heal 0x13
* Full Restore 0x14

And that's it for pokemart!

Now for "giveegg"!

Giveegg is yet another command.

The script:
giveiegg 0x(pokedex number shown above in hex (four digits) reversed) 0x(the 00

The real script:
giveegg 0x19 0x00 (that would be a pikachu egg)

That's all for now. I'll update this post when I have more info.

_________________

RaiRai-kun
Site Admin
Site Admin

Male Number of posts: 97
Age: 19
Location: The one that always has a funny avatar.
Warning:
0 / 1000 / 100

Reputation:
100 / 100100 / 100

Registration date: 2008-08-02

View user profile http://pokehackerforums.forumakers.com

Back to top Go down

Re: Seth's XSE Tutorial

Post by KhaosKnight on Tue Aug 05, 2008 9:18 pm

Seth wrote:#dynamic 0xoffset
(don't worry about what the "#dynamic means, just make sure you put it there)
offset-- this is the number of the free space you are using for the script.

At that part change it to this:

Seth wrote:#dynamic 0xoffset
Dynamic-- this tells the compiler where the offset is to start the search.

offset-- this is the number where XSE begins to search for free space for your script, generaly we use 800000 or similar.

It makes you sound more professional

_________________




KhaosKnight
Admin
Admin

Male Number of posts: 236
Age: 21
Location: In on your modem, stealing your Internetz
Warning:
0 / 1000 / 100

Reputation:
70 / 10070 / 100

Registration date: 2008-08-05

View user profile

Back to top Go down

Re: Seth's XSE Tutorial

Post by riolu 9 on Thu Aug 07, 2008 9:08 pm

i dont understand the give pokemon script and how do you make the peoople move

_________________
pokemon white isle supporter

riolu 9
Moderator
Moderator

Male Number of posts: 46
Age: 20
Warning:
0 / 1000 / 100

Reputation:
69 / 10069 / 100

Registration date: 2008-08-03

View user profile

Back to top Go down

Re: Seth's XSE Tutorial

Post by KhaosKnight on Thu Aug 07, 2008 9:53 pm

to make people move you need to use the applymovement command like so:

applymovement 0x1 @pointer to movements
waitmovement 0x0


#org @pointer to movements
#Raw 0x1 0x2 0x3 0x4 0xfe <------0xfe ends the movements

_________________




KhaosKnight
Admin
Admin

Male Number of posts: 236
Age: 21
Location: In on your modem, stealing your Internetz
Warning:
0 / 1000 / 100

Reputation:
70 / 10070 / 100

Registration date: 2008-08-05

View user profile

Back to top Go down

Re: Seth's XSE Tutorial

Post by God of War on Wed Aug 13, 2008 2:44 pm

Totally helped me learn. You've done it again Seth! :wink:

_________________

Support Pokemon Revelation!
Hit the scrapbox and check it out NOW!


Credits to Y?551NE for the signature pic and the avatar

God of War
Pokehacker
Pokehacker

Male Number of posts: 68
Age: 19
Location: I ... Don't ... Know ...
Warning:
0 / 1000 / 100

Reputation:
20 / 10020 / 100

Registration date: 2008-08-11

View user profile

Back to top Go down

Re: Seth's XSE Tutorial

Post by .:Sandro:. on Sat Aug 16, 2008 5:46 am

Dude Are u gonna continue with this... Or when we go to another forum???

.:Sandro:.
Super Moderator/Graphic Designer
Super Moderator/Graphic Designer

Male Number of posts: 152
Age: 21
Location: No where...
Warning:
0 / 1000 / 100

Reputation:
75 / 10075 / 100

Registration date: 2008-08-05

View user profile http://pcclinic.forumakers.com

Back to top Go down

Re: Seth's XSE Tutorial

Post by .Iramet on Mon Aug 18, 2008 10:45 am

I don't think I'm cut out for scripting because i looked at it like three times and all i can end up doing is making them talk.

_________________

.Iramet
Assastant Admin
Assastant Admin

Male Number of posts: 224
Age: 20
Location: I'm not quite sure
Warning:
10 / 10010 / 100

Reputation:
45 / 10045 / 100

Registration date: 2008-08-05

View user profile

Back to top Go down

Re: Seth's XSE Tutorial

Post by KhaosKnight on Wed Oct 08, 2008 9:35 pm

Anyone can script, it just takes time and patience. With the right motivation and teachings it come be really easy and you can pick it up easily too. Just take it in steps. Dont go from making talk scripts to walking-camera moving scripts. It is a process.

_________________




KhaosKnight
Admin
Admin

Male Number of posts: 236
Age: 21
Location: In on your modem, stealing your Internetz
Warning:
0 / 1000 / 100

Reputation:
70 / 10070 / 100

Registration date: 2008-08-05

View user profile

Back to top Go down

Re: Seth's XSE Tutorial

Post by Prince Uchiha on Sun Oct 18, 2009 12:32 am

I don't know how to script! so pls help..

Prince Uchiha
Newbie
Newbie

Male Number of posts: 3
Age: 18
Location: India
Warning:
0 / 1000 / 100

Reputation:
0 / 1000 / 100

Registration date: 2009-10-17

View user profile

Back to top Go down

Re: Seth's XSE Tutorial

Post by Schiffy on Fri Sep 24, 2010 3:09 pm

2 small problems/questions:
1. the line "boxset 0x6" is coming up as an unknown command.
2. how to add the full script to a rom via AdvanceMap?

Schiffy
Newbie
Newbie

Male Number of posts: 1
Age: 20
Warning:
0 / 1000 / 100

Reputation:
0 / 1000 / 100

Registration date: 2010-09-24

View user profile

Back to top Go down

Re: Seth's XSE Tutorial

Post by Rasyd_Ral on Fri Sep 07, 2012 5:46 am

please i dont understand confused

Rasyd_Ral
Newbie
Newbie

Male Number of posts: 1
Age: 15
Warning:
0 / 1000 / 100

Reputation:
0 / 1000 / 100

Registration date: 2012-09-07

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum