The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.

Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #1076    
Old October 31st, 2014 (10:54 AM).
FBI agent's Avatar
FBI agent
Ally to good, nightmare to you!
 
Join Date: Jan 2013
Location: Unknown Island
Gender: Male
Quote:
Originally Posted by marquancez View Post
Can some one help me?
My script don't work. i have no idee what is wrong:
#dynamic 0x800000

#org @start
lock
faceplayer
msgbox @talk1 0x6
release
end

#org @talk1
= Heey Tom!\nHet is gelukt\pHier vind je alle andere starters!
Weird it compiles for me in XSE version 1.0.0
I think in the newer versions it'd be:

msgbox @talk
callstd 0x6

I'm not sure, maybe they're both fine :o
__________________
...

My name forum name is FBI Agent, though you can call me FBI because it's shorter. I ran a ASM request/resource thread feel free to check that out!
Reply With Quote
  #1077    
Old October 31st, 2014 (11:50 AM). Edited November 1st, 2014 by marquancez.
marquancez
 
Join Date: Jan 2013
i have a other one...

have a pokeball but get a hypno lvl 37 i want a Poliwhirl lvl 25 and i want a waterstone get a wepear berry...
this is my script:
#dynamic 0x800015

#org @start
hidesprite 6
msgbox @talk1
boxset 6
fanfare 0x13e
givepokemon 0x61 0x25 0x97 0x0 0x0 0x0
waitfanfare
setflag 0x1251
release
end

#org @talk1
= \v\h01 krijgt een Poliwhirl

nevermind
Reply With Quote
  #1078    
Old November 2nd, 2014 (07:10 PM). Edited November 4th, 2014 by MindMementoX.
MindMementoX's Avatar
MindMementoX
Rival
 
Join Date: May 2013
Location: Torrevieja
Gender: Male
Nature: Calm
--SOLVED!--

Hello :D I'd just like to ask something reaaaally quick since I'm tired and I'm about to go to sleep.

So I was waddling in the internet when I got the bright idea of making my pokemon game (which I tried 100 times before but they all ended up in failures...), so I started scripting with XSE thinking it was super easy, and.... nothing worked.

It's pretty much like this: I follow all of the instructions in this tutorial, and I even sometimes copy and paste some scripts to test my problem, but naww, once I save and go test the game out, all of the person events simply just "beep" and do absolutely nothing

This is a great tutorial but my IQ must be way too low to understand how my GODDA-- my treacherous Advance Map and XSE fail to... well, script...?

I use the latest Advance map (duh), Pokemon Emerald, and... what more? Well I just copy pasted the basic message box script from this tutorial to the game and it still just bleeps. Yes, I compiled and everything blah bluh bleh, But something isn't working.

If anyone can help, I appreciate you for your assistance even if it might not solve the problem. Thank you!

PS: Memento, failing in everything since 199... wait what?

*EDIT after almsot closing the web page and going to sleep* And yes, I do know I should've gone to the other pages and F3 for people that have the same problems and not make more trouble posts that have been answered, but c'mon, I'm lazy AND sleepy. There's no worse combination. I did google but since ROM hacking isn't mainstream, google flipped me away and now I'm here. Thank you. Now, if I could get some sleep I'd be really happy... ...

SECOND EDIT: I found the problem. Somehow my XSE was ****ing it up so I changed into the version... 1.11 I believe? I had 1.0.0 so if it's not working for someone and you're using Advance Map 1.92, try this. Heads up for Flareon destiny gold or whatever his name was for the help :D This message can be deleted, I'm just leaving it here so if someone comes on and reads this, it might help them.
Reply With Quote
  #1079    
Old November 3rd, 2014 (11:03 AM).
marquancez
 
Join Date: Jan 2013
Quote:
Originally Posted by MindMementoX View Post
Hello :D I'd just like to ask something reaaaally quick since I'm tired and I'm about to go to sleep.

So I was waddling in the internet when I got the bright idea of making my pokemon game (which I tried 100 times before but they all ended up in failures...), so I started scripting with XSE thinking it was super easy, and.... nothing worked.

It's pretty much like this: I follow all of the instructions in this tutorial, and I even sometimes copy and paste some scripts to test my problem, but naww, once I save and go test the game out, all of the person events simply just "beep" and do absolutely nothing

This is a great tutorial but my IQ must be way too low to understand how my GODDA-- my treacherous Advance Map and XSE fail to... well, script...?

I use the latest Advance map (duh), Pokemon Emerald, and... what more? Well I just copy pasted the basic message box script from this tutorial to the game and it still just bleeps. Yes, I compiled and everything blah bluh bleh, But something isn't working.

If anyone can help, I appreciate you for your assistance even if it might not solve the problem. Thank you!

PS: Memento, failing in everything since 199... wait what?

*EDIT after almsot closing the web page and going to sleep* And yes, I do know I should've gone to the other pages and F3 for people that have the same problems and not make more trouble posts that have been answered, but c'mon, I'm lazy AND sleepy. There's no worse combination. I did google but since ROM hacking isn't mainstream, google flipped me away and now I'm here. Thank you. Now, if I could get some sleep I'd be really happy... ...
Try a script like this one:

#dynamic 0x800000

#org @script
lock
faceplayer
msgbox @tekst
boxset 6
release
end

#org @tekst
= Tekst
Reply With Quote
  #1080    
Old November 10th, 2014 (09:17 AM).
Starfighter Suicune's Avatar
Starfighter Suicune
 
Join Date: Nov 2014
Location: germany
Gender: Female
Quote:
Step 14:
There should be a minimum of three parts to the script: two things with pointers and your script that you made. In the second part, there should be a pointer to your script. Under it, there should be a #raw word 0x(random number). Replace the random number with 0. Compile it and test it out in the game.
Please add to that step that you have to compile everything even if everything looks alright in the decompiled offset.
Because every damn tutorial forgot to mention that and I wasted my time for days -.-"
Reply With Quote
  #1081    
Old November 10th, 2014 (02:02 PM).
Magic's Avatar
Magic
Guardian of the Great Rift
 
Join Date: Jan 2009
Location: UK
Age: 23
Gender: Male
The last line says to compile
__________________
Reply With Quote
  #1082    
Old 4 Weeks Ago (09:11 AM).
Ollie11
 
Join Date: May 2014
Gender: Male
Is there any script to check only first Pokemon in the party?
Reply With Quote
  #1083    
Old 4 Weeks Ago (11:06 AM).
FBI agent's Avatar
FBI agent
Ally to good, nightmare to you!
 
Join Date: Jan 2013
Location: Unknown Island
Gender: Male
Quote:
Originally Posted by Ollie11 View Post
Is there any script to check only first Pokemon in the party?
bufferfirstpokemon 0xBuffer

Press F1 in XSE for more scripting commands.
__________________
...

My name forum name is FBI Agent, though you can call me FBI because it's shorter. I ran a ASM request/resource thread feel free to check that out!
Reply With Quote
  #1084    
Old 4 Weeks Ago (12:37 PM).
Ollie11
 
Join Date: May 2014
Gender: Male
Quote:
Originally Posted by FBI agent View Post
bufferfirstpokemon 0xBuffer

Press F1 in XSE for more scripting commands.
Man, this is so simple! Thanks!
Reply With Quote
  #1085    
Old 2 Weeks Ago (12:15 PM).
U.Flame's Avatar
U.Flame
Brony Hacker
 
Join Date: Jun 2008
Location: Sapphire City in future Hoenn
Age: 19
Gender: Male
Nature: Jolly
I want to give decorations in an event in Sapphire, and found out that the right command is giveitem3. Does anyone have a list of the Ruby/Sapphire decoration numbers?
__________________
Hacks I'm currently working on:
Pokemon Sapphire Hoenn's Ruin - My own hack, actively making progress.
3rd Gen Multiplayer Project - Research and development, occasionally testing, sometimes with support.
Pokemon Ruby Destiny Broken Timeline - Mapping assigned maps, slow pace at the moment.
Pokemon Cursed/Creepy White - Group project, on hiatus for now with plans to return eventually.

Times I've been ninja'd: 18
Times I've ninja'd people: 3

Quote:
Originally Posted by drarixio View Post
Unbeatable Flame would make a pokemon trainer run outta breath in the anime:
Unbeatable Flame, Flamethrower.
Unbeatable Flame, Sky Uppercut.
Unbeatable Flame, this.
Unbeatable Flame, that.
Un*pant*beatable---Flame, hooollaaa
Un-un-un-un--bea-bee....*Pokemon trainer fainted*
Reply With Quote
  #1086    
Old 2 Weeks Ago (05:55 PM).
Snorlax44's Avatar
Snorlax44
 
Join Date: Jul 2013
Location: India
Gender: Male
Nature: Relaxed
Can Anyone Tell me How to use Check Flag.I have read Tutorail so much time but it didnt work out plz help me
__________________
Reply With Quote
  #1087    
Old 2 Weeks Ago (07:43 PM).
NewDenverCity's Avatar
NewDenverCity
 
Join Date: Apr 2014
Location: Antarctica
Gender: Male
Nature: Lonely
@Snorlax44: It's similar to a question. If the flag has been set in a past script with setflag 0x##, then you can jump to a different text string using if 0x1 goto @yesflag. If you have not set the flag, then it'll go directly down the line and go to a different pointer. Then you end it like all other scripts.
Reply With Quote
  #1088    
Old 2 Weeks Ago (01:59 PM).
Magic's Avatar
Magic
Guardian of the Great Rift
 
Join Date: Jan 2009
Location: UK
Age: 23
Gender: Male
Quote:
Originally Posted by U.Flame View Post
I want to give decorations in an event in Sapphire, and found out that the right command is giveitem3. Does anyone have a list of the Ruby/Sapphire decoration numbers?
Hmm, I don't think I've ever seen a compiled list. However you could perhaps look at the merchants selling decorations and work it out from there?

Quote:
Originally Posted by bulbapedia
Decorations are purchased with Pokémon Dollars from a variety of locations, such as the Pretty Petal Flower Shop on Route 104, and the Lilycove Department Store among other places.
__________________
Reply With Quote
  #1089    
Old 1 Week Ago (06:08 AM).
Snorlax44's Avatar
Snorlax44
 
Join Date: Jul 2013
Location: India
Gender: Male
Nature: Relaxed
is this script has fault
#dynamic 0x800000

#org @start
msgbox @hello 0x2
end

#org @hello
= not working

if not then why it is not working
__________________
Reply With Quote
  #1090    
Old 1 Week Ago (02:55 PM).
Fun Size's Avatar
Fun Size
Community Supporter
 
Join Date: Sep 2014
Location: America
Gender: Male
Nature: Jolly
Quote:
Originally Posted by Snorlax44 View Post
is this script has fault
#dynamic 0x800000

#org @start
msgbox @hello 0x2
end

#org @hello
= not working

if not then why it is not working

This script is fine. I just checked it. The problem might be XSE. What version do you have?
__________________
Please click the Pokemon on your screen today. With your donation of one click a day you'll save a lost Pokemon in need of care, food, shelter, and water.

Hack that I Support Most At This Moment:
Reply With Quote
  #1091    
Old 1 Week Ago (01:59 AM).
Snorlax44's Avatar
Snorlax44
 
Join Date: Jul 2013
Location: India
Gender: Male
Nature: Relaxed
My Version is 1.0(If it is outdated link me a latest version)
__________________
Reply With Quote
  #1092    
Old 1 Week Ago (10:57 PM).
Fun Size's Avatar
Fun Size
Community Supporter
 
Join Date: Sep 2014
Location: America
Gender: Male
Nature: Jolly
Quote:
Originally Posted by Snorlax44 View Post
My Version is 1.0(If it is outdated link me a latest version)

Yeah your version is outdated. Here's the newest version:
http://www.mediafire.com/download/8q...ficial_XSE.zip
__________________
Please click the Pokemon on your screen today. With your donation of one click a day you'll save a lost Pokemon in need of care, food, shelter, and water.

Hack that I Support Most At This Moment:
Reply With Quote
  #1093    
Old 1 Week Ago (11:23 PM).
Snorlax44's Avatar
Snorlax44
 
Join Date: Jul 2013
Location: India
Gender: Male
Nature: Relaxed
Quote:
Originally Posted by Fun Size View Post
Yeah your version is outdated. Here's the newest version:
http://www.mediafire.com/download/8q...ficial_XSE.zip
Thanks a ton man it is working
__________________
Reply With Quote
  #1094    
Old 1 Week Ago (11:25 PM).
Fun Size's Avatar
Fun Size
Community Supporter
 
Join Date: Sep 2014
Location: America
Gender: Male
Nature: Jolly
Quote:
Originally Posted by Snorlax44 View Post
Thanks a ton man it is working
No problem. I'm glad it's working!
__________________
Please click the Pokemon on your screen today. With your donation of one click a day you'll save a lost Pokemon in need of care, food, shelter, and water.

Hack that I Support Most At This Moment:
Reply With Quote
  #1095    
Old 3 Days Ago (08:49 PM).
dsret's Avatar
dsret
Learning to hack.
 
Join Date: Jun 2011
Location: The Hole. No one's been there.
Gender: Male
Nature: Brave
I've been working on a hack, and this tutorial has been very helpful, but whenever I try to make a
checkflag script that checks for a badge, it either switches to another script I've written for another NPC, or it just freezes my character, with the game still running. Help anyone?
Here's my script:

#dynamic 0x800500

#org @start
checkflag 0x820
if 0x1 goto @pass
msgbox @prints 0x6
applymovement 0xff @move
end

#org @pass
msgbox @ok 0x6
end

#org @prints
= Wait! Don't step on those\nfootprints! I'm inspecting them.\lYou can come back after I'm done!

#org @move
#raw 0x10
#raw 0xfe

#org @ok
= I'm all done. Turns out they were my own footprints. Hehe...



Thanks in advance.






Reply With Quote
  #1096    
Old 3 Days Ago (08:56 PM).
BlazikenXY's Avatar
BlazikenXY
Hacker
 
Join Date: Sep 2014
Location: Somewhere in the world, obviously
Age: 17
Gender: Male
Nature: Gentle
Quote:
Originally Posted by dsret View Post
I've been working on a hack, and this tutorial has been very helpful, but whenever I try to make a
checkflag script that checks for a badge, it either switches to another script I've written for another NPC, or it just freezes my character, with the game still running. Help anyone?
Here's my script:

#dynamic 0x800500

#org @start
checkflag 0x820
if 0x1 goto @pass
msgbox @prints 0x6
applymovement 0xff @move
end

#org @pass
msgbox @ok 0x6
end

#org @prints
= Wait! Don't step on those\nfootprints! I'm inspecting them.\lYou can come back after I'm done!

#org @move
#raw 0x10
#raw 0xfe

#org @ok
= I'm all done. Turns out they were my own footprints. Hehe...



Thanks in advance.






Maybe you're overwriting something, try some new offset.
__________________
Credits to Ilona-the-Sinister for my avatar.

Hey, folks! I don't know what to put here, so I better just advertise.
Can you give me a hand with my hack? Just PM me.

I need some help with mapping, though I really can do that, and spriting. And, if you're friendly enough, VM me, and we can chat!
Reply With Quote
  #1097    
Old 3 Days Ago (05:08 AM).
dsret's Avatar
dsret
Learning to hack.
 
Join Date: Jun 2011
Location: The Hole. No one's been there.
Gender: Male
Nature: Brave
Quote:
Originally Posted by BlazikenXY View Post
Maybe you're overwriting something, try some new offset.
Still doesn't seem to work... :/
__________________
This signature has been disabled.
The image is way too large.
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
  #1098    
Old 2 Days Ago (10:30 AM).
DarkenedEclipse's Avatar
DarkenedEclipse
Project Oak
 
Join Date: Jun 2014
Location: Sinnoh
Gender: Male
Nature: Bold
Quote:
Originally Posted by dsret View Post
Still doesn't seem to work... :/
I have highlighted your key points you're missing. They're in bold.
#dynamic 0x800500

#org @start
lock
faceplayer
checkflag 0x820
if 0x1 goto @pass
msgbox @prints 0x6
applymovement 0xff @move
waitmovement 0x0
end

#org @pass
msgbox @ok 0x6
release
end

#org @prints
= Wait! Don't step on those\nfootprints! I'm inspecting them.\lYou can come back after I'm done!

#org @move
#raw 0x10
#raw 0xfe

#org @ok
= I'm all done. Turns out they were my own footprints. Hehe...


Just a simple missing waitmovement the lock and faceplayer are optional however.
As Blaziken XY said, never write a script to the same offset twice or else you corrupt the data! Make sure your green scripting tile is set too this:
Unknown: 0300
Var Number: 4050
~Eclipse
__________________

Script Requests Completed:
1
Sprite Rips Completed:
2
Reply With Quote
  #1099    
Old 1 Day Ago (08:30 PM).
dsret's Avatar
dsret
Learning to hack.
 
Join Date: Jun 2011
Location: The Hole. No one's been there.
Gender: Male
Nature: Brave
Quote:
Originally Posted by DarkenedEclipse View Post
I have highlighted your key points you're missing. They're in bold.
#dynamic 0x800500

#org @start
lock
faceplayer
checkflag 0x820
if 0x1 goto @pass
msgbox @prints 0x6
applymovement 0xff @move
waitmovement 0x0
end

#org @pass
msgbox @ok 0x6
release
end

#org @prints
= Wait! Don't step on those\nfootprints! I'm inspecting them.\lYou can come back after I'm done!

#org @move
#raw 0x10
#raw 0xfe

#org @ok
= I'm all done. Turns out they were my own footprints. Hehe...


Just a simple missing waitmovement the lock and faceplayer are optional however.
As Blaziken XY said, never write a script to the same offset twice or else you corrupt the data! Make sure your green scripting tile is set too this:
Unknown: 0300
Var Number: 4050
~Eclipse
Thank you so much!
But do I need to put the 'Unknown' to 0300 and 'Var Number' to 4050 everytime I make a similar
script to this?
Reply With Quote
  #1100    
Old 1 Day Ago (08:49 PM).
DarkenedEclipse's Avatar
DarkenedEclipse
Project Oak
 
Join Date: Jun 2014
Location: Sinnoh
Gender: Male
Nature: Bold
Quote:
Originally Posted by dsret View Post
Thank you so much!
But do I need to put the 'Unknown' to 0300 and 'Var Number' to 4050 everytime I make a similar
script to this?
To my current knowledge, yes I do believe so as I looked at Diego's tutorial itself XD.
~Eclipse
__________________

Script Requests Completed:
1
Sprite Rips Completed:
2
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 06:17 AM.


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.