The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > ROM Hacking Hub
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

ROM Hacking Hub General discussions about ROM Hacking and Emulation. Not sure where to start? This is the place for you.
Posting links to ROMs is illegal and is not tolerated anywhere on the forum.
New threads in this forum are to be approved by a moderator before they are displayed.


Advertise here

Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #76    
Old December 26th, 2008, 03:07 PM
BananasGoMoo's Avatar
BananasGoMoo
Pokemon Electrum
 
Join Date: Dec 2008
Location: Richmond, California
Age: 22
Gender:
Nature: Lax
Send a message via AIM to BananasGoMoo

Advertise here
ok well I updated XSE. whats new in this version? and how did you know I had an old version?
__________________
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.
  #77    
Old December 26th, 2008, 03:12 PM
12345's Avatar
12345
Sky
 
Join Date: Aug 2007
Gender: Male
Nature: Calm
Send a message via Windows Live Messenger to 12345
can you explan me how to use "callasm" in Ruby?
And when I use "showpokepic", the color of Pokemon is changed?
  #78    
Old December 26th, 2008, 05:06 PM
Ninja Caterpie's Avatar
Ninja Caterpie
Sitting by the back window
 
Join Date: Mar 2008
Location: Best City OCE
Age: 18
Gender: Male
Nature: Bold
Quote:
Originally Posted by BananasGoMoo View Post
ok well I updated XSE. whats new in this version? and how did you know I had an old version?
Because you used "boxset 6". In the new version, it's just
Code:
message <pointer> 0x<messagetype>
Anyway...
Quote:
can you explan me how to use "callasm" in Ruby?
Callasm is used to call some special thing that you've inserted into the ROM, like with that Shiny Creator program thing. :\
__________________
Brony represent.
  #79    
Old December 26th, 2008, 05:33 PM
ShakawBR
Beginning Trainer
 
Join Date: May 2008
Gender:
Can someone show me an example of a Wildbattle script (legendary) for Emerald Version...

Thanks in advance
  #80    
Old December 26th, 2008, 06:39 PM
Ninja Caterpie's Avatar
Ninja Caterpie
Sitting by the back window
 
Join Date: Mar 2008
Location: Best City OCE
Age: 18
Gender: Male
Nature: Bold
Quote:
Originally Posted by ShakawBR View Post
Can someone show me an example of a Wildbattle script (legendary) for Emerald Version...

Thanks in advance
Go to the Groudon Script and open it. There's your example right in the game.
__________________
Brony represent.
  #81    
Old December 26th, 2008, 06:57 PM
ShakawBR
Beginning Trainer
 
Join Date: May 2008
Gender:
Quote:
Originally Posted by Ninja Caterpie View Post
Go to the Groudon Script and open it. There's your example right in the game.
I tried it... but the scripts in Emerald are different from the ones I found in the forum, I tried a lot but without success =/

thanks anyway...

here's my script, the cry and the message box appears, but the battle don't start... please tell me whats wrong

Spoiler:
#org 0x86B46BC
'-----------------------------------
cry 0x96 0x0
message 0x8E3D01F ' Mewtwo: GRRR!
waitcry
playsound 0x0 0x0
waitbutton
battle 0x96 0x46 0x0
fadescreen 0x1 ' Fade screen to black
setflag 0x1001
fadescreen 0x0 ' Fade back into the action from black
release
end


#org 0x8E3D01F
= Mewtwo: GRRR!

Last edited by ShakawBR; December 26th, 2008 at 07:48 PM.
  #82    
Old December 26th, 2008, 08:33 PM
Vrai
can you feel my heart?
 
Join Date: Jun 2008
Age: 20
Gender: Male
Nature: Adamant
Send a message via Windows Live Messenger to Vrai
The command "battle" doesn't exist in XSE. Try "wildbattle".
__________________
aka Zebraiken | pairs; Ω & ζ | bffl; λ | now; Ϟ | twin; ξ | brother; φ | sister; Ψ | neeks; Ϫ
  #83    
Old December 27th, 2008, 01:06 AM
Hiche..'s Avatar
Hiche..
 
 
Join Date: Apr 2008
Quote:
Originally Posted by ShakawBR View Post
I tried it... but the scripts in Emerald are different from the ones I found in the forum, I tried a lot but without success =/

thanks anyway...

here's my script, the cry and the message box appears, but the battle don't start... please tell me whats wrong

Spoiler:
#org 0x86B46BC
'-----------------------------------
cry 0x96 0x0
message 0x8E3D01F ' Mewtwo: GRRR!
waitcry
playsound 0x0 0x0
waitbutton
battle 0x96 0x46 0x0
fadescreen 0x1 ' Fade screen to black
setflag 0x1001
fadescreen 0x0 ' Fade back into the action from black
release
end


#org 0x8E3D01F
= Mewtwo: GRRR!
I think in the new version of XSE, the wildbattle command is setwildbattle. So, change battle to setwildbattle. If this doesn't work, then try wildbattle, or startwildbattle.
  #84    
Old December 27th, 2008, 01:26 AM
Madridista's Avatar
Madridista
-#666
 
Join Date: Nov 2008
Location: Sydney, Australia
Age: 18
Gender:
Game: Fire Red
Type: Trigger
Editor: eXtreme Script Editor
Problem: The script won't even start and the game freezes.
Script:
Spoiler:
#dynamic 0x800000

#org @main
lock
checkflag 0x200
if 0x1 goto @yes
if 0x0 goto @no
end

#org @yes
end

#org @no
fadescreen 0x1
msgbox @help
callstd 0x6
msgbox @mum
callstd 0x6
msgbox @help2
callstd 0x6
fadescreen 0x0
msgbox @mum2
callstd 0x6
release
end

#org @help
= Mum: \v\h01, help!

#org @mum
= \v\h01: Mum?!\pWhere are you?!

#org @help2
= Mum: Help!

#org @mum2
= \v\h01: Mum!
  #85    
Old December 27th, 2008, 01:35 AM
Hiche..'s Avatar
Hiche..
 
 
Join Date: Apr 2008
Quote:
Originally Posted by Madridista View Post
Game: Fire Red
Type: Trigger
Editor: eXtreme Script Editor
Problem: The script won't even start and the game freezes.
Script:
Spoiler:
#dynamic 0x800000

#org @main
lock
checkflag 0x200
if 0x1 goto @yes
if 0x0 goto @no
end

#org @yes
end

#org @no
fadescreen 0x1
msgbox @help
callstd 0x6
msgbox @mum
callstd 0x6
msgbox @help2
callstd 0x6
fadescreen 0x0
msgbox @mum2
callstd 0x6
release
end

#org @help
= Mum: \v\h01, help!

#org @mum
= \v\h01: Mum?!\pWhere are you?!

#org @help2
= Mum: Help!

#org @mum2
= \v\h01: Mum!
Did you set the Unknown to 0003, and var number to 5040, or 4050 in Advance Map? Also, are you using the new version of XSE, or old one?
  #86    
Old December 27th, 2008, 03:23 AM
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
Quote:
Originally Posted by ShakawBR View Post
I tried it... but the scripts in Emerald are different from the ones I found in the forum, I tried a lot but without success =/

thanks anyway...

here's my script, the cry and the message box appears, but the battle don't start... please tell me whats wrong

Spoiler:
#org 0x86B46BC
'-----------------------------------
cry 0x96 0x0
message 0x8E3D01F ' Mewtwo: GRRR!
waitcry
playsound 0x0 0x0
waitbutton
battle 0x96 0x46 0x0
fadescreen 0x1 ' Fade screen to black
setflag 0x1001
fadescreen 0x0 ' Fade back into the action from black
release
end


#org 0x8E3D01F
= Mewtwo: GRRR!
Using the new XSE there are two wildbattle constructs: wildbattle and wildbattle2. The latter is the one which includes a special. The first one instead is the one which is a "common" battle.

Note: since I don't know what the people # is on AM (the Mewtwo one) I just used 0x1 as a matter of example. Change it eventually.

Spoiler:
#dynamic 0x86B46BC

#org @start
cry 0x96 0x0
message @grr
waitcry
wildbattle 0x96 0x46 0x0
fadescreen 0x1
hidesprite 0x1
setflag 0x1001
fadescreen 0x0
release
end

#org @grr
= Mewtwo: GRRR!


Quote:
Originally Posted by Hiche View Post
I think in the new version of XSE, the wildbattle command is setwildbattle. So, change battle to setwildbattle. If this doesn't work, then try wildbattle, or startwildbattle.
The fact is wildbattle wasn't a command earlier. It was a construct and still is, with a new companion, that is wildbattle2. Explanation above or in the Command Help.


Quote:
Originally Posted by Madridista View Post
Game: Fire Red
Type: Trigger
Editor: eXtreme Script Editor
Problem: The script won't even start and the game freezes.
Script:
Spoiler:
#dynamic 0x800000

#org @main
lock
checkflag 0x200
if 0x1 goto @yes
if 0x0 goto @no
end

#org @yes
end

#org @no
fadescreen 0x1
msgbox @help
callstd 0x6
msgbox @mum
callstd 0x6
msgbox @help2
callstd 0x6
fadescreen 0x0
msgbox @mum2
callstd 0x6
release
end

#org @help
= Mum: \v\h01, help!

#org @mum
= \v\h01: Mum?!\pWhere are you?!

#org @help2
= Mum: Help!

#org @mum2
= \v\h01: Mum!
Pretty screwed up...
Please update your copy of XSE and read the new guide as well.
Don't forget to se up the trigger like this:




Spoiler:
#dynamic 0x800000

#org @main
lock
checkflag 0x1000
if 0x1 goto @yes
fadescreen 0x1
msgbox @help 0x6
msgbox @mum 0x6
msgbox @help2 0x6
fadescreen 0x0
msgbox @mum2 0x6
setflag 0x1000
release
end

#org @yes
release
end

#org @help
= Mum: \v\h01, help!

#org @mum
= \v\h01: Mum?!\pWhere are you?!

#org @help2
= Mum: Help!

#org @mum2
= \v\h01: Mum!



EDIT: Proving a proper example for the use of the [SOLVED] tag.
__________________
  #87    
Old December 27th, 2008, 05:50 AM
ShakawBR
Beginning Trainer
 
Join Date: May 2008
Gender:
Quote:
Originally Posted by Vrai View Post
The command "battle" doesn't exist in XSE. Try "wildbattle".
I tried it now but I get a mismatch error on "wildbattle" line
  #88    
Old December 27th, 2008, 06:26 AM
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
Quote:
Originally Posted by ShakawBR View Post
I tried it now but I get a mismatch error on "wildbattle" line
I just noticed your #dynamic was wrong.
And that I was missing a param for message. The rest is perfect though.
See the script below:

Spoiler:
#dynamic 0x6B46BC

#org @start
cry 0x96 0x0
message @grr 0x6
waitcry
wildbattle 0x96 0x46 0x0
fadescreen 0x1
hidesprite 0x1
setflag 0x1001
fadescreen 0x0
release
end

#org @grr
= Mewtwo: GRRR!
__________________
  #89    
Old December 27th, 2008, 08:31 AM
Hoshiko Aki's Avatar
Hoshiko Aki
Avatar rules
 
Join Date: Oct 2008
Help with this give away script using XSE

Whats wrong with it?

He say's something wrong on line 5

Code:
#dynamic 0x800000
#org @start
checkflag 0x828
if 0x1 goto @done
msgbox @1
boxset 0x5
compare LASTRESULT 0x1
if 0x1 goto @take
msgbox @2
boxset 0x6
release
end

#org @take
givepokemon 0x98 0x4 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @3
boxset 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @4
boxset 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @5
boxset 0x6
release
end

#org @name
call 0x1A74EB
return

#org @done
msgbox @6
boxset 0x6
release
end

#org @1
= Hello.\nSorry to trouble you.\nI can't take care\nof my Krabby.\pCan you take care of\nit for me?

#org @2
= That's okay.\pI'm sure someone else will\ntake it.

#org @3
= \c\h01\h02You received a Krabby!

#org @4
= \c\h01\h02Would you like to give a\nnickname to Krabby?

#org @5
= Please take care of\nKrabby.

#org @6
= Are you taking good care\nof krabby?
  #90    
Old December 27th, 2008, 08:33 AM
Vrai
can you feel my heart?
 
Join Date: Jun 2008
Age: 20
Gender: Male
Nature: Adamant
Send a message via Windows Live Messenger to Vrai
You have the new XSE, right?

You have to move the boxset type up to the msgbox line now. So, it'd be:

Code:
msgbox @1 0x5
That goes for all of the msgbox commands.
__________________
aka Zebraiken | pairs; Ω & ζ | bffl; λ | now; Ϟ | twin; ξ | brother; φ | sister; Ψ | neeks; Ϫ
  #91    
Old December 27th, 2008, 08:38 AM
Hoshiko Aki's Avatar
Hoshiko Aki
Avatar rules
 
Join Date: Oct 2008
@vrai :

I must change the

Code:
msgbox @1
to
Code:
msgbox @1 0x5
And yes I'm using the new XSE
  #92    
Old December 27th, 2008, 08:40 AM
Vrai
can you feel my heart?
 
Join Date: Jun 2008
Age: 20
Gender: Male
Nature: Adamant
Send a message via Windows Live Messenger to Vrai
Yes, do that. And remove the "boxset 0x5" line. :D
__________________
aka Zebraiken | pairs; Ω & ζ | bffl; λ | now; Ϟ | twin; ξ | brother; φ | sister; Ψ | neeks; Ϫ
  #93    
Old December 27th, 2008, 08:43 AM
Hiche..'s Avatar
Hiche..
 
 
Join Date: Apr 2008
Ichiro, I fixed your script

Spoiler:
#dynamic 0x800000

#org @start
checkflag 0x828
if 0x1 goto @done
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 goto @take
msgbox @2 0x6
release
end

#org @take
givepokemon 0x98 0x4 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @3 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @5 0x6
release
end

#org @name
setvar 0x8004 0x00
call 0x1A74EB
return

#org @done
msgbox @6 0x6
release
end

#org @1
= Hello.\nSorry to trouble you.\nI can't take care\nof my Krabby.\pCan you take care of\nit for me?

#org @2
= That's okay.\pI'm sure someone else will\ntake it.

#org @3
= \c\h01\h02You received a Krabby!

#org @4
= \c\h01\h02Would you like to give a\nnickname to Krabby?

#org @5
= Please take care of\nKrabby.

#org @6
= Are you taking good care\nof krabby?


Also, read the new XSE guide. It's very helpful.
  #94    
Old December 27th, 2008, 08:45 AM
Hoshiko Aki's Avatar
Hoshiko Aki
Avatar rules
 
Join Date: Oct 2008
Thanks a lot both of you.

Can somebuddy tell me how to make a give away script with no trainer? i mean you walk on one spot en then you get that pokemon
  #95    
Old December 27th, 2008, 08:48 AM
Konekodemon's Avatar
Konekodemon
The Master of Pokemon Breeding
Community Supporter
 
Join Date: Mar 2007
Location: NC
Age: 29
Gender: Female
Nature: Jolly
Send a message via ICQ to Konekodemon Send a message via AIM to Konekodemon Send a message via Windows Live Messenger to Konekodemon Send a message via Yahoo to Konekodemon Send a message via Skype™ to Konekodemon
how do I change the title screen, you know the title screen that pops up after the intro with the name of the game on it, how do I change the picture on it
__________________

Please check out my InuYasha fanfiction and tell me what you think.
Sign up for Vizzard to play free Retro Games online: http://www.vizzed.com/boards/profile...1549&ref=61528
[/sig-reason]
  #96    
Old December 27th, 2008, 08:50 AM
ShakawBR
Beginning Trainer
 
Join Date: May 2008
Gender:
I DID IT!! =D

and here's the script:
Spoiler:
'---------------
#org 0x6D1596
cry 0x96 0x0
msgbox 0x86D15B8 MSG_NORMAL '"Mewtwo: GRRR!"
waitcry
wildbattle 0x96 0x46 0x0
fadescreen 0x1
hidesprite LASTTALKED
setflag 0x1001
fadescreen 0x0
release
end


'---------
' Strings
'---------
#org 0x6D15B8
= Mewtwo: GRRR!


but how do I change the background and the music

by the way... the battle music is strange...
  #97    
Old December 27th, 2008, 08:52 AM
Konekodemon's Avatar
Konekodemon
The Master of Pokemon Breeding
Community Supporter
 
Join Date: Mar 2007
Location: NC
Age: 29
Gender: Female
Nature: Jolly
Send a message via ICQ to Konekodemon Send a message via AIM to Konekodemon Send a message via Windows Live Messenger to Konekodemon Send a message via Yahoo to Konekodemon Send a message via Skype™ to Konekodemon
what does that have to do with my question
__________________

Please check out my InuYasha fanfiction and tell me what you think.
Sign up for Vizzard to play free Retro Games online: http://www.vizzed.com/boards/profile...1549&ref=61528
[/sig-reason]
  #98    
Old December 27th, 2008, 08:54 AM
Hiche..'s Avatar
Hiche..
 
 
Join Date: Apr 2008
Quote:
Originally Posted by Konekodemon View Post
how do I change the title screen, you know the title screen that pops up after the intro with the name of the game on it, how do I change the picture on it
Quote:
Originally Posted by Konekodemon View Post
what does that have to do with my question
This is not really the place to be asking how to change the title screen. Read some tutorials, or ask in the Simple question thread.
  #99    
Old December 27th, 2008, 08:57 AM
Vrai
can you feel my heart?
 
Join Date: Jun 2008
Age: 20
Gender: Male
Nature: Adamant
Send a message via Windows Live Messenger to Vrai
Quote:
Originally Posted by Konekodemon View Post
what does that have to do with my question
Also, please don't be rude. Not everybody who posts here is entirely concerned with your problem.

We're starting to get out of the correct format. Everyone else who needs help with a problem here needs to post in the format specified in this post.

If you don't, you probably won't get help. :D
__________________
aka Zebraiken | pairs; Ω & ζ | bffl; λ | now; Ϟ | twin; ξ | brother; φ | sister; Ψ | neeks; Ϫ
  #100    
Old December 27th, 2008, 09:16 AM
HackMew's Avatar
HackMew
Mewtwo Strikes Back
 
Join Date: Jun 2006
Quote:
Originally Posted by ShakawBR View Post
and here's the script:
Spoiler:
'---------------
#org 0x6D1596
cry 0x96 0x0
msgbox 0x86D15B8 MSG_NORMAL '"Mewtwo: GRRR!"
waitcry
wildbattle 0x96 0x46 0x0
fadescreen 0x1
hidesprite LASTTALKED
setflag 0x1001
fadescreen 0x0
release
end


'---------
' Strings
'---------
#org 0x6D15B8
= Mewtwo: GRRR!


but how do I change the background and the music

by the way... the battle music is strange...
Don't forget the [SOLVED] tag, okay? Anyways, the battle music isn't that strange. But after all you aren't supposed to battle Pokémon in Littleroot Town :P You may want to try wildbattle2. It has an extra param that can be useful to get the "legend" style.


Quote:
Originally Posted by Ichiro Kazuki View Post
Help with this give away script using XSE

Whats wrong with it?

He say's something wrong on line 5 [...]
Actually it doesn't say so. It says there are too less parameters. And if you checked the Command Help (or even better the guide) you would have understood how to fix it. I improved the error messages for a reason. You should care more about them.
__________________
Closed Thread
Quick Reply

Sponsored Links


Advertise here
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:03 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.