The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.


Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #1    
Old March 27th, 2008, 04:57 PM
/Circa's Avatar
/Circa
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
ScriptEd Tutorial - By CheesePeow

Introduction: I decided to make a tutorial because many people are finding PokeScript troublesome (especially beginners) mainly because it is hard to find the requirements. Also, ScriptEd is much better because of one special thing, you can find your own offsets depending on how much space you need. So I found this very usefull, plus this tutorial will work greatly with XSE. Because it runs on the same sought of system. So hopefully some people will convert to ScriptEd or XSE in the future.

Lets get started shall we?
But before that, a few answers to some questions.

Q: Where can I download ScriptEd?
A: ScriptEd can be found in the EliteMap package, or downloaded at Studiopokemon.
Q: My script isn't working... Why?
A: You should go over the script for errors by yourself, and if it still isn't working, post it here.
Q: My PokeScript scripts don't work in ScriptEd?
A: ScriptEd scripts are much different to PokeScript.

Those are some of the main questions, but lets get started. (for real this time)

Basic Message:

Well, in ScriptEd, we need to start with an offset.
Basic offsets start with 0x and then depending on where your offset is.
For instance, for a basic message, we would need only a small offset, we don't want to put it all over the place right?

Lets go with 0x800000, because theres alot of free space after that.
So we start with #org 0x800000

We also need a lock and faceplayer command after that, why you ask? Because without these commands the hero, and the person your talking to will walk around while the text box is still there. We don't want that do we?.

Now we've got our main header.
Code:
#org 0x800000
lock
faceplayer
What do we use for a message command like in PokeScript? In ScriptEd we use msgbox as the main command, i'm not too sure, but I think message works aswell. But theres a catch, after each msgbox command, we need an offset for the message. So be careful about that, offsets should have 100 between them just to be safe. If you want to find yourself an offset, open up your hex editor and search for some free space.

Now we need to add callstd, which is the boxset command.
There are a couple of callstd commands, here is a list I know.

Code:
1. callstd 0x6 - basic message box.
2. callstd 0x5 - used for yes and no scripts.
3. callstd 0x3 - signpost command.
These are the ones you'll need most.

Now, if we've got that, we need to end the script there. Put in release and end, which will release the players from lock and also end the script.

But where does the message go? The message goes after the main paragraph. This is what our message wants to look like.

Code:
Hi [player]!
How are you today?
But!, we need to set that out accordingly. To make a new line use \n straight after the text, for a new box use \p. Which is used after \n. I think you get it >.<

So this is what it looks like:

Code:
#org 0x800100
= Hi \v\h01!\nHow are you today?
But wait, whats \v\h01?
This is the command for the heroes name, if you want your rivals name use \v\h06.

So this is what our script looks like:

Code:
#org 0x800000
lock
faceplayer
msgbox 0x800100
callstd 0x6
release
end
 
#org 0x800100
= Hey \v\h01!\nHow are you today?
Happy? You made your first script!
I'll go over yes/no scripts some other time, I want to show you guys some givepokemon and giveitem scripts, which you'll use alot :)!

Givepokemon

With a givepokemon script we only need a simple command, but wait, we have a problem, well two. Sometimes when creating givepokemon we get an error, where it says it cant register the command, thats because sometimes we need an ever bigger command. The normal command would be:

givepokemon 0x0 (pokemon number in hex) 0x0 (Pokemon level) 0x0 (item)

But in some cases we need it even bigger, but this is rare.

givepokemon 0x5 0x5 0x0 0x0 0x0 0xFFFFFF 0xFF

You probably wont get this problem though, so it doesn't matter.

But the other problem is getting the Pokemon repeadetly?
we need something called a flag, which can be set, removed or checked. Here is a larger explanation.

Code:
Setflag - Sets a flag for it to be checked, or removed.
Checkflag - Checks if a flag has been set.
Removeflag - removes a flag if it has been set
Flags are used in many scripts, and there are many left over flags in the game.

But lets get to the givepokemon command, here are a list of Pokemon.
You'll need to convert them into hex with your scientific calculator. (windows)

Spoiler:

Code:
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


Now to get into the command.

How about we get into yes/no with this aswell?
In ShinyGold there is a Pikachu script, which asks you yes or no, answer yes, you get a Pikachu level 10, answer no it just says Pika... :(.

So we need this command.

Code:
msgbox 0x800000
callstd 0x5
compare lastresult 0x1
if 0x1 goto 0x800100
When getting the Pikachu we need a new paragraph, and many more offsets.
So lets go over it, the commands go as below:

Code:
offset
lock
faceplayer
checkflag
if 0x1 goto
msgbox
callstd
compare lastresult
if 0x1 goto
msgbox
callstd
release
end
 
offset
lock
msgbox
callstd
givepokemon
setflag
release
end
 
messages go below:
Get it?
Heres our final script:

Code:
#org 0x800000
lock
faceplayer
checkflag 0x200
if 0x1 goto 0x800100
msgbox 0x800200
callstd 0x5
compare lastresult 0x1
if 0x1 goto 0x800300
msgbox 0x800400
callstd 0x6
release
end
 
#org 0x800300
lock
msgbox 0x800500
callstd 0x6
givepokemon 0x19 0x5 0x0
setflag 0x200
release
end
 
#org 0x800200
= Pikachu?
 
#org 0x800400
= Pikachu :(
 
#org 0x800500
= Pika! :D
 
#org 0x800100
nop
release
end
Theres our final script, if we want the Pikachu to dissapear we need to add some #raw commands, but i'll describe that with the applymovement.

Giveitem

Giveitem is the same as givepokemon, though all we need is:

giveitem 0x0(item number) 0x0(how many)
though in some cases the program will again unregister it, so we add a 0x1 at the end.

So we do the same sought of script, so theres really no point in me going over it all over, i'll just provide you with a list of items.


Spoiler:
Code:
Pokeballs:
MASTER BALL 0x1
ULTRA BALL 0x2 GREAT BALL 0x3 POKEBALL 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
Healing Items:
POTION = 0xD ANTIDOTE = 0xE BURN HEAL = 0xF ICE HEAL = 0x10 AWAKENING = 0x11 PARLYZ HEAL = 0x12 FULL RESTORE = 0x13 MAX POTION = 0x14 HYPER POTION = 0x15 SUPER POTION = 0x16 FULL HEAL = 0x17 REVIVE = 0x18 MAX REVIVE = 0x19 FRESH WATER = 0x1A SODA POP = 0x1B LEMONADE = 0x1C MOOMOO MILK = 0x1D ENERGY POWDER = 0x1E ENERGY ROOT = 0x1F HEAL POWDER = 0x20 REVIVAL HERB = 0x21 ETHER = 0x22 MAX ETHER = 0x23 ELIXIR = 0x24 MAX ELIXIR = 0x25 LAVA COOKIE = 0x26 BLUE FLUTE = 0x27 YELLOW FLUTE = 0x28 RED FLUTE = 0x29 BLACK FLUTE = 0x2A WHITE FLUTE = 0x2B BERRY JUICE = 0x2C SACRED ASH = 0x2D
Misc. Items:
SHOAL SALT = 0x2E SHOAL SHELL = 0x2F RED SHARD = 0x30 BLUE SHARD = 0x31 YELLOW SHARD = 0x32 GREEN SHARD = 0x33 HENTAI MAG = 0x34 NAME TAG = 0x35
Stat Increasing Items:
HP UP = 0x3F PROTEIN = 0x40 IRON = 0x41 CARBOS = 0x42 CALCIUM = 0x43 RARE CANDY = 0x44 PP UP = 0x45 ZINC = 0x46 PP MAX = 0x47
X Items:
GUARD SPEC. = 0x49 DIRE HIT = 0x4A X ATTACK = 0x4B X DEFEND = 0x4C X SPEED = 0x4D X ACCURACY = 0x4E X SPECIAL = 0x4F
Repeling Items:
POKEDOLL = 0x50 FLUFFY TAIL = 0x51 SUPER REPEL = 0x53 MAX REPEL = 0x54 ESCAPE ROPE = 0x55 REPEL = 0x56
Stones:
SUN STONE = 0x5D MOON STONE = 0x5E FIRE STONE = 0x5F THUNDER STONE = 0x60 WATER STONE = 0x61 LEAF STONE = 0x62
Sell Items:
TINY MUSHROOM = 0x67 BIG MUSHROOM = 0x68 PEARL = 0x6A BIG PEARL = 0x6B STAR DUST = 0x6C STAR PIECE = 0x6D NUGGET = 0x6E HEART SCALE = 0x6F
Mail:
ORANGE MAIL = 0x79 HARBOR MAIL = 0x7A GLITTER MAIL = 0x7B MECH MAIL = 0x7C WOOD MAIL = 0x7D WAVE MAIL = 0x7E BEAD MAIL = 0x7F SHADOW MAIL = 0x80 TROPIC MAIL = 0x81 DREAM MAIL = 0x82 FAB MAIL = 0x83 RETRO MAIL = 0x84
Berries:
CHERRY BERRY = 0x85 PECHA BERRY = 0x87 RAWST BERRY = 0x88 ASPEAR BERRY = 0x89 LEPPA BERRY = 0x8A ORAN BERRY = 0x8B PERSIM BERRY = 0x8C LUM BERRY = 0x8D SITRUS BERRY = 0x8E FIGY BERRY = 0x8F WIKI BERRY = 0x90 MAGO BERRY = 0x91 AGUAV BERRY = 0x92 IAPAPA BERRY = 0x93 RAZZ BERRY = 0x94 BLUK BERRY = 0x95 NANAB BERRY = 0x96 WEPEAR BERRY = 0x97 PINAP BERRY = 0x98 POMEG BERRY = 0x99 KELPSY BERRY = 0x9A QUALOT BERRY = 0x9B HONEYDEW BERRY = 0x9C GREPA BERRY = 0x9D TOMATO BERRY = 0x9E CORNN BERRY = 0x9F MAGOST BERRY = 0xA0 RABUTA BERRY = 0xA1 NOMEL BERRY = 0xA2 SPELON BERRY = 0xA3 PAMTRE BERRY = 0xA4 WATEMEL BERRY = 0xA5 DURIN BERRY = 0xA6 BELUE BERRY = 0xA7 LICHEE BERRY = 0xA8 GANLON BERRY = 0xA9 SALAC BERRY = 0xAA PETAYA BERRY = 0xAB APRICOT BERRY = 0xAC LANSAT BERRY = 0xAD STARF BERRY = 0xAE ENIGMA BERRY = 0xAF
Hold Items:
BRIGHT POWDER = 0xB3 WHITE HERB = 0xB4 MACHO BRACE = 0xB5 EXP.SHARE = 0xB6 QUICK CLAW = 0xB7 SOOTHE BELL = 0xB8 MENTAL HERB = 0xB9 CHOICE BAND = 0xBA KINGS ROCK = 0xBB SILVER POWDER = 0xBC AMULET COIN = 0xBD CLEANSE TAG = 0xBE SOUL DEW = 0xBF DEEP SEA TOOTH = 0xC0 DEEP SEA SCALE = 0xC1 SMOKE BALL = 0xC2 EVERSTONE = 0xC3 FOCUS BAND = 0xC4 LUCKY EGG = 0xC5 SCOPE LENS = 0xC6 METAL COAT = 0xC7 LEFTOVERS = 0xC8 DRAGON SCALE = 0xC9 LIGHT BALL = 0xCA SOFT SAND = 0xCB HARD STONE = 0xCC MIRACLE SEED = 0xCD BLACK GLASSES = 0xCE BLACK BELT = 0xCF MAGNET = 0xD0 MYSTIC WATER = 0xD1 SHARP BEAK = 0xD2 POISON BARB = 0xD3 NEVER MELT ICE = 0xD4 SPELL TAG = 0xD5 TWISTED SPOON = 0xD6 CHARCOAL = 0xD7 DRAGON FANG = 0xD8 SILK SCARF = 0xD9 UP-GRADE = 0xDA SHELL BELL = 0xDB SEA INCENSE = 0xDC LAX INCENSE = 0xDD LUCKY PUNCH = 0xDE METAL POWDER = 0xDF THICK CLUB = 0xE0 STICK = 0xE1 RED SCARF = 0xFE BLUE SCARF = 0xFF PINK SCARF = 0x100 GREEN SCARF = 0x101 YELLOW SCARF = 0x102
Key Items:
SKATEBOARD1 = 0x103 COIN CASE = 0x104 ITEMFINDER = 0x105 OLD ROD = 0x106 GOOD ROD = 0x107 SUPER ROD = 0x108 S.S.TICKET = 0x109 CONTEST PASS = 0x10A SQUIRT BOTTLE = 0x10C AMULET = 0x10D SOOT SACK = 0x10E BASEMENT KEY = 0x10F SKATEBOARD2 = 0x110 POROK CASE = 0x111 LETTER = 0x112 EON TICKET = 0x113 RED ORB = 0x114 BLUE ORB = 0x115 SCANNER = 0x116 GO GOGGLES = 0x117 METEORITE = 0x118 RM1 KEY = 0x119 RM2 KEY = 0x11A RM4 KEY = 0x11B RM6 KEY = 0x11C STORAGE KEY = 0x11D ROOT FOSSIL = 0x11E CLAW FOSSIL = 0x11F DEVON SCOPE = 0x120
TMs:
TM01 = 0x121 TM02 = 0x122 TM03 = 0x123 TM04 = 0x124 TM05 = 0x125 TM06 = 0x126 TM07 = 0x127 TM08 = 0x128 TM09 = 0x129 TM10 = 0x12A TM11 = 0x12B TM12 = 0x12C TM13 = 0x12D TM14 = 0x12E TM15 = 0x12F TM16 = 0x130 TM17 = 0x131 TM18 = 0x132 TM19 = 0x133 TM20 = 0x134 TM21 = 0x135 TM22 = 0x136 TM23 = 0x137 TM24 = 0x138 TM25 = 0x139 TM26 = 0x13A TM27 = 0x13B TM28 = 0x13C TM29 = 0x13D TM30 = 0x13E TM31 = 0x13F TM32 = 0x140 TM33 = 0x141 TM34 = 0x142 TM35 = 0x143 TM36 = 0x144 TM37 = 0x145 TM38 = 0x146 TM39 = 0x147 TM40 = 0x148 TM41 = 0x149 TM42 = 0x14A TM43 = 0x14B TM44 = 0x14C TM45 = 0x14D TM46 = 0x14E TM47 = 0x14F TM48 = 0x150 TM49 = 0x151 TM50 = 0x152
HMs:
HM01 = 0x153 HM02 = 0x154 HM03 = 0x155 HM04 = 0x156 HM05 = 0x157 HM06 = 0x158 HM07 = 0x159 HM08 = 0x15A



Thanks to TB Pro for letting me steal his item and poke list xP.
(I didn't want to get it off my other computer)

Thats all for now, i'll work on the tutorial when I can.
THANKYOU!
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.

Last edited by Hashtag; April 15th, 2010 at 08:19 AM.
  #2    
Old March 28th, 2008, 06:52 PM
cam911
Beginning Trainer
 
Join Date: Mar 2008
Gender:
I have a quiestion i used this way to give a pokemon from officer in fire red when i answer yes i get the pokemon but when i talk to him again he asks the same question how do i make it so he just askes after ive recieved the pokemo. Hows it doing?
  #3    
Old March 28th, 2008, 08:05 PM
/Circa's Avatar
/Circa
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Just put in a setflag and a checkflag, so at the beginning of your script add this: (after #org)

checkflag 0x???
if 0x1 goto 0x??????

And then write yourself another paragraph:

#org 0x??????
lock
faceplayer
msgbox 0x??????
callstd 0x6
release
end

And write in your message .

Hopefully you get that.
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.
  #4    
Old March 28th, 2008, 09:05 PM
liuyanghejerry's Avatar
liuyanghejerry
Trainer
 
Join Date: Jan 2008
Location: China,Xi'an
Nature: Calm
Send a message via ICQ to liuyanghejerry Send a message via Windows Live Messenger to liuyanghejerry Send a message via Yahoo to liuyanghejerry
good job!
Seems that not only the*4 and zel still use it
__________________
Zel,thethethethe,LU-HO,Darthatron,HackMew,ZodiacDaGreat,Juan,score_under,JPAN,Tamah-chan,I really appreciate your kindness and your help!:D


I did something that really bad.But made all Chinese can hack Pokemon, too.If you guys hate me, I totally understand,but cannot do anything but force to keep everything.
If there must be someone to undertake all spit and curse, it must be me.
  #5    
Old March 29th, 2008, 06:12 AM
[enter name here]'s Avatar
[enter name here]
spalsh,my one weakness
 
Join Date: Mar 2008
Location: [enter town here]
Gender:
Nature: Mild
how do you compile scripts on script-ed
  #6    
Old March 29th, 2008, 08:30 AM
Binary's Avatar
Binary
え?
 
Join Date: Aug 2007
Age: 19
Wow, nice tutorial. I hope you add some more commands, and this should probably be very useful.
Too bad I don't use scriptED, but I might try xD. But nice work!
__________________
  #7    
Old March 29th, 2008, 08:49 AM
TB Pro's Avatar
TB Pro
Old-timer
 
Join Date: Nov 2004
Location: Midwestern USA
Age: 19
Gender: Male
Nice tut man! I recently began looking at/testing out ScriptED, just for fun. It is surprisingly simple. The only thing I dislike is having to type out the offsets(I'm lazy). I do believe I'll stick to Pokescript, though. I wish I'd have seen this when I decided to get into it Hey! I never said you could use my lists! Nah, JK! Anyways, BOL! P.S. Does this mean you're switching over to ScriptED?
__________________
--I'm a creepin'..
  #8    
Old March 29th, 2008, 03:13 PM
/Circa's Avatar
/Circa
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Quote:
Originally Posted by [enter name here] View Post
how do you compile scripts on script-ed
When you have your offsets all written out and your script, just click the compile button and type the offset into the script offset box in Advance Map.

Quote:
Originally Posted by C3LEBI♥ View Post
Wow, nice tutorial. I hope you add some more commands, and this should probably be very useful.
Too bad I don't use scriptED, but I might try xD. But nice work!
Thanks for the comments, i'll be adding some more commands, and hopefully get into biggers ones like setmaptile and variables.
(which confused me for a while )

Quote:
Originally Posted by TB Pro! View Post
Nice tut man! I recently began looking at/testing out ScriptED, just for fun. It is surprisingly simple. The only thing I dislike is having to type out the offsets(I'm lazy). I do believe I'll stick to Pokescript, though. I wish I'd have seen this when I decided to get into it Hey! I never said you could use my lists! Nah, JK! Anyways, BOL! P.S. Does this mean you're switching over to ScriptED?
You should start using scriptEd nearing the end of a hack, so you get to choose your offsets and how much space you need. (even though it takes some time, PokeScript just looks straight for a bunch of FF's and takes that space. All you need is a hex editor)
I only stole borrowed them .
I'm switching over to ScriptEd yes, but some more complex scripts I'll have to use PokeScript of XSE .

I'll write up more when i'm able too.
I'm too busy working on my hacks story and other minor things.
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.
  #9    
Old March 30th, 2008, 12:51 AM
[enter name here]'s Avatar
[enter name here]
spalsh,my one weakness
 
Join Date: Mar 2008
Location: [enter town here]
Gender:
Nature: Mild
brillant tutorial
thank you for uploading it

Last edited by [enter name here]; April 4th, 2008 at 07:36 AM.
  #10    
Old March 30th, 2008, 05:26 AM
cooley's Avatar
cooley
///Keepin' it simple
 
Join Date: Feb 2007
Location: United States
Age: 19
Gender: Male
Nature: Impish
Send a message via Windows Live Messenger to cooley Send a message via Skype™ to cooley
ScriptED I don't use because It takes too much space:
Code:
#org 0x800000
lock
faceplayer
message 0x800100  'Already 100 bytes?
callstd 0x6
release
end
Sometimes it doesn't work, like the compile button, and the decompiling sucks (so does pokescripts)
And mainly because you need extra stuff like Pokeroms.ini

XSE is similar to pokescript because it mainly replaces some commands with different names
and you use "@" instead of "$".
When XSE decompiles, it looks like scriptED

Finally ScriptED is too time consuming, unlless you have "Free Space Finder"
You or anyone else might not care what I've just said, but hey I had to say it somewhere.
I have to admit, when I was starting off, I tried to script with ScriptED, but it never worked.

If this tutorial was around then, maybe I would've changed my mind!
__________________

  #11    
Old March 30th, 2008, 02:28 PM
/Circa's Avatar
/Circa
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Like I mentioned, using a hex editor and a free space finder, you might only use the exact bytes . Even though it is too time consuming you choose where your scripts go. Because PokeScript doesn't always determine the right amount. It will leave some spaces in your rom, and of course when you are close to finishing your hack, will waste all the space. (probably) While ScriptEd you can choose what offsets. What I do is I open my hex editor and write down three categories on a piece of paper. Small, Medium, Large. Then I right offsets underneath them . Cross them off as I go.

But hey, you cant win everyone with that.
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.
  #12    
Old March 31st, 2008, 05:17 AM
KIRA-DIABLO's Avatar
KIRA-DIABLO
Beginner
 
Join Date: Sep 2007
Location: Philippines
Gender: Male
Nature: Brave
how to edit the pokedex? thx hope you'll answer
__________________
SIGN-UP NOW TO GET A FREE NINTENDO DSi HERE
[THANK][YOU]
http://www.xpango.com?ref=92024785
  #13    
Old April 2nd, 2008, 10:53 PM
emman1234
Beginning Trainer
 
Join Date: Jan 2008
Gender:
hi Cheese Peow!! finally a tutorial for scriptEd. thanks for the basic info but i have some questions, would you kindly answer them?

1. after the script have been typed in the Rubikon ScriptEd, what's next?
2. How can i know the offsets to be used??
3. how will i PUT them in the rom (ruby)???
4. what's the compile button for????
5. how to make them work in the rom??>>?

i have used pokescript and bufrite and learned to do those things except for number 5. after BURNing the script inside the ruby rom and i tried to play it, and talk to the sprite with the intended script, i either: a. freeze the game, b. a message box comes up and the sprite keeps talking nonsense letters continuously, or c. nothing happens.

i've tried to change the commands so many times but thesame results happen. there are MANY script tutorials here BUT NOT ALL, A FEW ONLY, discuss on how to finish the script and put inside the rom with the proper offsets. and WORKS...so they say. can i really create a script for POKEMON RUBY?>?>?

PLSSSSSSSSSSS
  #14    
Old April 3rd, 2008, 12:21 AM
/Circa's Avatar
/Circa
a face in the clouds.
 
Join Date: Nov 2007
Location: Melbourne, Victoria
Gender: Male
Nature: Quiet
Quote:
Originally Posted by emman1234 View Post
hi Cheese Peow!! finally a tutorial for scriptEd. thanks for the basic info but i have some questions, would you kindly answer them?

1. after the script have been typed in the Rubikon ScriptEd, what's next?
2. How can i know the offsets to be used??
3. how will i PUT them in the rom (ruby)???
4. what's the compile button for????
5. how to make them work in the rom??>>?

i have used pokescript and bufrite and learned to do those things except for number 5. after BURNing the script inside the ruby rom and i tried to play it, and talk to the sprite with the intended script, i either: a. freeze the game, b. a message box comes up and the sprite keeps talking nonsense letters continuously, or c. nothing happens.

i've tried to change the commands so many times but thesame results happen. there are MANY script tutorials here BUT NOT ALL, A FEW ONLY, discuss on how to finish the script and put inside the rom with the proper offsets. and WORKS...so they say. can i really create a script for POKEMON RUBY?>?>?

PLSSSSSSSSSSS
I've noticed sometimes aswell that the script comes out strange, but thats for the creator to find out, if you truly want to be a good scripter.

When you finish the script in scriptEd click compile, but make sure all your offsets are there. The offsets themselves are used like this: 0x??????. You need to find the offsets yourself, and use them yourself. The compile button is to insert scripts into your rom, but when you insert it, you need to go to Advance Map and change the offset for the script to your own.
__________________
dragging himself, forw
ard again, the pain has
still not diminished. E
ventually though, he e
merges inside a v
ery large room w

here everything about

the house

suddenly

changes.
  #15    
Old April 3rd, 2008, 03:13 PM
emman1234
Beginning Trainer
 
Join Date: Jan 2008
Gender:
hi again cheesePeow! thanks for replying, i forgot to tell you that everytime i click COMPILE and choose the rom i want to insert the script and click save, an error occurs "Run-time error '53' File Not Found".
what can i do?? thats the reason why i tried to use poketscript. Can i use Elite Map instead of Advance map when inserting the offsets?? the advance map takes too long to load.
im also using free space finder.

thanks again.
  #16    
Old April 3rd, 2008, 03:17 PM
emman1234
Beginning Trainer
 
Join Date: Jan 2008
Gender:
i'm not an expert in poke hack but you might want to try DEXTER program to edit the pokedex info of pokemons. though i can't recall if i got the program along with Elite map, but i once tried to edit it using DEXTER, until my hopes of creating a pokehaack fall when i cant create a working event script.

anyway try DEXTER.
  #17    
Old April 4th, 2008, 07:35 AM
[enter name here]'s Avatar
[enter name here]
spalsh,my one weakness
 
Join Date: Mar 2008
Location: [enter town here]
Gender:
Nature: Mild
when i click compile it says
"Loading command database...
Empty command database detected. Program halted."

thank you in advance
  #18    
Old April 11th, 2008, 04:28 AM
VxOsx
Beginning Trainer
 
Join Date: Apr 2008
Gender:
The "Compile" button is greyed out for me.. I can't even click it.. -.-
and I followed everything you said to do.. O_O
  #19    
Old April 11th, 2008, 06:11 AM
Pheya's Avatar
Pheya
Is very excited about HH & SS.
 
Join Date: Apr 2008
Gender:
I have a problem when I try to compile it, I used your givepokemon script to test it, but when I try to compite it, this message shows up:

Rubikon 1.3 by Kyoufu Kawa
--------------------------------------------------------------
Loading command database...
Empty command database detected. Program halted.


My ROM's name is pkmnruby.gba by the way.
  #20    
Old April 14th, 2008, 05:38 PM
matmold's Avatar
matmold
Beginning Trainer
 
Join Date: Mar 2008
Age: 24
Gender:
#org 0x800000
lock
faceplayer
msgbox 0x800100
callstd 0x6
release
end

#org 0x800100
= welcome \v\h01!\nare you new?

Loading command database...
Empty command database detected. Program halted.
and

Run-time error '53' File Not Found.

appears alot when compiling.

i think i need help.
p.s. i have only just started scripting
  #21    
Old April 17th, 2008, 05:40 AM
dragonarche's Avatar
dragonarche
Is back :D
 
Join Date: Apr 2008
Location: New bark town
Gender: Male
Nature: Brave
Send a message via Windows Live Messenger to dragonarche
do you know the green scqares with the yellow s in advance map
whell i was wondering what type of scripts are they
  #22    
Old April 18th, 2008, 12:07 AM
Dr Gregory House's Avatar
Dr Gregory House
 
Join Date: Apr 2008
Location: Brisbane, Australia
Age: 21
Gender: Male
Nature: Gentle
hi,
i made a script using scriptED where a man gives you a totodile.
When i load the rom, i get a white screen.
What's wrong?
here's the script:

#org 0x811111
Lock
FacePlayer
MsgBox Hi \v\h01\! Take this\nTotodile!
BoxSet 0x6
GivePokemon 0x208 0x7 0x0
Release
End

#org 0x
= Thanks \v\h01\
Release
End
__________________
  #23    
Old April 22nd, 2008, 08:16 PM
0m3GA ARS3NAL's Avatar
0m3GA ARS3NAL
Im comin' home...
Community Supporter Tier 1
 
Join Date: Jan 2008
Location: Superjail Penitentiary
Age: 21
Gender: Male
Nature: Gentle
ok, I have tried everything I can think of to compile this .rbc file onto my rom, and I just cant

will someone please tell me how to compile the scripts to my game?
(compile is to put in)
__________________
>Boot Jailbot
>Pass *****
.
.
Jailbot OS Ver 1.1.2
Greetings Warden
of Superjail Penitentiary
Awaiting user input...

>Display User_Info
╠══User Info══╣
Username:
0m3GA ARS3NAL
Age: 18
Sex: Male ♂
Race: Caucasian
Quote:
"What is this
I don't even..."

M/O: Often acts out to get attention, but recently has changed that. Has been studying up on hacking information and hopes to participate in more advanced hacking discussion.
╠══End of File══╣
Awaiting user input...

>
  #24    
Old April 23rd, 2008, 04:56 AM
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 18
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
Quote:
Originally Posted by VxOsx View Post
The "Compile" button is greyed out for me.. I can't even click it.. -.-
and I followed everything you said to do.. O_O
The same happened to me........................
__________________
  #25    
Old April 24th, 2008, 12:39 AM
Qwerty-117's Avatar
Qwerty-117
Is looking for a VBScripter
 
Join Date: Feb 2008
Location: I forgot
Age: 20
Gender:
Nature: Naughty
when i save the compile it sais:
Loading command database...
Empty command database detected. Program halted.
what do i do?
__________________





Never fear death, fear the unlived life

π = 3.14159265358979323846264338327950288419716939937510

What else can i put here?
Closed Thread
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 02:05 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.