The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Emulation & ROM Hacking > Research & Development
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
New threads in this forum are to be approved by a moderator before they are displayed. The thread revival limit does not apply here.


Reply
 
Thread Tools
  #26    
Old June 18th, 2009, 09:40 AM
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 17
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
Name: Bike Stand
ROMbase: Currently just FR/LG
Effect: It just activates the bike
Script:
Spoiler:
#dynamic 0x0FF5E1

#org @start
lock
special 0x157
release
end

Comments & Bugs: Just gets ON the bike, doesn't get OFF yet
Credits: IceCharizard, Tropical Sunlight, or ~Watermelon
__________________
Reply With Quote
  #27    
Old June 18th, 2009, 10:44 AM
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
Quote:
Originally Posted by ~Watermelon View Post
Name: Bike Stand
ROMbase: Currently just FR/LG
Effect: It just activates the bike
Script:
Spoiler:
#dynamic 0x0FF5E1

#org @start
lock
special 0x157
release
end

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
__________________
Reply With Quote
  #28    
Old June 18th, 2009, 11:39 AM
-DarK-
Hold Your Colour
 
Join Date: Jun 2007
Location: Belgium
Age: 21
Gender: Male
Nature: Brave
Send a message via Windows Live Messenger to -DarK-
Quote:
Originally Posted by HackMew View Post
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...
Reply With Quote
  #29    
Old June 19th, 2009, 07:13 AM
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 17
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
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
__________________
Reply With Quote
  #30    
Old June 20th, 2009, 01:09 AM
Spherical Ice's Avatar
Spherical Ice
 
Join Date: Nov 2007
~Watermelon, I don't think I'll add it up, for the reasons mentioned above.
__________________
Reply With Quote
  #31    
Old June 20th, 2009, 01:38 AM
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 17
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
That's fine with me, I'm still trying smth out
__________________
Reply With Quote
  #32    
Old July 6th, 2009, 05:33 PM
Full Metal's Avatar
Full Metal
C(++) Developer.
 
Join Date: Jan 2008
Location: In my mind.
Age: 18
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to Full Metal
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:

#dynamic 0x800000

#org @begin
lock
faceplayer
checkitem 0x168 0x1
if 0x1 jump @havebike
release
end

#org @havebike
message @yesno 0x5
if 0x0 goto @pushno
special 0x157
release
end

#org @pushno
release
end

#org @yesno
= Do you want to mount your bike?

And no credits needed o'course
__________________

★ full metal.

I like to push it,
and push it,
until my luck is over.

Last edited by Full Metal; July 6th, 2009 at 05:36 PM. Reason: put some commmands in wrong spot and forgot the faceplayer
Reply With Quote
  #33    
Old July 7th, 2009, 04:44 AM
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 17
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
Quote:
Originally Posted by The blob of blobs View Post
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:

#dynamic 0x800000

#org @begin
lock
faceplayer
checkitem 0x168 0x1
if 0x1 jump @havebike
release
end

#org @havebike
message @yesno 0x5
if 0x0 goto @pushno
special 0x157
release
end

#org @pushno
release
end

#org @yesno
= Do you want to mount your bike?

And no credits needed o'course
It is much better, put this one up!
Mine was just a special.
__________________
Reply With Quote
  #34    
Old July 7th, 2009, 06:31 AM
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
Quote:
Originally Posted by The blob of blobs View Post
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:

#dynamic 0x800000

#org @begin
lock
faceplayer
checkitem 0x168 0x1
compare LASTRESULT 0x1
if 0x1 jump @havebike
release
end

#org @havebike
message @yesno 0x5
compare LASTRESULT 0x0
if 0x1 goto @pushno

special 0x157
release
end

#org @pushno
release
end

#org @yesno
= Do you want to mount your bike?

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:
#dynamic 0x800000

#org @begin
lock
faceplayer
checkitem 0x168 0x1
compare LASTRESULT 0x1
if 0x0 jump @no
message @mount 0x5
compare LASTRESULT 0x0
if 0x1 goto @no
special 0x157
release
end

#org @no
release
end

#org @mount
= Do you want to mount your bike?
__________________
Reply With Quote
  #35    
Old July 14th, 2009, 10:30 PM
ExitWound's Avatar
ExitWound
Boggle
 
Join Date: Aug 2007
Age: 22
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?
__________________

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


+====================Supports====================+
Reply With Quote
  #36    
Old July 14th, 2009, 11:02 PM
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 17
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
Quote:
Originally Posted by ExitWound View Post
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:
#dynamic 0x0FF5E1

#org @start
lock
checkflag 0x200
compare LASTRESULT 0x1
if 0x1 call @already
msgbox @honeytree MSG_NORMAL
checkitem ITEM_HONEY 0x1
compare LASTRESULT 0x1
if 0x1 call @honey
setflag 0x200
release
end

#org @honey
msgbox @hunny MSG_YESNO
compare LASTRESULT 0x1
if 0x1 call @ona
return

#org @already
msgbox @pokemon MSG_NORMAL
random 0x0A
compare LASTRESULT 0x0
if 0x1 call @1
compare LASTRESULT 0x1
if 0x1 call @2
compare LASTRESULT 0x2
if 0x1 call @3
compare LASTRESULT 0x3
if 0x1 call @4
compare LASTRESULT 0x4
if 0x1 call @5
compare LASTRESULT 0x5
if 0x1 call @6
compare LASTRESULT 0x6
if 0x1 call @7
compare LASTRESULT 0x7
if 0x1 call @8
compare LASTRESULT 0x8
if 0x1 call @9
compare LASTRESULT 0x9
if 0x1 call @10
clearflag 0x200
release
end

#org @1
wildbattle PKMN_WURMPLE 0x8 0x0
return

#org @2
wildbattle PKMN_COMBEE 0xD 0x0
return

#org @3
wildbattle PKMN_WURMPLE 0x7 0x0
return

#org @4
wildbattle PKMN_WURMPLE 0xA 0x0
return

#org @5
wildbattle PKMN_MUNCHLAX 0xE 0x0
return

#org @6
wildbattle PKMN_HERACROSS 0x8 0x0
return

#org @7
wildbattle PKMN_AIPOM 0x8 0x0
return

#org @8
wildbattle PKMN_COMBEE 0x8 0x0
return

#org @9
wildbattle PKMN_CHERUBI 0x8 0x0
return

#org @10
wildbattle PKMN_CHERUBI 0x8 0x0
return

#org @ona
removeitem ITEM_HONEY 0x1
msgbox @hungry MSG_NORMAL
return

#org @pokemon
= Huh?\pIt looks like there's a POKéMON on\nthe HONEY TREE!

#org @honeytree
= It's a HONEY TREE.

#org @hunny
= Would you like to slather the bark\nwith HONEY?

#org @hungry
= [player] slathered the bark with\nHONEY.

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 by Tropical Sunlight; July 15th, 2009 at 04:36 AM.
Reply With Quote
  #37    
Old July 15th, 2009, 05:55 AM
ExitWound's Avatar
ExitWound
Boggle
 
Join Date: Aug 2007
Age: 22
Quote:
Originally Posted by Colorful Summer View Post
Eh... You need to post a script, maybe? O.o
Well I didn't think my script was necessary but here it is:

Spoiler:
#dynamic 0x80731D

#org @start
checkflag 0x1005
if b_true goto @nevermind
applymovement 0xFF @1move
applymovement 0x21 @2move
waitmovement 0x0
msgbox @1msg 0x6
Something here to activate pokedex in start menu
fanfare 0x13E
msgbox @2msg 0x4
waitfanfare
closeonkeypress
fadescreen 0x1
applymovement 0x21 @3move
waitmovement 0x0
setflag 0x1005
fadescreen 0x0
release
end

#org @1msg
= [player], I almost forgot. You're\ngonna need this if you want to\lhave an easier journey.

#org @2msg
= [red_rs]You received a POKéDEX!

#org @nevermind
release
end

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

#org @2move
#raw 0xB 0xFE

#org @3move
#raw 0x2F 0x2D 0x2D 0x54 0xFE
__________________

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


+====================Supports====================+
Reply With Quote
  #38    
Old July 17th, 2009, 01:25 AM
Spherical Ice's Avatar
Spherical Ice
 
Join Date: Nov 2007
Quote:
Originally Posted by ExitWound View Post
Well I didn't think my script was necessary but here it is:

Spoiler:
#dynamic 0x80731D

#org @start
checkflag 0x1005
if b_true goto @nevermind
applymovement 0xFF @1move
applymovement 0x21 @2move
waitmovement 0x0
msgbox @1msg 0x6
Something here to activate pokedex in start menu
fanfare 0x13E
msgbox @2msg 0x4
waitfanfare
closeonkeypress
fadescreen 0x1
applymovement 0x21 @3move
waitmovement 0x0
setflag 0x1005
fadescreen 0x0
release
end

#org @1msg
= [player], I almost forgot. You're\ngonna need this if you want to\lhave an easier journey.

#org @2msg
= [red_rs]You received a POKéDEX!

#org @nevermind
release
end

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

#org @2move
#raw 0xB 0xFE

#org @3move
#raw 0x2F 0x2D 0x2D 0x54 0xFE
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.
__________________
Reply With Quote
  #39    
Old July 21st, 2009, 08:23 AM
sab's Avatar
sab
Now too much of a life.
 
Join Date: Jul 2008
Location: Midgar
Age: 17
Gender: Male
Nature: Timid
effect: a random weather script
game: all gba games
credit: sab
script:
Spoiler:

'---------------
#org 0x(offset)
random 0x0A
compare LASTRESULT 0x0
if 0x1 goto @1
compare LASTRESULT 0x1
if 0x1 goto @2
compare LASTRESULT 0x2
if 0x1 goto @3
compare LASTRESULT 0x3
if 0x1 goto @4
compare LASTRESULT 0x4
if 0x1 goto @5
compare LASTRESULT 0x5
if 0x1 goto @6
compare LASTRESULT 0x6
if 0x1 goto @7
compare LASTRESULT 0x7
if 0x1 goto @8
compare LASTRESULT 0x8
if 0x1 goto @9
compare LASTRESULT 0x9
if 0x1 goto @10

#org @1
setweather 0x1
doweather
end

#org @2
setweather 0x2
doweather
end

#org @3
setweather 0x3
doweather
end

#org @4
setweather 0x4
doweather
end

#org @5
setweather 0x5
doweather
end

#org @6
setweather 0x7
doweather
end

#org @7
setweather 0xb
doweather
end

#org @8
setweather 0xd
doweather
end

#org @9
setweather 0x2
doweather
end

#org @10
setweather 0xb
doweather
end
__________________
anCay ouyay eakspay igpay atinlay? Ifay osay easeplay m.p.ay
emay enthay opycay anday astepay isthay inay ouryay ignaturesay.

Last edited by sab; July 22nd, 2009 at 09:01 AM.
Reply With Quote
  #40    
Old December 30th, 2009, 04:41 PM
558122_DG's Avatar
558122_DG
Learning how to make mistakes
 
Join Date: Nov 2009
Gender: Male
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
__________________
This signature has been disabled.
Spoilers are forbidden in signatures
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.
Reply With Quote
  #41    
Old December 30th, 2009, 05:23 PM
sky_queen3's Avatar
sky_queen3
Minusle Fangirl. ;)
 
Join Date: Feb 2009
Location: Australia
Age: 24
Gender: Female
Nature: Naive
Hmm, these look like fun. :D
__________________
I did it, I did it, I did it, I have a shiny Ditto!

Reply With Quote
  #42    
Old December 30th, 2009, 09:15 PM
Haku.'s Avatar
Haku.
(FLAME)...H....A...K..U
 
Join Date: Jan 2008
Location: Singapore :D
Gender: Male
Nature: Quiet
Send a message via Windows Live Messenger to Haku.
Stealing script.
Works for FR/LG only!
Spoiler:

#dynamic 0x[offset]
#org @start
msgbox @1 0x5
compare LASTRESULT 0x01
if 0x01 goto @yes
release
end

#org @yes
random 0x02
compare LASTRESULT 0x0
if 0x1 goto @steal
compare LASTRESULT 0x1
if 0x1 goto @caught
end

#org @steal
random 0x02
compare lastresult 0x0
if 0x1 goto @pokeball
compare lastresult 0x01
if 0x1 goto @potions
end

#org @caught
msgbox @2 0x6
warp 0x[map bank] 0x[map no.] 0xFF 0x[x position] 0x[Y position]
end

#org @pokeball
random 0x03
compare lastresult 0x0
if 0x1 goto @1pokeball
compare lastresult 0x01
if 0x2 goto @2pokeball
compare lastresult 0x02
if 0x3 goto @3 pokeball
end

#org @1pokeball
giveitem 0x04 0x1 MSG_OBTAIN
closeonkeypress
release
end

#org @2pokeball
giveitem 0x04 0x02 MSG_OBTAIN
closeonkeypress
release
end

#org @3pokeball
giveitem 0x04 0x03 MSG_OBTAIN
closeonkeypress
release
End

#org @potions
random 0x3
compare lastresult 0x0
if 0x1 goto @1potion
compare lastresult 0x01
if 0x2 goto @2potion
compare lastresult 0x02
if 0x3 goto @3potion
end

#org @1potion
giveitem 0xD 0x1 MSG_OBTAIN
closeonkeypress
release
end

#org @2potion
giveitem 0xD 0x2 MSG_OBTAIN
closeonkeypress
release
end

#org @3potion
giveitem 0xD 0x3 MSG_OBTAIN
closeonkeypress
release
end


#org @1
= Do you want to steal some items?

#org @2
= Hey you!What are you doing!Get out from here!
__________________

Reply With Quote
  #43    
Old December 30th, 2009, 09:18 PM
altariaking's Avatar
altariaking
Needs NO VMs...
 
Join Date: Dec 2009
Location: Scotland, Lesmahagow
Age: 39
Gender: Male
Nature: Naive
Send a message via Windows Live Messenger to altariaking
these scripts are really good
Reply With Quote
  #44    
Old December 31st, 2009, 03:37 AM
Spherical Ice's Avatar
Spherical Ice
 
Join Date: Nov 2007
Why not just bump the old one - you can do it in Docs and Tuts. -.-''
__________________
Reply With Quote
  #45    
Old January 3rd, 2010, 01:25 AM
lilfabbro's Avatar
lilfabbro
Pokemon That 1 V. In Progress
 
Join Date: Jun 2008
Gender:
Send a message via Windows Live Messenger to lilfabbro
where would i put these scripts do i set them on tiles or what? and the steal script is that to steal other trainers pokemon?
__________________
I Made My Avatar
_Lil Fabbro_
Reply With Quote
  #46    
Old January 4th, 2010, 04:02 AM
Spherical Ice's Avatar
Spherical Ice
 
Join Date: Nov 2007
The thief one is a script that allows you to steal items from a PokéMart if the author of the hack positions the script on a script tile which is wherever the stock that is being stolen is, and yes, a majority, if not all, of these scripts are to be put on Script tiles, i.e the green tiles with a yellow S.

I still think all three of the Misc XSE Script threads should just be merged. Harry, could you do the honours? (That is if the OP agrees.)
__________________
Reply With Quote
  #47    
Old January 4th, 2010, 05:00 AM
lilfabbro's Avatar
lilfabbro
Pokemon That 1 V. In Progress
 
Join Date: Jun 2008
Gender:
Send a message via Windows Live Messenger to lilfabbro
thanks master, and im not that noob lol, i just didnt know wether they were tile scripts or somthing else but thanks for the help
__________________
I Made My Avatar
_Lil Fabbro_
Reply With Quote
  #48    
Old January 4th, 2010, 08:36 PM
thedgr05's Avatar
thedgr05
Tower of Doom creator
 
Join Date: Apr 2009
Location: It seems like.... If I was right in front of a computer typing this.
Gender: Male
Nature: Calm
Here's one FR/LG Only:
Weird Tree:
Spoiler:
'---------------
#org 0x(offset)
special 0x187
compare LASTRESULT 0x2
if 0x1 call 0x81A7AE0
special 0x188
compare 0x4025 0x1F4
if 0x0 call 0x87800B0
msgbox 0x8780100 MSG_FACE '"It's a weird tree.\pWhat's that[.]..."
giveitem 0x8B 0x1 MSG_OBTAIN
releaseall
special 0x197
end
'---------------
#org 0x1A7AE0
release
end
'---------------
#org 0x7800B0
msgbox 0x87800C0 MSG_FACE '"It's a weird tree.\pWait a sec[.]\..."
end

'---------
' Strings
'---------
#org 0x780100
= It's a weird tree.\pWhat's that[.]\pIt's a BERRY!!!
#org 0x7800C0
= It's a weird tree.\pWait a sec[.]\pNah, nothing here.


EDIT: This goes in the singpost type (the red squares with an S in Adv map)

Last edited by thedgr05; January 4th, 2010 at 08:38 PM. Reason: forgot something!
Reply With Quote
  #49    
Old January 5th, 2010, 09:02 AM
altariaking's Avatar
altariaking
Needs NO VMs...
 
Join Date: Dec 2009
Location: Scotland, Lesmahagow
Age: 39
Gender: Male
Nature: Naive
Send a message via Windows Live Messenger to altariaking
for some reason xse keeps saying, when I try to compile the thief script, that "compare LASTRESULT" is an unknown word, how come?
__________________
http://www.pokecommunity.com/member.php?u=253113
Reply With Quote
  #50    
Old January 5th, 2010, 09:06 AM
Spherical Ice's Avatar
Spherical Ice
 
Join Date: Nov 2007
If LASTRESULT isn't working, I believe you should use 0x800D, but don't quote me on that. The Script Help Thread is really where you should go, altariaking. :/
__________________
Reply With Quote
Reply
Quick Reply

Sponsored Links


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 08:27 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 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 - 2014 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.