• 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 Conquest 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.

Development: The Miscellaneous Script Thread

i found the various pointers don't have parameters
@end has none
@jump has none
Look harder. They are there.

Hey, thanks for the scripts! I tried the rock climb script, and it pretty much worked. However, for some reason, it repeats the movements 5 times (for instance, if I wanted it to push me one step down, it does five steps and stops). Is there a way to fix this?
You change the movements in the script.

Applymovement @pointer

#org @pointer
#raw 0x(whatever)
#raw 0xFE

You change that part.

Code:
#dynamic 0x800000
 
#org @1
#raw 0x7C 0x16 0x00
compare 0x800D 0x06
if 0x1 call @end
#raw 0x9D 0x00 0x0D 0x80
message @ha
boxset 5
compare LASTRESULT 0
if 0x1 goto @end
#raw 0x68
#raw 0x9C 0x25 0x00
waitstate
#raw 0x17 0x00 0x80 0x01 0x00
goto @jump
#org @jump
compare 0x8000 0x01
if 0x4 goto @move
release
end
#org @end
release
end
#org @move
applymovement 0xFF @move1
waitmovement 0x0
#raw 0x18 0x00 0x80 0x01 0x00
goto @jump
 
#org @ha
= It's some climbable rocks!\pWant to use VINE WHIP to\nclimb down them?
 
[B]#org @move1
#raw 0x1D 0x1D 0x1D 0xFE[/B]
To:
Code:
[B]#org @move1
#raw 0x1D 0xFE[/B]
 
Last edited:
Hmm, this script seems useful indeed. A collaboration of scripts many people may want to use, all located in one place... Nice...

I may contribute in the future, if the thread does not die...
If it lasts a month, I'll post some fantastic scripts.
If not... well, I don't think I gotta explain that...

For this thread, I have a bit of advice... Try to enforce the format given, ESPECIALLY defining the ROM the script can be used in, if people start posting scripts that can only be used in Ruby, and then a FR/LG hacker comes, and uses it, well, things will end up a bit hectic... keep that in mind.
 
@ Spherical Ice:
Didn't you know that comparing LASTRESULT multiple times won't work? Each time you use the compare command, the LASTRESULT is updated. The if command checks the LASTRESULT, indeed. Another thing. You messed up the random command. Random work in the range (0, X + 1). So (0,9) would be (0,10). Also, 0x10 is not the same as 10, of course. Please don't mix hex and dec. You should have tested the script before posting it...
Anyway, here's the optimized (and working) version:

Spoiler:


EDIT: You should update your XSE too, since it's old.
 
Last edited by a moderator:
Name: Bike Stand
ROMbase: Currently just FR/LG
Effect: It just activates the bike
Script:
Spoiler:

Comments & Bugs: Just gets ON the bike, doesn't get OFF yet
Credits: IceCharizard, Tropical Sunlight, or ~Watermelon
 
Name: Bike Stand
ROMbase: Currently just FR/LG
Effect: It just activates the bike
Script:
Spoiler:

Comments & Bugs: Just gets ON the bike, doesn't get OFF yet
Credits: IceCharizard, Tropical Sunlight, or ~Watermelon

Don't get me wrong but... seriously, why should someone credit you for a simple special anyone can put in his/her script? I mean, some special lists are available alredy o.O
 
Don't get me wrong but... seriously, why should someone credit you for a simple special anyone can put in his/her script? I mean, some special lists are available alredy o.O

I agree. Credits are only to be received for bigger and more complex scripts, otherwise you can put in a simple check/setflag script as well...
 
I'm sorry but I don't think anyone's gonna post a big script here...
This is the point... Maybe I'll try smth with the script ;)
 
Here is a much better bike mounting script.
It
A) checks for the player even having the bike
B) asks the player if he/she wants to mount it!
I've not yet tested it, but it should work.
Spoiler:

And no credits needed o'course
 
Last edited:
Here is a much better bike mounting script.
It
A) checks for the player even having the bike
B) asks the player if he/she wants to mount it!
I've not yet tested it, but it should work.
Spoiler:

And no credits needed o'course
It is much better, put this one up!
Mine was just a special.
 
Here is a much better bike mounting script.
It
A) checks for the player even having the bike
B) asks the player if he/she wants to mount it!
I've not yet tested it, but it should work.
Spoiler:

And no credits needed o'course

It should, but it won't. Since this is not the Script Help Thread, please post working, tested scripts only thanks. Fixes in bold. And here's the optimized script:

Spoiler:
 
Name: POKéDEX Given
ROMbase: Sapphire
Effect: Enables the POKéDEX in the start menu
Script: Not needed
Comments & Bugs: My script is complete except for 1 problem: what flag is set or what special is used to activate the POKéDEX in the start menu for Sapphire?
 
Name: POKéDEX Given
ROMbase: Sapphire
Effect: Enables the POKéDEX in the start menu
Script: Not needed
Comments & Bugs: My script is complete except for 1 problem: what flag is set or what special is used to activate the POKéDEX in the start menu for Sapphire?
Eh... You need to post a script, maybe? O.o

Name: Honey Tree
ROMbase: Whatever, I used FR
Effect: A honey tree script which requires Honey in order to encounter a random Pokemon.
Script:
Spoiler:

Comments & Bugs: You need to make a different flag for all the honey trees, unless you want to slather one tree and catch Pokemon on another.
I didn't debug the script, replace the Pokemon with the ones you prefer.
Also, you need the item honey.
I replaced it with Berry Juice, but again, whatever you prefer.
 
Last edited:
Eh... You need to post a script, maybe? O.o

Well I didn't think my script was necessary but here it is:

Spoiler:
 
Well I didn't think my script was necessary but here it is:

Spoiler:

You seem to have misunderstood the purpose of this thread. It's for posting completed, workig scripts that most hackers will find useful to use in their hacks. For help on the scripts, the Script Help Thread is where you should be. If you do happen to understand this thread, and you're posting that script for other people, I can't really see why other would want to use the movement stuff, etc. The flag for activating the National Dex can be found in scripting tutorials, such as diegoisawesome's.
 
effect: a random weather script
game: all gba games
credit: sab
script:
Spoiler:
 
Last edited:
cool...those are pretty custom scripts :) I've seen em at work in your hack and they seem pretty nice to me :) maybe you should post the vid of them at work that will make this post better, and maybe an explanation of how they work :)
 
Back
Top