The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Script Requests/Sharing/Discussion (https://www.pokecommunity.com/showthread.php?t=80304)

thethethethe September 2nd, 2007 12:48 PM

Quote:

Originally Posted by swampert22 (Post 2841820)
Does anybody know of there is a command to use in PokeScript to display a Pokémon's sprite above the text. Like the Fuschia City Zoo? It would help in my hack.

Thanks.

Please search the thread next time. Hackmew posted this about 5 or so pages back. Here put this into the script.
Well just replace PP and QQ witht the pokemon hex numbers(Look in the Glitchfinders,Hex editing evos's tutorial) and #raw 76 is used to close the picture box.
Code:

#raw 75
#raw PP
#raw QQ
#raw 0A
#raw 03
...
...
#raw 76



WindBlows September 2nd, 2007 1:10 PM

I need a pokescript please!

I need a simple battle with a charizard level 20 thanks!

thethethethe September 2nd, 2007 1:12 PM

Code:

#org $start
lock
faceplayer
message $bufuu
boxset 6
wildbattle 6 20 2
setflag 0x200
fadescreen 0
release
end

#org $bufuu
$bufuu 1 =Charizard: Raaargghh!



PokeFanatic12698 September 2nd, 2007 1:14 PM

$wildbattle
lock
faceplayer
message $charizard
$charizard 1 = Charizard: Roar
boxset 6
wildbattle 6 20 1
release
setflag 0x201
fadescreen 0
end


There you go. I'm not sure what the 1 is for.

thethethethe September 2nd, 2007 1:17 PM

Quote:

Originally Posted by PokeFanatic12698 (Post 2842367)
$wildbattle
lock
faceplayer
message $charizard
$charizard 1 = Charizard: Roar
boxset 6
wildbattle 6 20 1
release
setflag 0x201
fadescreen 0
end


There you go. I'm not sure what the 1 is for.


THe '1' is for where the battle is, (water, desert, mountain). I can't rememeber which is which.

Keishii September 3rd, 2007 5:59 AM

Ok, well I'm new to this, and I'm having problems with my script. I followed three guides and they all say the same thing. Yet I'm still doing something wrong. When I put my script into the game, the player that speaks start talking in some random language, no lock, no faceplayer and yes/nos when I didn't script for them. After that, it freezes up the game: http: //i190 .photobucket .com /albums/z27 /CrystallisAmaticia /grrrbadscript .jpg


My original script was:
#ORG $begin
lock
faceplayer
checkflag 0x200
if B_true goto $done
message $person
boxset 6
givepokemon 72 6 0
setflag 0x200
release
end

#org $done
message $person2
boxset 6
release
end

#org $person
$person = Oh, hi \v\h01. I found a \ncute pokemon yesterday, \nbut my mommy says \nI can't keep it.

\pMy brother doesn't \nwant it either. \nSo you can have it.

#org $person2
$person2 = How's that pokemon \nI gave you? \pI hope he's still ok.




After burning it when it was a BUF:

#PROCESS: C:\Documents and Settings\Casey\Desktop\pokemonfirered386\386 Fire Red.gba F:2 for read
------------------------------------------------------------------------------------------------
- Pushed givenatentacool.$begin to 800000
- Pushed givenatentacool.$done to 80007B
- Pushed givenatentacool.$person to 8000A1
- Pushed givenatentacool.$person2 to 8002A0
#PROCESS: C:\Documents and Settings\Casey\Desktop\pokemonfirered386\386 Fire Red.gba F:3 for read
------------------------------------------------------------------------------------------------
- Putting [lock faceplayer checkflag &h200 if B_true goto $done message $person boxset 6 givepokemon 72 6 0 setflag &h200 release end ] at 800000
- Putting [message $person2 boxset 6 release end ] at 80007B
- Putting [h i\\0.Ifuda\ct oeo etra,\btm om as\Icntke t pybohrdent\wn tete.\S o a aei.
- Putting [o' htpkmn\Igv o?\Ihp essilo.
|
\- Processed 0 Lines


I gave the little girl the script offset of $800000, yet she's messed up. Could anybody help me? I know I'm doing something wrong.

dreadwing93 September 3rd, 2007 9:46 AM

the same thing happend to me!

Death_Mande September 3rd, 2007 9:53 AM

Quote:

Originally Posted by Keishii (Post 2845075)
Ok, well I'm new to this, and I'm having problems with my script. I followed three guides and they all say the same thing. Yet I'm still doing something wrong. When I put my script into the game, the player that speaks start talking in some random language, no lock, no faceplayer and yes/nos when I didn't script for them. After that, it freezes up the game: http: //i190 .photobucket .com /albums/z27 /CrystallisAmaticia /grrrbadscript .jpg


My original script was:
#ORG $begin
lock
faceplayer
checkflag 0x200
if B_true goto $done
message $person
boxset 6
givepokemon 72 6 0
setflag 0x200
release
end

#org $done
message $person2
boxset 6
release
end

#org $person
$person = Oh, hi \v\h01. I found a \ncute pokemon yesterday, \nbut my mommy says \nI can't keep it.

\pMy brother doesn't \nwant it either. \nSo you can have it.

#org $person2
$person2 = How's that pokemon \nI gave you? \pI hope he's still ok.




After burning it when it was a BUF:

#PROCESS: C:\Documents and Settings\Casey\Desktop\pokemonfirered386\386 Fire Red.gba F:2 for read
------------------------------------------------------------------------------------------------
- Pushed givenatentacool.$begin to 800000
- Pushed givenatentacool.$done to 80007B
- Pushed givenatentacool.$person to 8000A1
- Pushed givenatentacool.$person2 to 8002A0
#PROCESS: C:\Documents and Settings\Casey\Desktop\pokemonfirered386\386 Fire Red.gba F:3 for read
------------------------------------------------------------------------------------------------
- Putting [lock faceplayer checkflag &h200 if B_true goto $done message $person boxset 6 givepokemon 72 6 0 setflag &h200 release end ] at 800000
- Putting [message $person2 boxset 6 release end ] at 80007B
- Putting [h i\\0.Ifuda\ct oeo etra,\btm om as\Icntke t pybohrdent\wn tete.\S o a aei.
- Putting [o' htpkmn\Igv o?\Ihp essilo.
|
\- Processed 0 Lines


I gave the little girl the script offset of $800000, yet she's messed up. Could anybody help me? I know I'm doing something wrong.

Well i dont know whats wrong but try this script-
Spoiler:
#ORG $begin
lock
faceplayer
checkflag 0x200
if B_true goto $done
message $person
boxset 6
givepokemon 251 5 1
setflag 0x200
release
end


#org $done
message $person2
boxset 6
release
end

#org $person
$person = Huh? \nHow did you find me? \pAnyways i came here to \nSearch for celebi. Now that i \pFound it, I should \nGive it to you.

#org $person2
$person2 = How is the pokemon \nI gave you?



If you still need help let me know.

Dr.Razor September 3rd, 2007 10:09 AM

Can we activate an action replay code with a script?

Ooka September 3rd, 2007 10:13 AM

What would the script be for the battle tower battles?

thethethethe September 3rd, 2007 12:44 PM

Quote:

Originally Posted by Dr.Razor (Post 2846166)
Can we activate an action replay code with a script?

That involves ASM hacking, which I don't understand, If you want information, the only person that I know that can do it is, Mastermind X. I think you should try and ask him.

efilonn September 3rd, 2007 2:37 PM

Quote:

Originally Posted by thethethethe (Post 2842273)
Please search the thread next time. Hackmew posted this about 5 or so pages back. Here put this into the script.
Well just replace PP and QQ witht the pokemon hex numbers(Look in the Glitchfinders,Hex editing evos's tutorial) and #raw 76 is used to close the picture box.
Code:

#raw 75
#raw PP
#raw QQ
#raw 0A
#raw 03
...
...
#raw 76




One question, about the PP and QQ part, how do you find out the pokemon's hex numbers? I looked at evo's tutorial, but it doesn't list each pokemons numbers... Idk Im really confused on the PP and QQ part

Ripper September 3rd, 2007 8:04 PM

Hey guys I've jut started scripting and i am experiencing some problems... I've tried everything but for some reason my script doesn't work. I have edited it so it is simple...

#org $go
trainerbattle 1 0x15F $before $after
boxset 6
release
end

#org $before
$before 1 = Hmmmm...\nSo this is Sylvia's house?\pHey! Who are you!?

#org $after
$after 1 = I can't believe I lost to you! Boss\nwon't be happy... I'd better get out\pof here...

This script isn't the problem but I can't seem to change it to my liking.

1) I want the Grunt to say "Hmmmm... So this is Sylvia's house?" without turning to face you
2) I want him to then face you and say "Hey! Who are you!?"
3) I want a battle to start (already in)
4) After defeating the grunt I want him to say "I can't believe I lost to a kid!"
5) After the battle screen exits I want him to say "Arrghh... Boss won't be happy. I'd better get out of here..."
6) I then want the screen to flash and i want the Grunt to be gone.

Can anyone help me with my script?

thethethethe September 3rd, 2007 10:46 PM

Quote:

Originally Posted by efilonn (Post 2847505)
One question, about the PP and QQ part, how do you find out the pokemon's hex numbers? I looked at evo's tutorial, but it doesn't list each pokemons numbers... Idk Im really confused on the PP and QQ part

Oh,sorry about that. I thought I got them from there, guess I was wrong, Here they are.
Spoiler:
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


Quote:

Originally Posted by ChiefsFan (Post 2848891)
Hey guys I've jut started scripting and i am experiencing some problems... I've tried everything but for some reason my script doesn't work. I have edited it so it is simple...

#org $go
trainerbattle 1 0x15F $before $after
boxset 6
release
end

#org $before
$before 1 = Hmmmm...\nSo this is Sylvia's house?\pHey! Who are you!?

#org $after
$after 1 = I can't believe I lost to you! Boss\nwon't be happy... I'd better get out\pof here...

This script isn't the problem but I can't seem to change it to my liking.

1) I want the Grunt to say "Hmmmm... So this is Sylvia's house?" without turning to face you
2) I want him to then face you and say "Hey! Who are you!?"
3) I want a battle to start (already in)
4) After defeating the grunt I want him to say "I can't believe I lost to a kid!"
5) After the battle screen exits I want him to say "Arrghh... Boss won't be happy. I'd better get out of here..."
6) I then want the screen to flash and i want the Grunt to be gone.

Can anyone help me with my script?

I'd say try writing it for a trigger event instead of a people event. And also if you want the Grunt to dissapear, you'll have to use this
trainerbattle 1 0x15F $before $after $further
and then sontinue your script from $further.

efilonn September 4th, 2007 5:55 AM

Tyvm thethe dragon, I wish there was a +karma button feature on these forums I'd give you it =)


Another question, the pictures for each of the three pokeballs pop up perfectly and display the correct picture (either charmeleon, wartortle, or ivysaur). The problem is after I reset the game and come back to that part, the first pokeball i choose to look at the picture of the pokemon has weird inverted colors, though all the others work perfectly. It's whatever pokeball I choose first the colors are distorted... So I don't know about that, must be some glitch.

But anyway I have trouble with making the pokeball dissappear. I set the flag, put the flag number in the people id, and fadescreen 0 but the pokeball never dissappears then, it dissappears after I walk away a little far then come back...

cooley September 4th, 2007 8:49 AM

Try to put "11" in the movement box for the pokeball.

efilonn September 4th, 2007 9:24 AM

Movement 11 didn't work =\....

Pokeman69 September 4th, 2007 9:33 AM

Quote:

Originally Posted by thethethethe (Post 2838383)
You don't put anything. It's left blank. People id is used only if you want the person to dissapear.

thanks but my scripts won't work only 2 of all my scripts work
the market script works and the 1 where it says
Spoiler:
#ORG $ShowText
Lock
Faceplayer
message $NoCookie
$NoCookie 1 = I'm not made of cookies!\lYou only get one.
boxset 6
release
end
I don't know why and the rest is basically the same

thethethethe September 4th, 2007 12:36 PM

Quote:

Originally Posted by efilonn (Post 2849735)
Tyvm thethe dragon, I wish there was a +karma button feature on these forums I'd give you it =)


Another question, the pictures for each of the three pokeballs pop up perfectly and display the correct picture (either charmeleon, wartortle, or ivysaur). The problem is after I reset the game and come back to that part, the first pokeball i choose to look at the picture of the pokemon has weird inverted colors, though all the others work perfectly. It's whatever pokeball I choose first the colors are distorted... So I don't know about that, must be some glitch.

But anyway I have trouble with making the pokeball dissappear. I set the flag, put the flag number in the people id, and fadescreen 0 but the pokeball never dissappears then, it dissappears after I walk away a little far then come back...

get rid of fadescreen 0, and use
applymovement <people no.> $move
pause 0x20
...
...

(and put this towards the bottom)$move 1 ; #binary 0x60(For fire red) <use movements to get it out of the way> 0xFE


Quote:

Originally Posted by Pokeman69 (Post 2850184)
thanks but my scripts won't work only 2 of all my scripts work
the market script works and the 1 where it says
Spoiler:
#ORG $ShowText
Lock
Faceplayer
message $NoCookie
$NoCookie 1 = I'm not made of cookies!\lYou only get one.
boxset 6
release
end
I don't know why and the rest is basically the same

There could be a problem with your Rom. Thats really the problem I can think of.

J00N45 September 4th, 2007 12:52 PM

Well, can someone do a script like u battle the celebi and after the battle, celebi disappears?
For Pokescript and FireRed.

thethethethe September 4th, 2007 12:57 PM

Quote:

Originally Posted by J00N45 (Post 2850740)
Well, can someone do a script like u battle the celebi and after the battle, celebi disappears?
For Pokescript and FireRed.

Please search the thread next time. This on the page before this one.
Quote:

Originally Posted by cooley (Post 2831239)
Code:

#org $StartWild
lock
faceplayer
cry 5
message $CelCry
$Celcry 1 = Celebi: Biiiii
boxset 6
checkflag 0x808
if 0x1 goto $WildBatt
release
end

#org $Wildbatt
lock
wildbattle 251 5 1
release
setflag 0x500
fadescreen 0
end




J00N45 September 4th, 2007 1:04 PM

That doesent work. It just freezes the game.

Ripper September 5th, 2007 12:52 AM

Quote:

Originally Posted by ChiefsFan (Post 2848891)
Hey guys I've jut started scripting and i am experiencing some problems... I've tried everything but for some reason my script doesn't work. I have edited it so it is simple...

#org $go
trainerbattle 1 0x15F $before $after
boxset 6
release
end

#org $before
$before 1 = Hmmmm...\nSo this is Sylvia's house?\pHey! Who are you!?

#org $after
$after 1 = I can't believe I lost to you! Boss\nwon't be happy... I'd better get out\pof here...

This script isn't the problem but I can't seem to change it to my liking.

1) I want the Grunt to say "Hmmmm... So this is Sylvia's house?" without turning to face you
2) I want him to then face you and say "Hey! Who are you!?"
3) I want a battle to start (already in)
4) After defeating the grunt I want him to say "I can't believe I lost to a kid!"
5) After the battle screen exits I want him to say "Arrghh... Boss won't be happy. I'd better get out of here..."
6) I then want the screen to flash and i want the Grunt to be gone.

Can anyone help me with my script?

is there any way some one can make this script for me? I just need a base to work with... Thanks!

Pokeman69 September 5th, 2007 4:27 AM

thanx thethethethe for helping me and yep it was my rom i used another one and all my scripts work now

Diggeh September 5th, 2007 4:13 PM

I have some scripting questions.

1) I have attempted to view the scripts for Rock Smash rocks, Cut trees, and the guy that takes the Sapphire before you do in Dotted Hole [the sapphire contains the whole script]. My only problem is attempting to view them. I've tried Ctrl+Right Clicking on the rock/tree/Sapphire in EliteMap, as well as opening the ROM in ScriptED with the [...] setting and entering the script number, but the script always comes out like so [this example is the Rock Smash rock's script]:

Code:

'-----------------------
#org 0x1BE00C

end


I just can't figure it out.

2) ScriptED's configure button won't become clickable. I have the ROM in the same folder, unspaced, and the script, unspaced. It's just not working.

3) I have a scripting problem for Pokescript...well, it's not really a problem.

Code:

#org $start
lock
faceplayer
message $hi
boxset 6
givepokemon 133 5 66
jingle
message $rec
boxset 6
message $oops
boxset 6
applymovement 0x01 $move
pausemove 0
setflag 0x200
release
end

#org $move
$move 1 ; #binary 0x55 0x1F 0x1D 0x1D 0x1D 0x1D 0x1D 0x1D 0x1F 0x1F 0x1F 0x1F 0x60 0xFE

#org $hi
$hi 1 =Here, take this...

#org $rec
$rec 1 =\v\h01 recieved an EEVEE!

#org $oops
$oops 1 =Oh, snap! The fuzz! Seeya!


It plays out fine, but the jingle doesn't sound no matter where I place it in the script [and believe me, I placed it in every possible place]. Is there a certain way the jingle can/must be placed and such?


All times are GMT -8. The time now is 2:32 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 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 - 2016 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.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.