Script Help Thread (DO NOT REQUEST SCRIPTS) Page 67

Started by HackMew December 20th, 2008 5:10 AM
  • 625740 views
  • 9682 replies
Age 31
Seen September 22nd, 2016
Posted August 27th, 2016
79 posts
15.8 Years
How do you customize the Pokedex? The order, the Pokemon's info (What type of Pokemon [ex. the Bulb Pokemon or the Iron Armor Pokemon] and their description) ect.
That's not a script question, but look up YAPE for that kind of stuff.


Now can somebody help me with my script?

Hey I'm working on a hack for Pokemon Sapphire and I'm having some problems. The script works fine except when he's supposed to move toward you and sends you back. Here is my script:
Spoiler:
#dynamic 0x800089

#org @start
checkflag 1500
if b_true goto @nevermind
msgbox @begin 0x6
msgbox @bulbasaur 0x5
compare LASTRESULT 0x1
if b_true goto @getbulb
msgbox @charmander 0x5
compare LASTRESULT 0x1
if b_true goto @getchar
msgbox @squirtle 0x5
compare LASTRESULT 0x1
if b_true goto @getsquirt
msgbox @cant 0x6
applymovement 0x2 @moveman
applymovement 0xFF @sendback
release
end

#org @nevermind
release
end

#org @begin
= Hello there, young traveler!\nI see that you're new here, aren't you?\pThat's quite alright.\nEverybody was a newbie at some point.\lEven me!\pBut enough with this idle chatter.\nToday, you will recieve your first\lPOKéMON!\pIt's exciting, I know\pFor I was once in your shoes...\nAhh.....\lThe glory days...\p... ... ... ... ... ... ... ...\pOh!\pI've been daydreaming a lot lately...\nBut anywho... on to business!

#org @bulbasaur
= Will you take BULBASAUR, the leaf\nPOKéMON?

#org @getbulb
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotbulb 0x6
msgbox @meetagain 0x6
fadescreen 0x0
setflag 1000
release
end

#org @charmander
= Will you take CHARMANDER, the fire\nPOKéMON?

#org @getchar
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotchar 0x6
msgbox @meetagain 0x6
fadescreen 0x0
setflag 1000
release
end

#org @squirtle
= Will you take SQUIRTLE, the water\nPOKéMON?

#org @getsquirt
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotsquirt 0x6
msgbox @meetagain 0x6
fadescreen 0x0
hidesprite 0x2
setflag 1500
release
end

#org @gotbulb
= [red_rs]You recieved a BULBASAUR!

#org @gotchar
= [red_rs]You recieved a CHARMANDER!

#org @gotsquirt
= [red_rs]You recieved a SQUIRTLE!

#org @meetagain
= Now go, young adventurer!\nGo into the world and show them\lhow great you are!!

#org @cant
= As long as I am here, you may not pass\nwithout a POKéMON.

#org @moveman
#raw 0x07 0x06 0x03 0xFE

#org @sendback
#raw 0x04 0xFE


The script's var number is already 5240 so that isn't it.

+====================Supports====================+


+====================Supports====================+

0m3GA ARS3NAL

Im comin' home...

Age 30
Male
Superjail Penitentiary
Seen February 25th, 2023
Posted September 12th, 2013
1,816 posts
15.3 Years
That's not a script question, but look up YAPE for that kind of stuff.


Now can somebody help me with my script?
You forgot 0x in front of every flag command.
Changes in BOLD RED!

Spoiler:
#dynamic 0x800089

#org @start
checkflag 0x1500
if b_true goto @nevermind
msgbox @begin 0x6
msgbox @bulbasaur 0x5
compare LASTRESULT 0x1
if b_true goto @getbulb
msgbox @charmander 0x5
compare LASTRESULT 0x1
if b_true goto @getchar
msgbox @squirtle 0x5
compare LASTRESULT 0x1
if b_true goto @getsquirt
msgbox @cant 0x6
applymovement 0x2 @moveman
applymovement 0xFF @sendback
release
end

#org @nevermind
release
end

#org @begin
= Hello there, young traveler!\nI see that you're new here, aren't you?\pThat's quite alright.\nEverybody was a newbie at some point.\lEven me!\pBut enough with this idle chatter.\nToday, you will recieve your first\lPOKéMON!\pIt's exciting, I know\pFor I was once in your shoes...\nAhh.....\lThe glory days...\p... ... ... ... ... ... ... ...\pOh!\pI've been daydreaming a lot lately...\nBut anywho... on to business!

#org @bulbasaur
= Will you take BULBASAUR, the leaf\nPOKéMON?

#org @getbulb
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotbulb 0x6
msgbox @meetagain 0x6
fadescreen 0x0
setflag 0x1000
release
end

#org @charmander
= Will you take CHARMANDER, the fire\nPOKéMON?

#org @getchar
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotchar 0x6
msgbox @meetagain 0x6
fadescreen 0x0
setflag 0x1000
release
end

#org @squirtle
= Will you take SQUIRTLE, the water\nPOKéMON?

#org @getsquirt
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotsquirt 0x6
msgbox @meetagain 0x6
fadescreen 0x0
hidesprite 0x2
setflag 0x1500
release
end

#org @gotbulb
= [red_rs]You recieved a BULBASAUR!

#org @gotchar
= [red_rs]You recieved a CHARMANDER!

#org @gotsquirt
= [red_rs]You recieved a SQUIRTLE!

#org @meetagain
= Now go, young adventurer!\nGo into the world and show them\lhow great you are!!

#org @cant
= As long as I am here, you may not pass\nwithout a POKéMON.

#org @moveman
#raw 0x07 0x06 0x03 0xFE

#org @sendback
#raw 0x04 0xFE
>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...

>
Male
Seen 2 Weeks Ago
Posted August 29th, 2021
123 posts
14.8 Years
The problem is not making NEW pokemon, the problem is having the pokedex read all of these new pokemon.
As of yet, only 24 new pokemon can be added to any pokemon game, without replacing old ones, and even still, the pokedex data for them is unreadable...
Ok, fair enough, I can't add many Pokemon. But can anyone still tell me what the script offsets that define stuff like items and Pokemon are?

HackMew

Mewtwo Strikes Back

Seen October 26th, 2011
Posted October 15th, 2010
1,314 posts
16.9 Years
Ok, fair enough, I can't add many Pokemon. But can anyone still tell me what the script offsets that define stuff like items and Pokemon are?
This is a Script Help thread. Please ask in the proper thread, aka Simple Questions.

Powerflare

Age 26
Male
Seen 2 Weeks Ago
Posted May 9th, 2022
115 posts
15 Years
That's not a script question, but look up YAPE for that kind of stuff.
I just thought it would have something to do with scripts (like changing the description) or something.

Oh yeah, and a heads up: I'm gonna need help with a script soon. I will post it in a bit. (Or if "a bit" isn't possible a day, and if I don't have internet connection where I'm going---a week.)
Male
Orange Islands (=
Seen January 4th, 2014
Posted May 2nd, 2013
488 posts
14.3 Years
how do you change the text in the beginning when prof. oak/birch talks to you?
is there a specific way, if so plz tell me.
i dont mean to break any rules or anything
use a-text it's easy,also you can cange most of the game text with this tool

PlatniumPiano

You are now breathing manually

Male
Yesterday
Seen December 27th, 2010
Posted December 27th, 2010
479 posts
14.4 Years
I click "Compile" and then I click "Save" in the text window, but it doesn't go into my hack. I also needed to klnow if it was right.
You don't need to save the script. When you click compile, there should be a little box that pops up with a bunch of offsets. Copy the first one and paste it into the script offset box in A-map. Should work.

If you choose not to decide, you still have made a choice.

BlitŻ

guahh my dog is so cute

Age 28
Male
Bay Area, Califronia.
Seen October 1st, 2015
Posted January 22nd, 2013
472 posts
14.2 Years
You don't need to save the script. When you click compile, there should be a little box that pops up with a bunch of offsets. Copy the first one and paste it into the script offset box in A-map. Should work.

actually the one you should copy is the offset under newoffset, including the 0x, btw its in the scroll window
Age 31
Seen September 22nd, 2016
Posted August 27th, 2016
79 posts
15.8 Years
You forgot 0x in front of every flag command.
Changes in BOLD RED!

Spoiler:
#dynamic 0x800089

#org @start
checkflag 0x1500
if b_true goto @nevermind
msgbox @begin 0x6
msgbox @bulbasaur 0x5
compare LASTRESULT 0x1
if b_true goto @getbulb
msgbox @charmander 0x5
compare LASTRESULT 0x1
if b_true goto @getchar
msgbox @squirtle 0x5
compare LASTRESULT 0x1
if b_true goto @getsquirt
msgbox @cant 0x6
applymovement 0x2 @moveman
applymovement 0xFF @sendback
release
end

#org @nevermind
release
end

#org @begin
= Hello there, young traveler!\nI see that you're new here, aren't you?\pThat's quite alright.\nEverybody was a newbie at some point.\lEven me!\pBut enough with this idle chatter.\nToday, you will recieve your first\lPOKéMON!\pIt's exciting, I know\pFor I was once in your shoes...\nAhh.....\lThe glory days...\p... ... ... ... ... ... ... ...\pOh!\pI've been daydreaming a lot lately...\nBut anywho... on to business!

#org @bulbasaur
= Will you take BULBASAUR, the leaf\nPOKéMON?

#org @getbulb
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotbulb 0x6
msgbox @meetagain 0x6
fadescreen 0x0
setflag 0x1000
release
end

#org @charmander
= Will you take CHARMANDER, the fire\nPOKéMON?

#org @getchar
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotchar 0x6
msgbox @meetagain 0x6
fadescreen 0x0
setflag 0x1000
release
end

#org @squirtle
= Will you take SQUIRTLE, the water\nPOKéMON?

#org @getsquirt
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotsquirt 0x6
msgbox @meetagain 0x6
fadescreen 0x0
hidesprite 0x2
setflag 0x1500
release
end

#org @gotbulb
= [red_rs]You recieved a BULBASAUR!

#org @gotchar
= [red_rs]You recieved a CHARMANDER!

#org @gotsquirt
= [red_rs]You recieved a SQUIRTLE!

#org @meetagain
= Now go, young adventurer!\nGo into the world and show them\lhow great you are!!

#org @cant
= As long as I am here, you may not pass\nwithout a POKéMON.

#org @moveman
#raw 0x07 0x06 0x03 0xFE

#org @sendback
#raw 0x04 0xFE
Well even so, shouldn't the movement work anyways? Meh... I'm gonna try it and see if it works out.


EDIT: It didn't work. The guy still doesn't send you back a space =[ Any help?

+====================Supports====================+


+====================Supports====================+
Male
Seen April 4th, 2016
Posted April 3rd, 2016
351 posts
15.6 Years
Well even so, shouldn't the movement work anyways? Meh... I'm gonna try it and see if it works out.


EDIT: It didn't work. The guy still doesn't send you back a space =[ Any help?
Maybe you should add a waitmovement 0x0 after your movements.That might fix it,but Im not sure.
I laugh looking at this.

But sometimes I want to come back to it...

Seen May 16th, 2010
Posted July 12th, 2009
11 posts
13.9 Years
I have this code for a person event:
Spoiler:

'---------------
#org 0x6FFD48
lock
faceplayer
msgbox 0x871A31D MSG_NORMAL '"Hi again/pI found something that/n..."
msgbox 0x871A3F3 MSG_KEEPOPEN '"[player] received the running shoe..."
fanfare 0x13E
waitfanfare
msgbox 0x871A4B3 MSG_NORMAL '"I've got some other/nthings to att..."
hidesprite 0x9
special 0x174
fadescreen 0x0
release
end


'---------
' Strings
'---------
#org 0x71A31D
= Hi again/pI found something that/nmight help you out.

#org 0x71A3F3
= [player] received the running shoes!

#org 0x71A4B3
= I've got some other/nthings to attend to/pI'll be waiting for /nyou in Cerulean city.


But when I test the game and talk to this person, It just says I got a rare candy and then the person disappears, but then reappears if I take a step.
Age 31
California
Seen September 4th, 2021
Posted July 26th, 2009
149 posts
14.4 Years
a-text doesnt work cuz everytime i download it, it says i need some kind of file called COMDLG32.OCX
and i cant seem to find it
just google it.

its relatively easy to find.
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.

PlatniumPiano

You are now breathing manually

Male
Yesterday
Seen December 27th, 2010
Posted December 27th, 2010
479 posts
14.4 Years
I have this code for a person event:
Spoiler:

'---------------
#org 0x6FFD48
lock
faceplayer
msgbox 0x871A31D MSG_NORMAL '"Hi again/pI found something that/n..."
msgbox 0x871A3F3 MSG_KEEPOPEN '"[player] received the running shoe..."
fanfare 0x13E
waitfanfare
msgbox 0x871A4B3 MSG_NORMAL '"I've got some other/nthings to att..."
hidesprite 0x9
special 0x174
fadescreen 0x0
release
end


'---------
' Strings
'---------
#org 0x71A31D
= Hi again/pI found something that/nmight help you out.

#org 0x71A3F3
= [player] received the running shoes!

#org 0x71A4B3
= I've got some other/nthings to attend to/pI'll be waiting for /nyou in Cerulean city.


But when I test the game and talk to this person, It just says I got a rare candy and then the person disappears, but then reappears if I take a step.
you need to set a flag to make them actually dissapear.

If you choose not to decide, you still have made a choice.
Age 31
California
Seen September 4th, 2021
Posted July 26th, 2009
149 posts
14.4 Years
yeah i did that, still doesnt work
did you register it?

go to command promt, go to the directory where you put the ocx, then type in regsvr32 [insert filename here]

where [insert filename here] is the name of the ocx, plus the extension.

for example: regsvr32 blah.ocx
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.

PlatniumPiano

You are now breathing manually

Male
Yesterday
Seen December 27th, 2010
Posted December 27th, 2010
479 posts
14.4 Years
I realize that now, but the problem was that the script is not working at all. The person is not doing any of the things in the code for their person event, they are just acting like an item.
You forgot to use a fadescreen 0x1 command to bring the screen back. Try that first.

If you choose not to decide, you still have made a choice.
Male
The California Region, filled with 5th Gen pokemon
Seen July 15th, 2009
Posted July 13th, 2009
9 posts
13.9 Years
did you register it?

go to command promt, go to the directory where you put the ocx, then type in regsvr32 [insert filename here]

where [insert filename here] is the name of the ocx, plus the extension.

for example: regsvr32 blah.ocx
k thanks i got it, now i just need to know how to use it :D

0m3GA ARS3NAL

Im comin' home...

Age 30
Male
Superjail Penitentiary
Seen February 25th, 2023
Posted September 12th, 2013
1,816 posts
15.3 Years
Well even so, shouldn't the movement work anyways? Meh... I'm gonna try it and see if it works out.


EDIT: It didn't work. The guy still doesn't send you back a space =[ Any help?
lol, oops, Quickster totally reminded me of that.
I didn't look for waitmovements.

changes in spoiler, BOLD RED

Spoiler:
#dynamic 0x800089

#org @start
checkflag 0x1500
if b_true goto @nevermind
msgbox @begin 0x6
msgbox @bulbasaur 0x5
compare LASTRESULT 0x1
if b_true goto @getbulb
msgbox @charmander 0x5
compare LASTRESULT 0x1
if b_true goto @getchar
msgbox @squirtle 0x5
compare LASTRESULT 0x1
if b_true goto @getsquirt
msgbox @cant 0x6
applymovement 0x2 @moveman
applymovement 0xFF @sendback
waitmovement 0x0
release
end

#org @nevermind
release
end

#org @begin
= Hello there, young traveler!\nI see that you're new here, aren't you?\pThat's quite alright.\nEverybody was a newbie at some point.\lEven me!\pBut enough with this idle chatter.\nToday, you will recieve your first\lPOKéMON!\pIt's exciting, I know\pFor I was once in your shoes...\nAhh.....\lThe glory days...\p... ... ... ... ... ... ... ...\pOh!\pI've been daydreaming a lot lately...\nBut anywho... on to business!

#org @bulbasaur
= Will you take BULBASAUR, the leaf\nPOKéMON?

#org @getbulb
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotbulb 0x6
msgbox @meetagain 0x6
fadescreen 0x0
setflag 0x1000
release
end

#org @charmander
= Will you take CHARMANDER, the fire\nPOKéMON?

#org @getchar
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotchar 0x6
msgbox @meetagain 0x6
fadescreen 0x0
setflag 0x1000
release
end

#org @squirtle
= Will you take SQUIRTLE, the water\nPOKéMON?

#org @getsquirt
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotsquirt 0x6
msgbox @meetagain 0x6
fadescreen 0x0
hidesprite 0x2
setflag 0x1500
release
end

#org @gotbulb
= [red_rs]You recieved a BULBASAUR!

#org @gotchar
= [red_rs]You recieved a CHARMANDER!

#org @gotsquirt
= [red_rs]You recieved a SQUIRTLE!

#org @meetagain
= Now go, young adventurer!\nGo into the world and show them\lhow great you are!!

#org @cant
= As long as I am here, you may not pass\nwithout a POKéMON.

#org @moveman
#raw 0x07 0x06 0x03 0xFE

#org @sendback
#raw 0x04 0xFE


Thanks to Quickster for pointing that out.
>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...

>

PlatniumPiano

You are now breathing manually

Male
Yesterday
Seen December 27th, 2010
Posted December 27th, 2010
479 posts
14.4 Years
lol, oops, Quickster totally reminded me of that.
I didn't look for waitmovements.

changes in spoiler, BOLD RED

Spoiler:
#dynamic 0x800089

#org @start
checkflag 0x1500
if b_true goto @nevermind
msgbox @begin 0x6
msgbox @bulbasaur 0x5
compare LASTRESULT 0x1
if b_true goto @getbulb
msgbox @charmander 0x5
compare LASTRESULT 0x1
if b_true goto @getchar
msgbox @squirtle 0x5
compare LASTRESULT 0x1
if b_true goto @getsquirt
msgbox @cant 0x6
applymovement 0x2 @moveman
applymovement 0xFF @sendback
waitmovement 0x0
release
end

#org @nevermind
release
end

#org @begin
= Hello there, young traveler!\nI see that you're new here, aren't you?\pThat's quite alright.\nEverybody was a newbie at some point.\lEven me!\pBut enough with this idle chatter.\nToday, you will recieve your first\lPOKéMON!\pIt's exciting, I know\pFor I was once in your shoes...\nAhh.....\lThe glory days...\p... ... ... ... ... ... ... ...\pOh!\pI've been daydreaming a lot lately...\nBut anywho... on to business!

#org @bulbasaur
= Will you take BULBASAUR, the leaf\nPOKéMON?

#org @getbulb
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotbulb 0x6
msgbox @meetagain 0x6
fadescreen 0x0
setflag 0x1000
release
end

#org @charmander
= Will you take CHARMANDER, the fire\nPOKéMON?

#org @getchar
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotchar 0x6
msgbox @meetagain 0x6
fadescreen 0x0
setflag 0x1000
release
end

#org @squirtle
= Will you take SQUIRTLE, the water\nPOKéMON?

#org @getsquirt
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotsquirt 0x6
msgbox @meetagain 0x6
fadescreen 0x0
hidesprite 0x2
setflag 0x1500
release
end

#org @gotbulb
= [red_rs]You recieved a BULBASAUR!

#org @gotchar
= [red_rs]You recieved a CHARMANDER!

#org @gotsquirt
= [red_rs]You recieved a SQUIRTLE!

#org @meetagain
= Now go, young adventurer!\nGo into the world and show them\lhow great you are!!

#org @cant
= As long as I am here, you may not pass\nwithout a POKéMON.

#org @moveman
#raw 0x07 0x06 0x03 0xFE

#org @sendback
#raw 0x04 0xFE


Thanks to Quickster for pointing that out.
Actually... Shouldn't you have another waitmovement? I presume he doesn't want to have them both occur at the same time. If not just take out the first waitmovement. And it would be best to combine the two msgboxes at the beginning into one 0x5 box. Changes to Changes in spoiler lol
Spoiler:
#dynamic 0x800089

#org @start
checkflag 0x1500
if 0x1 goto @nevermind
msgbox @bulbasaur 0x5
compare LASTRESULT 0x1
if b_true goto @getbulb
msgbox @charmander 0x5
compare LASTRESULT 0x1
if b_true goto @getchar
msgbox @squirtle 0x5
compare LASTRESULT 0x1
if b_true goto @getsquirt
msgbox @cant 0x6
applymovement 0x2 @moveman
waitmovement 0x0
applymovement 0xFF @sendback
waitmovement 0x0
release
end

#org @nevermind
release
end

#org @bulbasaur
= Hello there, young traveler!\nI see that you're new here, aren't you?\pThat's quite alright.\nEverybody was a newbie at some point.\lEven me!\pBut enough with this idle chatter.\nToday, you will recieve your first\lPOKéMON!\pIt's exciting, I know\pFor I was once in your shoes...\nAhh.....\lThe glory days...\p... ... ... ... ... ... ... ...\pOh!\pI've been daydreaming a lot lately...\nBut anywho... on to business!\pWill you take BULBASAUR, the leaf\nPOKéMON?

#org @getbulb
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotbulb 0x6
msgbox @meetagain 0x6
fadescreen 0x0
setflag 0x1000
release
end

#org @charmander
= Will you take CHARMANDER, the fire\nPOKéMON?

#org @getchar
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotchar 0x6
msgbox @meetagain 0x6
fadescreen 0x0
setflag 0x1000
release
end

#org @squirtle
= Will you take SQUIRTLE, the water\nPOKéMON?

#org @getsquirt
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotsquirt 0x6
msgbox @meetagain 0x6
fadescreen 0x0
hidesprite 0x2
setflag 0x1500
release
end

#org @gotbulb
= [red_rs]You recieved a BULBASAUR!

#org @gotchar
= [red_rs]You recieved a CHARMANDER!

#org @gotsquirt
= [red_rs]You recieved a SQUIRTLE!

#org @meetagain
= Now go, young adventurer!\nGo into the world and show them\lhow great you are!!

#org @cant
= As long as I am here, you may not pass\nwithout a POKéMON.

#org @moveman
#raw 0x07 0x06 0x03 0xFE

#org @sendback
#raw 0x04 0xFE

If you choose not to decide, you still have made a choice.
Age 31
Seen September 22nd, 2016
Posted August 27th, 2016
79 posts
15.8 Years
Actually... Shouldn't you have another waitmovement? I presume he doesn't want to have them both occur at the same time. If not just take out the first waitmovement. And it would be best to combine the two msgboxes at the beginning into one 0x5 box. Changes to Changes in spoiler lol
Spoiler:
#dynamic 0x800089

#org @start
checkflag 0x1500
if 0x1 goto @nevermind
msgbox @bulbasaur 0x5
compare LASTRESULT 0x1
if b_true goto @getbulb
msgbox @charmander 0x5
compare LASTRESULT 0x1
if b_true goto @getchar
msgbox @squirtle 0x5
compare LASTRESULT 0x1
if b_true goto @getsquirt
msgbox @cant 0x6
applymovement 0x2 @moveman
waitmovement 0x0
applymovement 0xFF @sendback
waitmovement 0x0
release
end

#org @nevermind
release
end

#org @bulbasaur
= Hello there, young traveler!\nI see that you're new here, aren't you?\pThat's quite alright.\nEverybody was a newbie at some point.\lEven me!\pBut enough with this idle chatter.\nToday, you will recieve your first\lPOKéMON!\pIt's exciting, I know\pFor I was once in your shoes...\nAhh.....\lThe glory days...\p... ... ... ... ... ... ... ...\pOh!\pI've been daydreaming a lot lately...\nBut anywho... on to business!\pWill you take BULBASAUR, the leaf\nPOKéMON?

#org @getbulb
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotbulb 0x6
msgbox @meetagain 0x6
fadescreen 0x0
setflag 0x1000
release
end

#org @charmander
= Will you take CHARMANDER, the fire\nPOKéMON?

#org @getchar
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotchar 0x6
msgbox @meetagain 0x6
fadescreen 0x0
setflag 0x1000
release
end

#org @squirtle
= Will you take SQUIRTLE, the water\nPOKéMON?

#org @getsquirt
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
msgbox @gotsquirt 0x6
msgbox @meetagain 0x6
fadescreen 0x0
hidesprite 0x2
setflag 0x1500
release
end

#org @gotbulb
= [red_rs]You recieved a BULBASAUR!

#org @gotchar
= [red_rs]You recieved a CHARMANDER!

#org @gotsquirt
= [red_rs]You recieved a SQUIRTLE!

#org @meetagain
= Now go, young adventurer!\nGo into the world and show them\lhow great you are!!

#org @cant
= As long as I am here, you may not pass\nwithout a POKéMON.

#org @moveman
#raw 0x07 0x06 0x03 0xFE

#org @sendback
#raw 0x04 0xFE
Yeah I had already fixed this once I saw what I was wrong. Thanks for the help though. And there should be only 1 waitmovement because the player is going to step back when the old man steps forward. But the only thing that is wrong now is that when he pushes you back, he doesn't face the way he was facing before (right). Instead, after he pushes you back, he's left facing the tree... And as you can see, there is a face right in the movement.

+====================Supports====================+


+====================Supports====================+
Age 29
Male
Italy
Seen June 2nd, 2022
Posted August 24th, 2009
2 posts
15.7 Years
Hello to everyone. I'm new to this forum.:)

I'm Hacking Pokémon Ruby, but i need help with a scipt!

Spoiler:
'---------------
#org 0x1B2CCB
lockall
msgbox 0x81B37BB MSG_KEEPOPEN '"The power contained in the METEORI..."
applymovement 0x2 0x81A0839
waitmovement 0x0
sound 0x15
applymovement 0x2 0x81A0833
waitmovement 0x0
applymovement 0x2 0x81A0835
waitmovement 0x0
msgbox 0x81B38B3 MSG_KEEPOPEN '"MAXIE: You again...\pNow listen.\n..."
trainerbattle 0x3 0x25A 0x0 0x81B3A68
msgbox 0x81B3A90 MSG_KEEPOPEN '"MAXIE: Ah, whatever.\nI will give ..."
closeonkeypress
pause 0x1E
fadescreen 0x1
hidesprite 0x2
hidesprite 0x3
hidesprite 0x16
setflag 0x39E
fadescreen 0x0
movesprite2 0x1 0xA 0xC
showsprite 0x1
compare PLAYERFACING 0x4
if 0x1 call 0x81B2D7D
compare PLAYERFACING 0x2
if 0x1 call 0x81B2D88
applymovement MOVE_PLAYER 0x81A083F
waitmovement 0x0
msgbox 0x81B3FFE MSG_KEEPOPEN '"ARCHIE: [player]\v\h05! Thank you!..."
closeonkeypress
compare PLAYERFACING 0x4
if 0x1 call 0x81B2D93
compare PLAYERFACING 0x2
if 0x1 call 0x81B2D9E
hidesprite 0x1
setflag 0x39F
setflag 0x8B
clearflag 0x3A0
setflag 0x3AE
releaseall
end

'---------------
#org 0x1B2D7D
applymovement 0x1 0x815D025
waitmovement 0x0
return

'---------------
#org 0x1B2D88
applymovement 0x1 0x815D036
waitmovement 0x0
return

'---------------
#org 0x1B2D93
applymovement 0x1 0x815D02D
waitmovement 0x0
return

'---------------
#org 0x1B2D9E
applymovement 0x1 0x815D03E
waitmovement 0x0
return


'---------
' Strings
'---------
#org 0x1B37BB
= The power contained in the METEORITE...\pBy amplifying its power with this\nmachine, MT. CHIMNEY's volcanic activity\lwill instantly intensify...\pFufufu... The volcano will erupt, spewing\nlava that will cool and harden.\lIt will expand the landmass...

#org 0x1B38B3
= MAXIE: You again...\pNow listen.\nWe humans have grown on dry land.\pThe land is everything!\nIts importance is paramount!\pThat is why we of TEAM MAGMA are\ncommitted to expanding the landmass.\pIt will create space for new species\nof POKéMON to evolve.\pIt will give us humans more space to\nadvance.\pThat is TEAM MAGMA's vision!\pI can't allow an ignorant child like\nyou to get in our way.\pI, MAXIE, will show you the\nconsequences of meddling!

#org 0x1B3A68
= What?!\pI, MAXIE, was caught off guard?!

#org 0x1B3A90
= MAXIE: Ah, whatever.\nI will give up our plans for MT. CHIMNEY\lfor the time being...\pBut no one can ever stop us!\nTEAM MAGMA will prevail!\pDon't you ever forget that!

#org 0x1B3FFE
= ARCHIE: [player]\v\h05! Thank you!\pWith your help, we thwarted TEAM\nMAGMA's destructive plan!\pBut... This victory doesn't mean the\nend of their evil plans.\pWe will remain vigilant and keep up\nour pursuit of TEAM MAGMA.\p[player]\v\h05, we shall meet again!


'-----------
' Movements
'-----------
#org 0x1A0839
#raw 0x3E 'Face Player
#raw 0xFE 'End of Movements

#org 0x1A0833
#raw 0x56 'Exclamation Mark (!)
#raw 0xFE 'End of Movements

#org 0x1A0835
#raw 0x14 'Delay5
#raw 0x14 'Delay5
#raw 0x14 'Delay5
#raw 0xFE 'End of Movements

#org 0x1A083F
#raw 0x27 'Step on the Spot Left (Fastest)
#raw 0xFE 'End of Movements

#org 0x15D025
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xFE 'End of Movements

#org 0x15D036
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xFE 'End of Movements

#org 0x15D02D
#raw 0xA 'Step Left (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0xFE 'End of Movements

#org 0x15D03E
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0x8 'Step Down (Normal)
#raw 0xFE 'End of Movements


This is Maxie(The Team Magma leader)'s script on Mt. Chimney.
I don't want Archie(The Team Idro leader) to show up and say anything at all, so after the battle with Maxie, he says something to you then he and the Magma grunts disappear.
Can anyone help me?:\

Note: Sorry if my English is bad sometimes, I'm Italian :embarrass
Age 31
Seen September 22nd, 2016
Posted August 27th, 2016
79 posts
15.8 Years
Ugh... Here we go again... I'm having troubles with a moving/battling script... again... This is what it's supposed to do:

Exclamation mark above your head followed by turning right.
Person walks 7 spaces left from out of screen to in front of you.
Wait for movement to complete.
Talks
Battles
Talks
Leaves
Wait for movement to complete
Done

This is what it does:
Exclamation mark above your head followed by turning right.
Wait for movement to complete (but doesn't move)
Talks
Battles
Talks
Wait for movement to complete (but doesn't move)
Done

The guy's Person ID is 1001 so you can't see him until the script kicks in. Which works. The only thing that doesn't is that he doesn't move (to my understanding). You can't see him because he is out of screen but that's what I think happens. The scripts var number is set to 5240 and this is a hack for Pokemon Sapphire.

Here is my script:

Spoiler:
#dynamic 0x8034F4

#org @start
checkflag 0x1002
if b_true goto @nevermind
clearflag 0x1001
release
playsong 0x1BF 0x1
applymovement 0xFF @1move
applymovement 9 @2move
waitmovement 0x0
msgbox @1msg 0x6
trainerbattle 0x1 0x89 0x0 @before @after @whatever
waitstate
end

#org @nevermind
release
end

#org @1msg
= Are you the one everbody knows as\n[player]?\p... ... ... ... ... ... ... ... ... ...\n... ... ... ... ... ... ... ... ... ...\pGood.\nI was hoping I could find you.\pMy name is NEIL. I've been researching\nthe skills of some of the trainers\laround here.\pNot many of them have what it takes\nto become the greatest.\pBut that is enough of my calling.\nIt's time to see just how good you\lare.\pUnfair?\nExcellent.

#org @before
= I'm not here to make friends.

#org @after
= Most superb!\nYou fared very well against me!\pBut don't think this is over.\nI've got special plans for you.

#org @whatever
lock
msgbox @2msg 0x6
applymovement 9 @3move
waitmovement 0x0
setflag 0x1001
setflag 0x1002
release
end

#org @2msg
= You, [player], are not the average\ntrainer.\pYou possess something these rookies\ndo not.\pWe'll certainly meet again.

#org @1move
#raw 0x03 0x56 0xFE

#org @2move
#raw 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0xFE

#org @3move
#raw 0x9 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x54 0xFE

+====================Supports====================+


+====================Supports====================+
Male
Seen April 4th, 2016
Posted April 3rd, 2016
351 posts
15.6 Years
Ugh... Here we go again... I'm having troubles with a moving/battling script... again... This is what it's supposed to do:

Exclamation mark above your head followed by turning right.
Person walks 7 spaces left from out of screen to in front of you.
Wait for movement to complete.
Talks
Battles
Talks
Leaves
Wait for movement to complete
Done

This is what it does:
Exclamation mark above your head followed by turning right.
Wait for movement to complete (but doesn't move)
Talks
Battles
Talks
Wait for movement to complete (but doesn't move)
Done

The guy's Person ID is 1001 so you can't see him until the script kicks in. Which works. The only thing that doesn't is that he doesn't move (to my understanding). You can't see him because he is out of screen but that's what I think happens. The scripts var number is set to 5240 and this is a hack for Pokemon Sapphire.

Here is my script:

Spoiler:
#dynamic 0x8034F4

#org @start
checkflag 0x1002
if b_true goto @nevermind
clearflag 0x1001
release
playsong 0x1BF 0x1
applymovement 0xFF @1move
applymovement 0x9 @2move
waitmovement 0x0
msgbox @1msg 0x6
trainerbattle 0x1 0x89 0x0 @before @after @whatever
waitstate
end

#org @nevermind
release
end

#org @1msg
= Are you the one everbody knows as\n[player]?\p... ... ... ... ... ... ... ... ... ...\n... ... ... ... ... ... ... ... ... ...\pGood.\nI was hoping I could find you.\pMy name is NEIL. I've been researching\nthe skills of some of the trainers\laround here.\pNot many of them have what it takes\nto become the greatest.\pBut that is enough of my calling.\nIt's time to see just how good you\lare.\pUnfair?\nExcellent.

#org @before
= I'm not here to make friends.

#org @after
= Most superb!\nYou fared very well against me!\pBut don't think this is over.\nI've got special plans for you.

#org @whatever
lock
msgbox @2msg 0x6
applymovement 0x9 @3move
waitmovement 0x0
setflag 0x1001
setflag 0x1002
release
end

#org @2msg
= You, [player], are not the average\ntrainer.\pYou possess something these rookies\ndo not.\pWe'll certainly meet again.

#org @1move
#raw 0x03 0x56 0xFE

#org @2move
#raw 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0xFE

#org @3move
#raw 0x9 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x0B 0x54 0xFE

See if that works any better.Fixes are in bold.
I laugh looking at this.

But sometimes I want to come back to it...