Script Help Thread (DO NOT REQUEST SCRIPTS) Page 72

Started by HackMew December 20th, 2008 5:10 AM
  • 625740 views
  • 9682 replies
Seen October 17th, 2011
Posted April 21st, 2010
109 posts
14.6 Years
Help me with my move tutor script please

not in rom
Spoiler:

#dynamic 0x800000
#org @Start
lock
faceplayer
checkflag 0x200
compare LASTRESULT 0x1
if 0x1 goto @AlreadyLearnt
msgbox @WantToLearn 0x6
compare LASTRESULT 0x0
if 0x1 goto @DontWant
setvar 0x8005 0x1D
special 0x18D
setflag 0x200
release
end

#org @AlreadyLearnt
= I'm sorry I can do this only once.

#org @WantToLearn
= Do you want me to teach one of\nyour Pokémon the move Headbutt?

#org @DontWant
= No? That's a shame. Come back\nanytime when you've changed your\lmind.


in the rom

Spoiler:

'---------------
#org 0x800B3E
lock
faceplayer
checkflag 0x200
compare LASTRESULT 0x1
if 0x1 goto 0x8800B6F
msgbox 0x8800B94 MSG_NORMAL '"Do you want me to teach one of\nyo..."
compare LASTRESULT 0x0
if 0x1 goto 0x8800BD5
setvar 0x8005 0x1D
special 0x18D
setflag 0x200
release
end

'---------------
#org 0x800B6F
cmdc3 0xB4
'---------------
#org 0x800BD5
cmdc8

'---------
' Strings
'---------
#org 0x800B94
= Do you want me to teach one of\nyour Pokémon the move Headbutt?


Whats wrong with this? it learns nothing to your pokemon and the only thing what be said is Do you want me to teach one of your Pokémon the move Headbutt?
after that the NCP said nothing any more

Help me please

-DarK-

Age 30
Male
Belgium
Seen September 3rd, 2018
Posted March 25th, 2012
185 posts
15.9 Years
Help me with my move tutor script please

not in rom
Spoiler:

#dynamic 0x800000
#org @Start
lock
faceplayer
checkflag 0x200
compare LASTRESULT 0x1
if 0x1 goto @AlreadyLearnt
msgbox @WantToLearn 0x6
compare LASTRESULT 0x0
if 0x1 goto @DontWant
setvar 0x8005 0x1D
special 0x18D
setflag 0x200
release
end

#org @AlreadyLearnt
= I'm sorry I can do this only once.

#org @WantToLearn
= Do you want me to teach one of\nyour Pokémon the move Headbutt?

#org @DontWant
= No? That's a shame. Come back\nanytime when you've changed your\lmind.


in the rom

Spoiler:

'---------------
#org 0x800B3E
lock
faceplayer
checkflag 0x200
compare LASTRESULT 0x1
if 0x1 goto 0x8800B6F
msgbox 0x8800B94 MSG_NORMAL '"Do you want me to teach one of\nyo..."
compare LASTRESULT 0x0
if 0x1 goto 0x8800BD5
setvar 0x8005 0x1D
special 0x18D
setflag 0x200
release
end

'---------------
#org 0x800B6F
cmdc3 0xB4
'---------------
#org 0x800BD5
cmdc8

'---------
' Strings
'---------
#org 0x800B94
= Do you want me to teach one of\nyour Pokémon the move Headbutt?


Whats wrong with this? it learns nothing to your pokemon and the only thing what be said is Do you want me to teach one of your Pokémon the move Headbutt?
after that the NCP said nothing any more

Help me please
Try this:
Spoiler:
#dynamic 0x800000

#org @Start
lock
faceplayer
checkflag 0x200
if b_true goto @1
msgbox @WantToLearn 0x5
compare LASTRESULT 0x0
if b_true goto @2
setvar 0x8005 0x1D
special 0x18D
setflag 0x200
release
end

#org @1
msgbox @AlreadyLearnt 0x6
release
end

#org @2
msgbox @DontWant 0x6
release
end

#org @AlreadyLearnt
= I'm sorry I can do this only once.

#org @WantToLearn
= Do you want me to teach one of\nyour Pokémon the move Headbutt?

#org @DontWant
= No? That's a shame. Come back\nanytime when you've changed your\lmind.

HackMew

Mewtwo Strikes Back

Seen October 26th, 2011
Posted October 15th, 2010
1,314 posts
16.9 Years
This is going to sound noobish and well it is i only started hacking 2 hours ago and well how do you add people to towns in advance map i already have the script i just need to make the person to act it out
May I suggest you reading the guide that comes with XSE? As it just explains that, among other things.

justdieplz

Pokemon White Enthusiast

Age 27
Male
Kansas
Seen December 20th, 2013
Posted December 20th, 2013
29 posts
14.7 Years
My hack starts with the player on a remote island, I'd like to have a pokeball next to him, containing his pokemon. So I have this:

#Dynamic 0xoffset

#org @start
lock
faceplayer
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
setflag 0x828
release
end
but when i check the start menu it showes the amount of coins I have, and not the pokemon menu.
You need the flag for putting the POKEMON status screen in your menu, look for it in prof. oak's scripts

0m3GA ARS3NAL

Im comin' home...

Age 30
Male
Superjail Penitentiary
Seen February 25th, 2023
Posted September 12th, 2013
1,816 posts
15.3 Years
Is it possible to add custom multi-choice menus with XSE, and if not, then with ASM? And, of course, if so, how would one go about doing that? :P
The only way you can customize them is to edit them manually with A-Text or with a Hex Editor.
>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...

>
Seen July 1st, 2012
Posted October 29th, 2011
126 posts
15.1 Years
The only way you can customize them is to edit them manually with A-Text or with a Hex Editor.
And here I was thinking it was something complex. :P That should meet my needs, I think. But that leads to two new questions:

Can I add/subtract options from existing multi-choice menus, and can I add new multi-choice menus into the game?

I'm guessing that just about anything is possible with ASM, yes?

Thanks for your help. :)

0m3GA ARS3NAL

Im comin' home...

Age 30
Male
Superjail Penitentiary
Seen February 25th, 2023
Posted September 12th, 2013
1,816 posts
15.3 Years
And here I was thinking it was something complex. :P That should meet my needs, I think. But that leads to two new questions:

Can I add/subtract options from existing multi-choice menus, and can I add new multi-choice menus into the game?

I'm guessing that just about anything is possible with ASM, yes?

Thanks for your help. :)
I think you can add more, but you need to repoint the Table, and then you can add as many as you need... well... up to a total of 255...
I forgot where the data is located, but there IS a tutorial here on the forums.
(Don't think that everything requires ASM, cause in reality, not that many things do...)
>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...

>

Co500

Nostalgia Edition

Male
Far Awayyyyyyy
Seen December 14th, 2021
Posted August 23rd, 2015
563 posts
14.9 Years
I didnt script this myself but its a level script in my hack but when it finishes weird symbols appeare and the box for buying coins at the game corner appear,

Spoiler:
'---------------
#org 0x802C54
applymovement MOVE_PLAYER 0x8800F3A
applymovement 0x3 0x8800F3A
applymovement 0x4 0x8800F3A
waitmovement 0x0
msgbox 0x8800D33 MSG_NORMAL '"Hey Nurse Joy!\nI'm ready to regis..."
msgbox 0x8800DEF MSG_NORMAL '"Chan-sey Chan Chan-seeeey!"
msgbox 0x8800E0C MSG_NORMAL '"\c\h00[navyblue_fr]Misty: I think ..."
msgbox 0x8800E4F MSG_NORMAL '"\c\h00[red_fr]Brock: Look at this ..."
applymovement 0x4 0x8800F49
applymovement MOVE_PLAYER 0x8800F40
applymovement 0x3 0x8800F52
waitmovement 0x0
msgbox 0x8800E8D MSG_NORMAL '"I am sorry I've been out,\nbut Pro..."
msgbox 0x8800F01 MSG_NORMAL '"\c\h00[navyblue_fr]Misty: It's alr..."
applymovement 0x3 0x88014D2
applymovement 0x4 0x8801710
waitmovement 0x0
hidesprite 0x3
hidesprite 0x4
setflag 0x203
setvar 0x7000 0x1
release
end


'---------
' Strings
'---------
#org 0x800D33
= Hey Nurse Joy!\nI'm ready to register for the\pJohto League! Huh? She's not here!

#org 0x800DEF
= Chan-sey Chan Chan-seeeey!

#org 0x800E0C
= \c\h00[navyblue_fr]Misty: I think that Chansey is\ntrying to tell us something.

#org 0x800E4F
= \c\h00[red_fr]Brock: Look at this automated\nmessageon the computer!

#org 0x800E8D
= I am sorry I've been out,\nbut Professor Elm called me\pwith an urgent plea to go to his\nlab. I'll be back by 2:00.

#org 0x800F01
= \c\h00[navyblue_fr]Misty: It's already 3:30!\nLet's go see what's up!


'-----------
' Movements
'-----------
#org 0x800F3A
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x800F49
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x800F40
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x800F52
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x8014D2
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements

#org 0x801710
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements

HackMew

Mewtwo Strikes Back

Seen October 26th, 2011
Posted October 15th, 2010
1,314 posts
16.9 Years
I didnt script this myself but its a level script in my hack but when it finishes weird symbols appeare and the box for buying coins at the game corner appear,

Spoiler:
'---------------
#org 0x802C54
applymovement MOVE_PLAYER 0x8800F3A
applymovement 0x3 0x8800F3A
applymovement 0x4 0x8800F3A
waitmovement 0x0
msgbox 0x8800D33 MSG_NORMAL '"Hey Nurse Joy!\nI'm ready to regis..."
msgbox 0x8800DEF MSG_NORMAL '"Chan-sey Chan Chan-seeeey!"
msgbox 0x8800E0C MSG_NORMAL '"\c\h00[navyblue_fr]Misty: I think ..."
msgbox 0x8800E4F MSG_NORMAL '"\c\h00[red_fr]Brock: Look at this ..."
applymovement 0x4 0x8800F49
applymovement MOVE_PLAYER 0x8800F40
applymovement 0x3 0x8800F52
waitmovement 0x0
msgbox 0x8800E8D MSG_NORMAL '"I am sorry I've been out,\nbut Pro..."
msgbox 0x8800F01 MSG_NORMAL '"\c\h00[navyblue_fr]Misty: It's alr..."
applymovement 0x3 0x88014D2
applymovement 0x4 0x8801710
waitmovement 0x0
hidesprite 0x3
hidesprite 0x4
setflag 0x203
setvar 0x7000 0x1
release
end


'---------
' Strings
'---------
#org 0x800D33
= Hey Nurse Joy!\nI'm ready to register for the\pJohto League! Huh? She's not here!

#org 0x800DEF
= Chan-sey Chan Chan-seeeey!

#org 0x800E0C
= \c\h00[navyblue_fr]Misty: I think that Chansey is\ntrying to tell us something.

#org 0x800E4F
= \c\h00[red_fr]Brock: Look at this automated\nmessageon the computer!

#org 0x800E8D
= I am sorry I've been out,\nbut Professor Elm called me\pwith an urgent plea to go to his\nlab. I'll be back by 2:00.

#org 0x800F01
= \c\h00[navyblue_fr]Misty: It's already 3:30!\nLet's go see what's up!


'-----------
' Movements
'-----------
#org 0x800F3A
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x800F49
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x800F40
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x800F52
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x8014D2
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements

#org 0x801710
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements
Also thanks to AM, most people misunderstand what level scripts actually are. For example, that's just a part of the level script. To post the full one, enable the Professional Header View (Ctrl+H) then go to the Header Tab, and copy the Map Script offset. At this point, open XSE, load the ROM. Paste the offset you just copied, enable the Level Script option (the button near the decompile one) and decompile. That's it.

0m3GA ARS3NAL

Im comin' home...

Age 30
Male
Superjail Penitentiary
Seen February 25th, 2023
Posted September 12th, 2013
1,816 posts
15.3 Years
Also thanks to AM, most people misunderstand what level scripts actually are. For example, that's just a part of the level script. To post the full one, enable the Professional Header View (Ctrl+H) then go to the Header Tab, and copy the Map Script offset. At this point, open XSE, load the ROM. Paste the offset you just copied, enable the Level Script option (the button near the decompile one) and decompile. That's it.
Yeah, I was always confused by that too... I guess you could call the smaller ones Level Snippets, and the Full one the Level Script

The Code format being

Level Script
---Level Snippet
-----Actual Code
---Level Snippet
-----Actual code...

And so on an so forth, am I right?
>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...

>

HackMew

Mewtwo Strikes Back

Seen October 26th, 2011
Posted October 15th, 2010
1,314 posts
16.9 Years
Yeah, I was always confused by that too... I guess you could call the smaller ones Level Snippets, and the Full one the Level Script

The Code format being

Level Script
---Level Snippet
-----Actual Code
---Level Snippet
-----Actual code...

And so on an so forth, am I right?
Kinda, but there's not always actual code. There could be a Level Sub-snippet (as in type 02 and 04).
ATL
Seen June 9th, 2015
Posted October 3rd, 2010
397 posts
14.2 Years
Yes, HackMew was right, but I got it fixed now. This is the third time this has happened with that script....to fix it, con11, click header and then go to the script under "map scripts" and click ctrl+h. Copy the offset in the box that says "script offset" and load the map using level script and decompile buttons in XSE. Where it says "#raw word 0xFFFF" change it to "#raw word 0x0" and compile it.

Does anybody know why it keeps chanign the #raw word back to 0xFFFF?





Please warm my eggs...I'll be sure to return the favor

From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.

HackMew

Mewtwo Strikes Back

Seen October 26th, 2011
Posted October 15th, 2010
1,314 posts
16.9 Years
Does anybody know why it keeps chanign the #raw word back to 0xFFFF?
Yes. It's Advance Map. You might want to go XSE-only for level script editing, so you can be 100% sure it won't become 0xFFFF again.

Co500

Nostalgia Edition

Male
Far Awayyyyyyy
Seen December 14th, 2021
Posted August 23rd, 2015
563 posts
14.9 Years
there is a new problem, samike made a script to battle TR but when it goes black to the battle screen it stays black

Spoiler:
'---------------
#org 0x8021E4
lockall
checkflag 0x1002
if 0x1 goto 0x8800F5A
applymovement MOVE_PLAYER 0x8802188
waitmovement 0x0
msgbox 0x880212E MSG_NORMAL '"Officer Jenny: It's over.\nI order..."
msgbox 0x8801F8C MSG_NORMAL '"\c\h00[red_fr]Jessie: And I order ..."
trainerbattle 0x1 0x1 0x0 0x8801212 0x88011EE 0x880221C
'---------------
#org 0x800F5A
releaseall
end

'---------------
#org 0x80221C
hidesprite 0x5
hidesprite 0x6
hidesprite 0x7
msgbox 0x88011B0 MSG_NORMAL '"[red_fr]Brock: Come on, [player],\..."
applymovement 0x9 0x8801504
applymovement 0x8 0x880166C
applymovement 0x10 0x8801150
waitmovement 0x0
hidesprite 0x9
hidesprite 0x10
hidesprite 0x8
setflag 0x1002
releaseall
end


'---------
' Strings
'---------
#org 0x80212E
= Officer Jenny: It's over.\nI order you to give up\pTotodile now or face the consequences.

#org 0x801F8C
= \c\h00[red_fr]Jessie: And I order you to prepare\nfor trouble.\p[blue_fr]James: While you're at it make\nit double!\p[red_fr]To protect the world from devastation.\n[blue_fr]To unite all people within our nation.\p[red_fr]To denounce the evils of truth\nand love.\n[blue_fr]To extend our reach to the stars above.\p[red_fr]Jessie.\n[blue_fr]James.\p[red_fr]Team Rocket blasts off at the\nspeed of light!\p[blue_fr]Surrender now or prepare to\nfight, fight, fight!\p[grey_fr]Meowth, that's right!

#org 0x801212
= [red_fr][player], face our wrath!

#org 0x8011EE
= Team Rocket's blasting off again!

#org 0x8011B0
= [red_fr]Brock: Come on, [player],\nwe still have to get you registered!


'-----------
' Movements
'-----------
#org 0x802188
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x801504
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0xFE 'End of Movements

#org 0x80166C
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0xFE 'End of Movements

#org 0x801150
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0xFE 'End of Movements
It can't end now. Not like this.


I hope you’ll remember, there is something good in goodbye.



Xatoku

Game Developer

Male
Canada
Seen April 16th, 2013
Posted February 23rd, 2013
451 posts
14.2 Years
there is a new problem, samike made a script to battle TR but when it goes black to the battle screen it stays black

Spoiler:
'---------------
#org 0x8021E4
lockall
checkflag 0x1002
if 0x1 goto 0x8800F5A
applymovement MOVE_PLAYER 0x8802188
waitmovement 0x0
msgbox 0x880212E MSG_NORMAL '"Officer Jenny: It's over.\nI order..."
msgbox 0x8801F8C MSG_NORMAL '"\c\h00[red_fr]Jessie: And I order ..."
trainerbattle 0x1 0x1 0x0 0x8801212 0x88011EE 0x880221C
call 0x80221C
'---------------
#org 0x800F5A
releaseall
end

'---------------
#org 0x80221C
hidesprite 0x5
hidesprite 0x6
hidesprite 0x7
msgbox 0x88011B0 MSG_NORMAL '"[red_fr]Brock: Come on, [player],\..."
applymovement 0x9 0x8801504
applymovement 0x8 0x880166C
applymovement 0x10 0x8801150
waitmovement 0x0
hidesprite 0x9
hidesprite 0x10
hidesprite 0x8
setflag 0x1002
releaseall
end


'---------
' Strings
'---------
#org 0x80212E
= Officer Jenny: It's over.\nI order you to give up\pTotodile now or face the consequences.

#org 0x801F8C
= \c\h00[red_fr]Jessie: And I order you to prepare\nfor trouble.\p[blue_fr]James: While you're at it make\nit double!\p[red_fr]To protect the world from devastation.\n[blue_fr]To unite all people within our nation.\p[red_fr]To denounce the evils of truth\nand love.\n[blue_fr]To extend our reach to the stars above.\p[red_fr]Jessie.\n[blue_fr]James.\p[red_fr]Team Rocket blasts off at the\nspeed of light!\p[blue_fr]Surrender now or prepare to\nfight, fight, fight!\p[grey_fr]Meowth, that's right!

#org 0x801212
= [red_fr][player], face our wrath!

#org 0x8011EE
= Team Rocket's blasting off again!

#org 0x8011B0
= [red_fr]Brock: Come on, [player],\nwe still have to get you registered!


'-----------
' Movements
'-----------
#org 0x802188
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x801504
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0xFE 'End of Movements

#org 0x80166C
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0xFE 'End of Movements

#org 0x801150
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0xFE 'End of Movements
I think you'll need a call script, i bolded it.
ATL
Seen June 9th, 2015
Posted October 3rd, 2010
397 posts
14.2 Years
I think you'll need a call script, i bolded it.
That is unneccesary, since the trainer battle command calls that part anyway.

The script works fine now, at least it works fine on my computer, I don't see what the problem is.





Please warm my eggs...I'll be sure to return the favor

From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.
Male
Seen July 22nd, 2009
Posted July 22nd, 2009
1 posts
13.8 Years
Hi I had my first try at scripting; a encounter with some spearo. To the best of my knowledge I see no reason that the code should not work...

#org $script
message $talk1
$talk1 1 = A pidgey, Its mine!
boxset 6
applymovement 1 $move1
$move1 1 ; #binary 0x4E 0x4E 0x4F 0x1E 1e 1e 1e 1e 1e 0xFE
pausemove 0x0000
message $talk2
$talk2 1 = NO! It got away come back!
boxset 6
applymovement 0xFF $move2
$move2 1 ; #binary 0x01 0x1E 1e 0x02 0x1F 1f 1f 1f 1f 1f 1f 1f 0xFE
pausemove 0x0000
applymovement 0xFF $move3
$move3 1 ; #binary 0x01 0x1E 1e 1e 1e 1e 1e 1e 1e 1e 1e 0xFE
pausemove 0x0000
message $talk3
$talk3 1 = I will get you this time!
boxset 6
applymovement 2 $move4
$move4 1 ; #binary 0x52 0x52 0x52 0x52 0xFE
pausemove 0x0000
message $talk4
$talk4 1 = Wait no its a spearo!
boxset 6
applymovement 3 $move5
$move5 1 ; #binary 0x03 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0xFE
pausemove 0x0000
applymovement 4 $move6
$move6 1 ; #binary 0x02 0x1F 1f 1f 1f 1f 1f 1f 1f 1f 0xFE
pausemove 0x0000
message $talk5
$talk5 1 = Someone help there are to maney!
boxset 6
message $talk6
$talk6 1 = im... dead.
boxset 6
applymovement 6 $move7
$move7 1 ; #binary 0x04 0x1D 1d 1d 1d 1d 1d 1d 0xFE
pausemove 0x0000
applymovement 6 $move8
$move8 1 ; #binary 0x04 0x1D 1d 1d 1d 1d 1d 1d 0x02 0x1F 1f 0x01 0xFE
pausemove 0x0000
message $talk6
$talk6 Leave them allone you stupid birds! \p Go starmi!
boxset 6
applymovement 2 $move9
$move9 1 ; #binary 0x53 0x53 0x53 0x1E 1e 1e 1e 1e 1e 0xFE
pausemove 0x0000
applymovement 3 $move10
$move10 1 ; #binary 0x53 0x53 0x53 0x1E 1e 1e 1e 1e 1e 0xFE
pausemove 0x0000
applymovement 4 $move11
$move11 1 ; #binary 0x53 0x53 0x53 0x1E 1e 1e 1e 1e 1e 0xFE
pausemove 0x0000
message $talk7
$talk7 Ha Ha I win! \p Oh no... \n are you ok? \p you and your pokemon look hurt... \p quick take my bike to the pokemon center \n I will stop the Spearo chasing you \p GO!
boxset 6
release
end
I made sure that all of the people are labled the right names and the code seems fine but it first of all skips the;
applymovement 3 $move5
$move5 1 ; #binary 0x03 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0xFE
pausemove 0x0000
part. And then it will not run anything after the "Im dead" message.

If anyone has any idea how to help me I have no idea what is wrong...
Age 31
California
Seen September 4th, 2021
Posted July 26th, 2009
149 posts
14.4 Years
Hi I had my first try at scripting; a encounter with some spearo. To the best of my knowledge I see no reason that the code should not work...

#org $script
message $talk1
$talk1 1 = A pidgey, Its mine!
boxset 6
applymovement 1 $move1
$move1 1 ; #binary 0x4E 0x4E 0x4F 0x1E 1e 1e 1e 1e 1e 0xFE
pausemove 0x0000
message $talk2
$talk2 1 = NO! It got away come back!
boxset 6
applymovement 0xFF $move2
$move2 1 ; #binary 0x01 0x1E 1e 0x02 0x1F 1f 1f 1f 1f 1f 1f 1f 0xFE
pausemove 0x0000
applymovement 0xFF $move3
$move3 1 ; #binary 0x01 0x1E 1e 1e 1e 1e 1e 1e 1e 1e 1e 0xFE
pausemove 0x0000
message $talk3
$talk3 1 = I will get you this time!
boxset 6
applymovement 2 $move4
$move4 1 ; #binary 0x52 0x52 0x52 0x52 0xFE
pausemove 0x0000
message $talk4
$talk4 1 = Wait no its a spearo!
boxset 6
applymovement 3 $move5
$move5 1 ; #binary 0x03 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0xFE
pausemove 0x0000
applymovement 4 $move6
$move6 1 ; #binary 0x02 0x1F 1f 1f 1f 1f 1f 1f 1f 1f 0xFE
pausemove 0x0000
message $talk5
$talk5 1 = Someone help there are to maney!
boxset 6
message $talk6
$talk6 1 = im... dead.
boxset 6
applymovement 6 $move7
$move7 1 ; #binary 0x04 0x1D 1d 1d 1d 1d 1d 1d 0xFE
pausemove 0x0000
applymovement 6 $move8
$move8 1 ; #binary 0x04 0x1D 1d 1d 1d 1d 1d 1d 0x02 0x1F 1f 0x01 0xFE
pausemove 0x0000
message $talk6
$talk6 Leave them allone you stupid birds! \p Go starmi!
boxset 6
applymovement 2 $move9
$move9 1 ; #binary 0x53 0x53 0x53 0x1E 1e 1e 1e 1e 1e 0xFE
pausemove 0x0000
applymovement 3 $move10
$move10 1 ; #binary 0x53 0x53 0x53 0x1E 1e 1e 1e 1e 1e 0xFE
pausemove 0x0000
applymovement 4 $move11
$move11 1 ; #binary 0x53 0x53 0x53 0x1E 1e 1e 1e 1e 1e 0xFE
pausemove 0x0000
message $talk7
$talk7 Ha Ha I win! \p Oh no... \n are you ok? \p you and your pokemon look hurt... \p quick take my bike to the pokemon center \n I will stop the Spearo chasing you \p GO!
boxset 6
release
end
I made sure that all of the people are labled the right names and the code seems fine but it first of all skips the;
applymovement 3 $move5
$move5 1 ; #binary 0x03 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0xFE
pausemove 0x0000
part. And then it will not run anything after the "Im dead" message.

If anyone has any idea how to help me I have no idea what is wrong...
thats written in pokescript, and if you are using XSE you shouldnt be scripting like that.

and its spelled spearow
This signature has been disabled.
Images in the spoiler tags still count; remove the images in the spoiler tags -- too tall.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.

NarutoActor

The rocks cry out to me

Age 29
Female
Brooklyn/Marlboro
Seen April 2nd, 2016
Posted March 22nd, 2016
1,974 posts
14.4 Years
I read a lot of tutorials and thought I had it I dont see anything wrong in the script
Spoiler:
#org 0x8167F6E
'-----------------------------------
lock
msgbox 0x8183482 ' Help help a theif from team rocket[.]\nStole a pokedex from the shop.
callstd MSG_NORMAL
applymovement 0x3 0x816F727
applymovement 0x1 0x819D8D0
pauseevent 0x0

message 0x819D81E '
callstd MSG_NORMAL
applymovement 0x1 0x816F714
pauseevent 0x0

message 0x819D52C '
callstd MSG_NORMAL
release
end


#org 0x8183482
= Help help a theif from team rocket[.]\nStole a pokedex from the shop.

#org 0x816F727
m walk_down walk_down walk_right walk_down walk_right walk_down walk_right walk_right walk_right walk_right walk_right walk_right walk_up walk_right walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_left walk_left walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up end

#org 0x819D8D0
m walk_down walk_down walk_right walk_down walk_right walk_down walk_right walk_right walk_right say_! end

#org 0x819D81E
= huf huf

#org 0x816F714
m walk_down walk_down say_! end

#org 0x819D52C
= can you please catch that theif\and retrieve the pokedex before he gets away.

can some one please help PM me or just replie
~There are those people who understand hex, F the rest
ATL
Seen June 9th, 2015
Posted October 3rd, 2010
397 posts
14.2 Years
I read a lot of tutorials and thought I had it I dont see anything wrong in the script
Spoiler:
#org 0x8167F6E
'-----------------------------------
lock
msgbox 0x8183482 ' Help help a theif from team rocket[.]\nStole a pokedex from the shop.
callstd MSG_NORMAL
applymovement 0x3 0x816F727
applymovement 0x1 0x819D8D0
pauseevent 0x0

message 0x819D81E '
callstd MSG_NORMAL
applymovement 0x1 0x816F714
pauseevent 0x0

message 0x819D52C '
callstd MSG_NORMAL
release
end


#org 0x8183482
= Help help a theif from team rocket[.]\nStole a pokedex from the shop.

#org 0x816F727
m walk_down walk_down walk_right walk_down walk_right walk_down walk_right walk_right walk_right walk_right walk_right walk_right walk_up walk_right walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_left walk_left walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up walk_up end

#org 0x819D8D0
m walk_down walk_down walk_right walk_down walk_right walk_down walk_right walk_right walk_right say_! end

#org 0x819D81E
= huf huf

#org 0x816F714
m walk_down walk_down say_! end

#org 0x819D52C
= can you please catch that theif\and retrieve the pokedex before he gets away.

can some one please help PM me or just replie
Use Xse. Pksv is very buggy and XSE is much better, ask anyone on this forum and they will tell you the same.





Please warm my eggs...I'll be sure to return the favor

From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.
Male
Seen August 21st, 2010
Posted October 2nd, 2009
34 posts
13.9 Years
Hey, umm... I need help with a script to enable the national dex in Fire red. This is what I got

Spoiler:
#dynamic 0x71A280

#org @nacional
lock
faceplayer
msgbox @aver 0x6
fanfare 0x13E
special 0x16F
waitfanfare
msgbox @cheka 0x6
release
end

#org @aver
= Wanna see something cool?

#org @cheka
= This will prove useful!


For some reason it doesn't work. I put it on one of the aides so he could give it to me at the begining, but I can't. Please, any help would be cool
ATL
Seen June 9th, 2015
Posted October 3rd, 2010
397 posts
14.2 Years
Hey, umm... I need help with a script to enable the national dex in Fire red. This is what I got

Spoiler:
#dynamic 0x71A280

#org @nacional
lock
faceplayer
msgbox @aver 0x6
fanfare 0x13E
special 0x16F
waitfanfare
msgbox @cheka 0x6
release
end

#org @aver
= Wanna see something cool?

#org @cheka
= This will prove useful!


For some reason it doesn't work. I put it on one of the aides so he could give it to me at the begining, but I can't. Please, any help would be cool
Use the magnifying glass in A-map and find an offset above 800000. Then, put that offset instead of @nacional and switch #dynamic to #dynamic 0x800000.





Please warm my eggs...I'll be sure to return the favor

From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.