• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Script Requests/Sharing/Discussion

Status
Not open for further replies.
In firered, What item is the techy tv?
 
how do I make the fadescreen work in this script:

Code:
#org $start
Lock
faceplayer
Trainerbattle 1 02 $before $after $further
Message $beaten
Boxset 6
Release
End

#org $before
$before 1 = I'm BEN's twin!

#org $after
$after 1 = Now I've got to leave...

#org $beaten
$beaten 1 = Bye.

#org $further
lock
faceplayer
message $beaten2
$beaten2 1 = I'll see you later.
boxset 6
release
setflag 0x123
fadescreen 0
end

cuz the sprite won't disapear


And why doesn't this work:
Code:
#org $StartWild
lock
faceplayer
cry 5
message $charCry
$charcry 1 = CELEBI: Bi?
boxset 6
checkflag 0x808
if 0x1 goto $WildBatt
release
end

#org $Wildbatt
lock
wildbattle 251 10 1
release
setflag 0x500
fadescreen 0
end
 
how do I make the fadescreen work in this script:

Code:
#org $start
Lock
faceplayer
Trainerbattle 1 02 $before $after $further
Message $beaten
Boxset 6
Release
End

#org $before
$before 1 = I'm BEN's twin!

#org $after
$after 1 = Now I've got to leave...

#org $beaten
$beaten 1 = Bye.

#org $further
lock
faceplayer
message $beaten2
$beaten2 1 = I'll see you later.
boxset 6
release
setflag 0x123
fadescreen 0
end

cuz the sprite won't disapear


And why doesn't this work:
Code:
#org $StartWild
lock
faceplayer
[B]cry 5[/B]
message $[B]charCry[/B]
$[B]charcry[/B] 1 = CELEBI: Bi?
boxset 6
checkflag 0x808
if 0x1 goto $WildBatt
release
end

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



Try changing the charcry into celecry lol. Or just remove the cry. See if that works. Oh, and fix the ones in bold. Anywho, how can i make a script similar to your mom's script in FR. What i mean is, what type of script can tell if your a boy/girl.

Example:

If your a boy, when you talk to lets say, your little brother, it says "Hi big brother!" But if your a girl it says, : "Hi big sister!"
 
Anywho, how can i make a script similar to your mom's script in FR. What i mean is, what type of script can tell if your a boy/girl.

Example:

If your a boy, when you talk to lets say, your little brother, it says "Hi big brother!" But if your a girl it says, : "Hi big sister!"

to do that u have to use the command "checkgender" it is in many of the tutorials..
 
Oh ok. Thanks! I still dont know how to make a sprite disapear. Anyone have any suggestions? Lol, i know i have to set the people id but it still dont work.

Use this:

Code:
#raw 53
#raw PeopleNumber (Hex) 
#raw 00
setflag 0xPeopleID

Example - People n.10, PeopleID 0x1234

Code:
#raw 53
#raw 0A
#raw 00
setflag 0x1234


If needed you can use a fadescreen before and after the setflag command.
 
Use this:

Code:
#raw 53
#raw PeopleNumber (Hex) 
#raw 00
setflag 0xPeopleID

Example - People n.10, PeopleID 0x1234

Code:
#raw 53
#raw 0A
#raw 00
setflag 0x1234


If needed you can use a fadescreen before and after the setflag command.
Ok. But before i try it, does it work for a wildbattle/trainerbattle script and is it for pokescript?
 
This Should Work:

Spoiler:

I tried it, It still repeats and the Overworld that I'm using for Honudour doesn't disappear.

Nevermind, I got it working.
 
Last edited:
I have a problem with my script. The text works and I jump to the left but the person making me jump does not move.

Code:
#ORG $stop...
lock
faceplayer
message $hey...
boxset 6
applymovement 0x14 $boot
pausemove 0
applymovement 0xFF $bootme
pausemove 0
applymovement 0x14 $bootreturn
pausemove 0
release
end

#ORG $boot
#Binary 0x08 0x02 0xFE
end

#ORG $bootme
#Binary 0x50 0xFE
end

#ORG $bootreturn
#Binary 0x09 0x04 0xFE
end

#ORG $hey...
$hey... 1 = S-s-sorry, But the Journey cave \nis closed f-f-f-for re-reconstruction. \p????: You heard the man \nbeat it squirt!
 
What am I doing wrong The event keeps repeating, This is a Scripted script by the way.

'-----------------------
#org 0x810000
lock
faceplayer
checkflag 0x205
if 0x1 goto 0x810000
msgbox 0x811000
callstd 0x6
wildbattle 0xE4 0x05 0x0
cry 0xA1 0xE4
setflag 0x205
end

'---------
' Strings
'---------
#org 0x811000
= HOUNDOUR: Dooouurr!

Try this.

I have a problem with my script. The text works and I jump to the left but the person making me jump does not move.

Code:
#ORG $stop...
lock
faceplayer
message $hey...
boxset 6
applymovement 0x0E $boot
pausemove 0
applymovement 0xFF $bootme
pausemove 0
applymovement 0x0E $bootreturn
pausemove 0
release
end

#ORG $boot
#Binary 0x08 0x02 0xFE

#ORG $bootme
#Binary 0x50 0xFE

#ORG $bootreturn
#Binary 0x09 0x04 0xFE

#ORG $hey...
$hey... 1 = S-s-sorry, But the Journey cave \nis closed f-f-f-for re-reconstruction. \p????: You heard the man \nbeat it squirt!

Hmmm... I know this script. Try this one.
 
I have a problem with my script. The text works and I jump to the left but the person making me jump does not move.

Code:
#ORG $stop...
lock
faceplayer
message $hey...
boxset 6
applymovement 0x14 $boot
pausemove 0
applymovement 0xFF $bootme
pausemove 0
applymovement 0x14 $bootreturn
pausemove 0
release
end

#ORG $boot
#Binary 0x08 0x02 0xFE
end

#ORG $bootme
#Binary 0x50 0xFE
end

#ORG $bootreturn
#Binary 0x09 0x04 0xFE
end

#ORG $hey...
$hey... 1 = S-s-sorry, But the Journey cave \nis closed f-f-f-for re-reconstruction. \p????: You heard the man \nbeat it squirt!
not sure what's wrong with that script..did you try remove the "lock and faceplayer"?
 
You know what, I think it is that i got the person number wrong for the one person. I will try to get the right one. Am says it is people #14, but that does not work.

Edit: I tried something but it was useless, He is number 14 but i put 0x14 and he does not move... I did it like that for another script and it worked... help?
 
Last edited:
You know what, I think it is that i got the person number wrong for the one person. I will try to get the right one. Am says it is people #14, but that does not work.

Edit: I tried something but it was useless, He is number 14 but i put 0x14 and he does not move... I did it like that for another script and it worked... help?

OMG! It's obvious that it doesn't work...

In mathematics and computer science, hexadecimal, base-16, or simply hex, is a numeral system with a radix, or base, of 16, usually written using the symbols 0–9 and A–F, or a–f.

0x[something] means that's hexadecimal.

People numbers shown in Advance map are decimal.

14 = 0x0E

20 = 0x14

Windows Calc in Scientific Mode could help you.
 
Thank you. I should have known that a long time ago.
 
hey guys help me..

#org $salvaraflorista
lock
if 1 goto $nada
applymovement 10 $hun
$hun 1 ; #Binary 0x62 0xFE
applymovement 13 $hun2
$hun2 1 ; #Binary 0x62 0x4A 0xFE
pause 0x20
message $cara
$cara 1 = MARIO: Sai pirralho...\nisto nao e contigo!
boxset 6
message $flori
$flori 1 = Margarida: \c\h01\h04Por favor garoto,\nme ajude!
boxset 6
call $luta*<-----------------------------After this, the sprites goin CRAZY..
message $cara2
$cara2 1 = MARIO: Voce se deu bem nessa garoto.\nMas da próxima vez...\lvoce irá perder!
boxset 6
fadescreen 1
applymovement 11 $ajuste1
$ajuste1 1 ; #Binary 0x09 0x09 0x0B 0x60 0xFE
applymovement 12 $ajuste2
$ajuste2 1 ; #Binary 0x09 0x09 0x0A 0x60 0xFE
applymovement 13 $ajuste3
$ajuste3 1 ; #Binary 0x09 0x09 0x60 0xFE
pausemove 0
fadescreen 0
applymovement 10 $hun
pause 0x20
message $flori2
$flori2 1 = Margarida: \c\h01\h04Muito obrigado gatoto!\nTome isso como agradecimento!
boxset 6
giveitem 0x44 0x1
message $flori3
$flori3 1 = Margarida: \c\h01\h04Agora tenho que ir!\nTchau!
boxset 6
applymovement 10 $subir
$subir 1 ; #Binary 0x09 0x60 0xFE
pausemove 0
setflag 0x203
release
end

#org $luta
trainerbattle 1 92 $before $after
return

#org $before
$before 1 = MARIO: Queres ajudar?!\lEntao venca-me!!

#org $after
$after 1 = Que droga.. \lfui derrotado!

#org $nada
release
end

*after the script to pass in $luta struggles, the minisprites of the rom are crazy, and the movement of the hero changes for another minisprite... how to adjust that?
 
how do I make the fadescreen work in this script:

Code:
#org $start
Lock
faceplayer
Trainerbattle 1 02 $before $after $further
Message $beaten
Boxset 6
Release
End

#org $before
$before 1 = I'm BEN's twin!

#org $after
$after 1 = Now I've got to leave...

#org $beaten
$beaten 1 = Bye.

#org $further
lock
faceplayer
message $beaten2
$beaten2 1 = I'll see you later.
boxset 6
release
setflag 0x123
fadescreen 0
end

cuz the sprite won't disapear

Anyone?



And why doesn't the sprite appear now:S I inserted it but I don't see a sprite:
Code:
#org $StartWild
lock
faceplayer
cry 251
message $bi
$bi 1 = CELEBI: Bi?
boxset 6
checkflag 0x808
if 0x1 goto $WildBatt
release
end

#org $Wildbatt
lock
wildbattle 251 10 1
release
setflag 0x232
fadescreen 0
end
 
Oh I see! Why didn't I before? Here is your script, all fixed up ;)
Code:
#org $begin
checkflag 0x999
if B_true goto $done
applymovement 0x06 $move1
applymovement 0x07 $move2
pause 0x70
message $message1
boxset 6
applymovement 0xFF $move3
pause 0x20
applymovement 0x06 $move4
applymovement 0x07 $move5
pause 0x170
setflag 0x999
release
end

#org $done
release
end

#org $move1
[B]$move1 1 ;[/B] #binary 0x12 0x12 0x11 0x12 0x11 0x11 0x63 0xFE

#org $move2
[B]$move2 1 ;[/B] #binary 0x12 0x12 0x12 0x11 0x12 0x11 0x63 0xFE

#org $message1
[B]$message1 1 =[/B] Hey you! You're \v\h01 right?!\nWe are Team Forester!\pProf. Andreas aked us to wait \nand meet you here.\pWe are there wherever you are!\nAnd we will help you on your journey!\pWe have to go now!\nSee ya later...

#org $move3
[B]$move3 1 ;[/B] #binary 0x11 0x13 0xFE

#org $move4
[B]$move4 1 ;[/B] #binary 0x11 0x11 0x11 0x11 0x12 0x12 0x12 0x11 0x11 0x12 0x12 0x12 0x12 0x12 0x10 0x10 0x60 0xFE


#org $move5
[B]$move5 1 ;[/B] #binary 0x11 0x11 0x11 0x11 0x11 0x12 0x12 0x12 0x11 0x11 0x12 0x12 0x12 0x12 0x10 0x10 0x60 0xFE
You just forgot the $move 1 ; bits. by the way, do you use ScriptEd?

Thnx
Yes but not so long..;)
I'm gonna test it now..:D
 
hey guys help me..

Code:
#org $salvaraflorista
lock
if 1 goto $nada
applymovement 10 $hun
$hun 1 ; #Binary 0x62 0xFE
applymovement 13 $hun2
$hun2 1 ; #Binary 0x62 0x4A 0xFE
pause 0x20
message $cara
$cara 1 = MARIO: Sai pirralho...\nisto nao e contigo!
boxset 6
message $flori
$flori 1 = Margarida: \c\h01\h04Por favor garoto,\nme ajude!
boxset 6
[B]trainerbattle 1 92 $before $after[/B]<-----------------------------After this, the sprites goin CRAZY.. 
message $cara2
$cara2 1 = MARIO: Voce se deu bem nessa garoto.\nMas da próxima vez...\lvoce irá perder!
boxset 6
fadescreen 1
applymovement 11 $ajuste1
$ajuste1 1 ; #Binary 0x09 0x09 0x0B 0x60 0xFE
applymovement 12 $ajuste2
$ajuste2 1 ; #Binary 0x09 0x09 0x0A 0x60 0xFE
applymovement 13 $ajuste3
$ajuste3 1 ; #Binary 0x09 0x09 0x60 0xFE
pausemove 0
fadescreen 0
applymovement 10 $hun
pause 0x20
message $flori2
$flori2 1 = Margarida: \c\h01\h04Muito obrigado gatoto!\nTome isso como agradecimento!
boxset 6
giveitem 0x44 0x1
message $flori3
$flori3 1 = Margarida: \c\h01\h04Agora tenho que ir!\nTchau!
boxset 6
applymovement 10 $subir
$subir 1 ; #Binary 0x09 0x60 0xFE
pausemove 0
setflag 0x203
release
end

#org $before
$before 1 = MARIO: Queres ajudar?!\lEntao venca-me!!

#org $after
$after 1 = Que droga.. \lfui derrotado!

#org $nada
release
end

*after the script to pass in $luta struggles, the minisprites of the rom are crazy, and the movement of the hero changes for another minisprite... how to adjust that?
I guess that is it, I'm not a good Script corrector. I think you know what you are doing anyway.
 
Status
Not open for further replies.
Back
Top