Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources

Notices
For all updates, view the main page.

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 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
  #1077    
Old November 3rd, 2014 (11:03 AM).
marquancez
 
Join Date: Jan 2013
Quote originally posted by MindMementoX:
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
  #1078    
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
  #1079    
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
  #1080    
Old November 26th, 2014 (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
  #1081    
Old November 26th, 2014 (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:
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 an ASM request/resource thread feel free to check that out!
Reply With Quote
  #1082    
Old November 26th, 2014 (12:37 PM).
Ollie11
 
Join Date: May 2014
Gender: Male
Quote originally posted by FBI agent:
bufferfirstpokemon 0xBuffer

Press F1 in XSE for more scripting commands.
Man, this is so simple! Thanks!
Reply With Quote
  #1083    
Old December 12th, 2014 (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?
__________________
This signature has been disabled.
exceeds 350px height limit
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
  #1084    
Old December 12th, 2014 (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
  #1085    
Old December 12th, 2014 (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
  #1086    
Old December 13th, 2014 (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:
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
  #1087    
Old December 18th, 2014 (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
  #1088    
Old December 18th, 2014 (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:
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?
__________________
#172 Pichu
Supporter Collab January 2015
Friend Code: 1908-0841-4167
Reply With Quote
  #1089    
Old December 19th, 2014 (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
  #1090    
Old December 19th, 2014 (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:
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/8qe70zzp45bjf91/Unofficial_XSE.zip
__________________
#172 Pichu
Supporter Collab January 2015
Friend Code: 1908-0841-4167
Reply With Quote
  #1091    
Old December 19th, 2014 (11:23 PM).
Snorlax44's Avatar
Snorlax44
 
Join Date: Jul 2013
Location: India
Gender: Male
Nature: Relaxed
Quote originally posted by Fun Size:
Yeah your version is outdated. Here's the newest version:
http://www.mediafire.com/download/8qe70zzp45bjf91/Unofficial_XSE.zip
Thanks a ton man it is working
__________________
Reply With Quote
  #1092    
Old December 19th, 2014 (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:
Thanks a ton man it is working
No problem. I'm glad it's working!
__________________
#172 Pichu
Supporter Collab January 2015
Friend Code: 1908-0841-4167
Reply With Quote
  #1093    
Old 4 Weeks 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
  #1094    
Old 4 Weeks Ago (08:56 PM).
Percy's Avatar
Percy
Known in the past as BlazikenXY
 
Join Date: Sep 2014
Location: Somewhere in the world, obviously
Age: 18
Gender: Male
Nature: Gentle
Quote originally posted by dsret:
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.

Oh, yeah, I don't need any mappers, now, 'cause I already have 2, and now I need Music Composer, and spriting. And, if you're friendly enough, VM me, and we can chat!
Reply With Quote
  #1095    
Old 4 Weeks 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:
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
  #1096    
Old 4 Weeks 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:
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
__________________
Reply With Quote
  #1097    
Old 4 Weeks 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:
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
  #1098    
Old 4 Weeks 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:
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
__________________
Reply With Quote
  #1099    
Old 3 Weeks Ago (05:58 AM).
GreenToxic
 
Join Date: Dec 2014
Gender: Male
I have to say it, this is a badass tutorial! Thank you for your hard work!
Reply With Quote
  #1100    
Old 3 Weeks Ago (02:10 AM).
DarkShedinja's Avatar
DarkShedinja
Progressing Rom Developer
 
Join Date: Apr 2014
Location: Philippines
Age: 17
Gender: Male
Nature: Lonely
Thank you for this awesome and really helpful Tutorial ! :D
__________________


PoKéMoN Celestia Version by Dark Shedinja

I believe in Jesus Christ my Savior. If you do too, and aren't scared to admit it, then copy and paste this into your signature.
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 10:23 PM.