Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Reload this Page [Tutorial] diegoisawesome's MEGA-HUGE XSE Scripting Tutorial

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
 
Thread Tools
  #301    
Old December 8th, 2009 (06:33 PM). Edited December 16th, 2009 by rokrdude.
rokrdude's Avatar
rokrdude rokrdude is offline
POKEMON : SINNOH QUEST CREATOR
 
Join Date: Oct 2009
Gender: Male
Posts: 136
I want to make national dex (instead of normal region pokedex) available at the
start of ruby game

What changes should i do in the script(Im using XSE)?
__________________
If U wanna play a ruby hack which is COMPLETE and has ALL SINNOH REGION POKEMON
(All Capturable)



Anyone interested in making Titlescreen or banners kindly contact me or post on the thread


Pokemon Sinnoh Quest
http://www.pokecommunity.com/showthread.php?t=203273


SALIENT FEATURES AND SCREENSHOTS

Spoiler:
1) 385 Pokemon available in the game which are placed strategically throught the game i.e ALL Sinnoh pokemon and 85% of pokemon from Kanto,Jonto and Hoenn
!!!!ALL ARE CAPTURABLE!!!

2) Some d/p Exclusive attacks added like Aura Sphere,Dark Pulse,Close Combat


Reply With Quote
  #302    
Old December 20th, 2009 (07:32 AM).
GeloVosalv GeloVosalv is offline
 
Join Date: Oct 2009
Gender: Male
Posts: 6
Looks pretty handy. But I still can't even get it to work by copying every character :/ Any, would it be possible to receive the egg. And that a person wouldn't let you go farther if the egg didn't hatch yet?
Reply With Quote
  #303    
Old December 20th, 2009 (09:33 AM).
Tropical Sunlight's Avatar
Tropical Sunlight Tropical Sunlight is offline
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 19
Gender: Male
Posts: 3,578
Send a message via Windows Live Messenger to Tropical Sunlight
Quote originally posted by GeloVosalv:
Looks pretty handy. But I still can't even get it to work by copying every character :/ Any, would it be possible to receive the egg. And that a person wouldn't let you go farther if the egg didn't hatch yet?
giveegg (pokemon) and checkpokemon (the same pokemon) if 0x0 goto @you_cant_go_yet
__________________
Reply With Quote
  #304    
Old December 25th, 2009 (06:38 PM).
lbirrueta's Avatar
lbirrueta lbirrueta is offline
HAXXING'
 
Join Date: Aug 2009
Location: san jo'
Gender: Male
Nature: Relaxed
Posts: 31
how do you know how many bytes you will need for a script before using FSF? as in, what amount for a simple script or a big script?
Reply With Quote
  #305    
Old December 26th, 2009 (12:10 AM).
Tropical Sunlight's Avatar
Tropical Sunlight Tropical Sunlight is offline
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 19
Gender: Male
Posts: 3,578
Send a message via Windows Live Messenger to Tropical Sunlight
Quote originally posted by lbirrueta:
how do you know how many bytes you will need for a script before using FSF? as in, what amount for a simple script or a big script?
If you are using dynamic offsets you don't even need to know the offset you write it on. Just simply open your ROM at 0x800000 and compile your script. Be sure to turn off the Compile Log and view the offset that @start was wrote in. That's the offset you put in A-Map.
__________________
Reply With Quote
  #306    
Old December 30th, 2009 (08:07 PM).
altariaking's Avatar
altariaking altariaking is offline
Needs NO VMs...
 
Join Date: Dec 2009
Location: Scotland, Lesmahagow
Age: 40
Gender: Male
Nature: Naive
Posts: 1,098
Send a message via Windows Live Messenger to altariaking
how would I make a script where you watch a battle at the beggining of the game?
Reply With Quote
  #307    
Old January 1st, 2010 (11:26 AM).
midnight ride midnight ride is offline
none
 
Join Date: Jun 2009
Age: 22
Gender: Male
Nature: Timid
Posts: 7
I'm having a problem with my wild battle script
Spoiler:

'---------------
#org 0x8005B6
lock
faceplayer
msgbox 0x88005D9 0x6 '"MISDREAVUS: ......."
cry 0x6 0x0
wildbattle 0xC8 0x5 0x8B
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x200
release
end

'---------
' Strings
'---------
#org 0x8005D9
= MISDREAVUS: .......


After I defeat or capture him he disappears until I move then the sprite reappears and I can battle him again. What have I done wrong with the script? And if it matters I'm using a firered ROM.
Reply With Quote
  #308    
Old January 1st, 2010 (11:31 AM).
diegoisawesome's Avatar
diegoisawesome diegoisawesome is online now
Please understand
Silver Tier
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 18
Gender: Male
Nature: Quirky
Posts: 974
Quote originally posted by midnight ride:
I'm having a problem with my wild battle script
Spoiler:

'---------------
#org 0x8005B6
lock
faceplayer
msgbox 0x88005D9 0x6 '"MISDREAVUS: ......."
cry 0x6 0x0
wildbattle 0xC8 0x5 0x8B
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x200
release
end

'---------
' Strings
'---------
#org 0x8005D9
= MISDREAVUS: .......


After I defeat or capture him he disappears until I move then the sprite reappears and I can battle him again. What have I done wrong with the script? And if it matters I'm using a firered ROM.
On Misdreavus's overworld in A-Map, change its Person ID to 0200.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Diego's Miscellaneous Patches
GBA Intro Manager
Reply With Quote
  #309    
Old January 1st, 2010 (04:58 PM).
midnight ride midnight ride is offline
none
 
Join Date: Jun 2009
Age: 22
Gender: Male
Nature: Timid
Posts: 7
Quote originally posted by diegoisawesome:
On Misdreavus's overworld in A-Map, change its Person ID to 0200.
I just changed the person ID but it still reappears.
Reply With Quote
  #310    
Old January 1st, 2010 (09:43 PM). Edited January 1st, 2010 by Yusshin.
Yusshin's Avatar
Yusshin Yusshin is offline
♪ Yggdrasil ♪
 
Join Date: Jul 2009
Location: Quebec, Canada
Age: 22
Nature: Brave
Posts: 2,424
I don't understand the FSF offsets; does this need to be different for every script? Or is it always x8000000(blahblah)? For different types of messages, does this number change?

Oh, and I get an error when I launch the game ): 'cause this guide, although it does entail a lot of things, doesn't explain why things go in certain places very well. My tiny script doesn't look anything like the in-game NPC scripts. I don't get why I error right on start-up, either, since I modified the mother NPC on the first floor of the house.

When I launch Fire Red, I get this (after the "Press Start" screen):

"The 1M sub-circuit board is not installed"

What's that?

This is my NPC modification btw:

Code:
#dynamic 0x800000

#org @start
lock
faceplayer
textcolor 0x01
checkflag 0x200
if 0x1 goto @violaiswaiting
msgbox @1 0x6
applymovement 0x01 @move
waitmovement 0x0
applymovement 0xFF @move2
pause 0x30
release
end

#org @1
= Mom: Oh \v\h01! You're finally awake!\pProfessor Viola came by earlier;\n she wanted to talk to you but\n you were asleep.\pYou should go visit her.\n It appeared urgent.
setflag 0x200

#org @violaiswaiting
= Mom: You should go visit Viola;\n she should be in her laboratory.

#org @move
#raw 0x01
#raw 0xFE

#org @move2
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0xFE
I don't even think it actually makes it into the game, since when I click on "Open Script" in Advanced Map, it displays the old script still.

What's wrong with it?
__________________


Polaret | Fourette | Ecuret | Axew | Zorua | Nanette [Shiny]
"My scar makes me sassy, child!"
The Big Bang Theory Fan Club - Click To Join!
The French Club
Reply With Quote
  #311    
Old January 2nd, 2010 (05:57 AM).
diegoisawesome's Avatar
diegoisawesome diegoisawesome is online now
Please understand
Silver Tier
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 18
Gender: Male
Nature: Quirky
Posts: 974
Quote originally posted by Yusshin:
I don't understand the FSF offsets; does this need to be different for every script? Or is it always x8000000(blahblah)? For different types of messages, does this number change?

Oh, and I get an error when I launch the game ): 'cause this guide, although it does entail a lot of things, doesn't explain why things go in certain places very well. My tiny script doesn't look anything like the in-game NPC scripts. I don't get why I error right on start-up, either, since I modified the mother NPC on the first floor of the house.

When I launch Fire Red, I get this (after the "Press Start" screen):

"The 1M sub-circuit board is not installed"

What's that?

This is my NPC modification btw:

Code:
#dynamic 0x800000

#org @start
lock
faceplayer
textcolor 0x01
checkflag 0x200
if 0x1 goto @violaiswaiting
msgbox @1 0x6
applymovement 0x01 @move
waitmovement 0x0
applymovement 0xFF @move2
pause 0x30
release
end

#org @1
= Mom: Oh \v\h01! You're finally awake!\pProfessor Viola came by earlier;\n she wanted to talk to you but\n you were asleep.\pYou should go visit her.\n It appeared urgent.
setflag 0x200

#org @violaiswaiting
= Mom: You should go visit Viola;\n she should be in her laboratory.

#org @move
#raw 0x01
#raw 0xFE

#org @move2
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0xFE
I don't even think it actually makes it into the game, since when I click on "Open Script" in Advanced Map, it displays the old script still.

What's wrong with it?
You forgot to press the "Compile" button on XSE and paste the offset on the mom's NPC.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Diego's Miscellaneous Patches
GBA Intro Manager
Reply With Quote
  #312    
Old January 3rd, 2010 (10:51 AM). Edited January 3rd, 2010 by locoroco.
locoroco's Avatar
locoroco locoroco is offline
Ginga Densetsu Weed ANIME PWNS
 
Join Date: Oct 2009
Location: Manati, Puerto rico
Age: 19
Gender: Male
Nature: Relaxed
Posts: 251
Send a message via Windows Live Messenger to locoroco
i cant get my normal msg to work each time i try to play it the player on wish i put on my script doesn't say anything i need to know what i did wrong

#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @1 0x6
release
end

#org @1
= Do you have any pokemon.\nCheck if PROF.OAK\lgives you one.

and this is how it looks after i compile it and put it on a sprite in a-map

'-----------------------
#org 0x4567DE
lock
faceplayer
msgbox 0x84567E9 '"Will you get any\npokemon check if\..."
release
end


'---------
' Strings
'---------
#org 0x4567E9
= Will you get any\npokemon check if\lPROF.OAK will give you\lany.

im using fire red help!!!
__________________
This signature has been disabled.
Signature needs to be kept to a 600px x 400px area. Your long line of text pushes it over the limit. Put a few enters there and you will be able to get it inside the limits.
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
  #313    
Old January 4th, 2010 (03:44 PM).
ChaosNinjat's Avatar
ChaosNinjat ChaosNinjat is offline
Dragon Ranger
 
Join Date: Dec 2009
Location: Teh Pub
Age: 22
Gender: Male
Nature: Adamant
Posts: 23
Hey, this is a really great tutorial, but I just need some help with one piece of script:

I've changed the wording that your 'Mum' uses slightly in my Hack, so ithe script reads like this:

Spoiler:
'-----------------------
#org 0x168C09
lock
faceplayer
checkflag 0x258
if 0x1 goto 0x8168C4A
checkgender
compare LASTRESULT 0x0
if 0x1 call 0x8168C38
compare LASTRESULT 0x1
if 0x1 call 0x8168C41
closeonkeypress
applymovement 0x1 0x81A75E5
waitmovement 0x0
release
end

'-----------------------
#org 0x168C4A
msgbox 0x818D3D1 '"ou."
callstd 0x4
closeonkeypress
call 0x81A6C26
msgbox 0x818D3F8 '"MOM: Oh, good! You and your\nPOKéMO..."
callstd 0x4
release
end

'-----------------------
#org 0x168C38
msgbox 0x818D2F0 '"MOM: [.]Right.\nAll boys leave home..."
callstd 0x4
return

'-----------------------
#org 0x168C41
msgbox 0x818D360 '"MOM: [.]Right.\nAll girls dream of ..."
callstd 0x4
return

'-----------------------
#org 0x1A6C26
fadescreen 0x1
fanfare 0x100
waitfanfare
special 0x0
fadescreen 0x0
return


'-----------
' Movements
'-----------
#org 0x1A75E5
#raw 5A 'mov5A
#raw FE 'End of Movements


'---------
' Strings
'---------
#org 0x18D3D1
= ou.

#org 0x18D3F8
= MOM: Oh, good! You and your\nPOKéMON are looking great.\lDo your best!

#org 0x18D2F0
= MOM: [.]Right.\nAll boys leave home someday.\lIt said so on TV.\pOh, yes. PROF. REDWOOD, next door,\nwas looking for you.

#org 0x18D360
= MOM: [.]Right.\nAll girls dream of traveling.\lIt said so on TV.\pOh, yes. PROF. REDWOOD, next door,\nwas looking for you.


However after compiling it, it changes to this:

Spoiler:
'-----------------------
#org 0x168C09
lock
faceplayer
checkflag 0x258
if 0x1 goto 0x8168C4A
checkgender
compare LASTRESULT 0x0
if 0x1 call 0x8168C38
compare LASTRESULT 0x1
if 0x1 call 0x8168C41
closeonkeypress
applymovement 0x1 0x81A75E5
waitmovement 0x0
release
end

'-----------------------
#org 0x168C4A
msgbox 0x818D3D1 '"ou."
callstd 0x4
closeonkeypress
call 0x81A6C26
msgbox 0x818D3F8 '"MOM: Oh, good! You and your\nPOKéMO..."
callstd 0x4
release
end

'-----------------------
#org 0x168C38
msgbox 0x818D2F0 '"MOM: [.]Right.\nAll boys leave home..."
callstd 0x4
return

'-----------------------
#org 0x168C41
msgbox 0x818D360 '"MOM: [.]Right.\nAll girls dream of ..."
callstd 0x4
return

'-----------------------
#org 0x1A6C26
fadescreen 0x1
fanfare 0x100
waitfanfare
special 0x0
fadescreen 0x0
return


'-----------
' Movements
'-----------
#org 0x1A75E5
#raw 5A 'mov5A
#raw FE 'End of Movements


'---------
' Strings
'---------
#org 0x18D3D1
= ou.

#org 0x18D3F8
= MOM: Oh, good! You and your\nPOKéMON are looking great.\lDo your best!

#org 0x18D2F0
= MOM: [.]Right.\nAll boys leave home someday.\lIt said so on TV.\pOh, yes. PROF. REDWOOD, next door,\nwas looking for yMOM: [.]Right.\nAll girls dream of traveling.\lIt said so on TV.\pOh, yes. PROF. REDWOOD, next door,\nwas looking for you.

#org 0x18D360
= MOM: [.]Right.\nAll girls dream of traveling.\lIt said so on TV.\pOh, yes. PROF. REDWOOD, next door,\nwas looking for you.


You'll notice the ending line for a male protagonist is messed up. I'm not sure how to fix this, I've tried saving the script and saving changes, and saving the note, but I can't seem to keep it from changing. I'd really appreciate help with this :cer_smile:.
__________________
3DS friend code: 4699 - 5917 - 7953
Need a spriter? As long as I'm credited, I'm happy to help with what ever you need, just give me a PM
My Hacks:

Hacks I support:
Reply With Quote
  #314    
Old January 5th, 2010 (05:54 AM).
Satoshi Ookami's Avatar
Satoshi Ookami Satoshi Ookami is offline
Memento Mori
Gold Tier
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Posts: 13,289
Use new offsets...
You've extended the old offsets so it corrupted the other offsets.
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
Reply With Quote
  #315    
Old January 12th, 2010 (10:24 AM).
Co500's Avatar
Co500 Co500 is offline
You think you're strong? You're not.
Silver Tier
 
Join Date: Jun 2008
Location: Far Awayyyyyyy
Gender: Male
Posts: 550
there is a problem with this script every time i try to compile it it shows an error of the movements like 0x65, 0xfe and 0x10
Spoiler:
#Dynamic 0x800000

#ORG @START
Lock
FacePlayer
msgbox @Speak 0x6
applymovement 0xFF @move1
waitmovement 0x0
applymovement 0x01 @move2
waitmovement 0x0
msgbox @Shout 0x6
applymovement 0x01 @move3
waitmovement 0x0
Release
End

#ORG @Speak
= Hey you!

#org @move1
0x65
0xFE

#org @move2
0x10
0x10
0x10
0x10
0x10
0x10
0x10
0x10
0x66
0xFE

#org @shout
= Your here! meet me/nin the town up ahead!

#org @move3
0x1E
0x1E
0x1E
0x1E
0x1E
0x1E
0x1E
0x1E
0x60
0xFE
__________________
It can't end now. Not like this.


I hope you’ll remember, there is something good in goodbye.



Reply With Quote
  #316    
Old January 12th, 2010 (11:23 AM).
Satoshi Ookami's Avatar
Satoshi Ookami Satoshi Ookami is offline
Memento Mori
Gold Tier
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Posts: 13,289
Don't use different style of orgs
And also don't put text string into movement strings
Also you can try other offset... like 801000 etc...
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
Reply With Quote
  #317    
Old January 12th, 2010 (12:16 PM).
Co500's Avatar
Co500 Co500 is offline
You think you're strong? You're not.
Silver Tier
 
Join Date: Jun 2008
Location: Far Awayyyyyyy
Gender: Male
Posts: 550
ok that was fixed but now when executed the movements dont activate
this is the script before compiled
Spoiler:
#Dynamic 0x800025

#ORG @START
msgbox @Speak 0x6
applymovement 0xFF @move1
waitmovement 0x0
applymovement 0x01 @move2
waitmovement 0x0
msgbox @Shout 0x6
applymovement 0x01 @move3
waitmovement 0x0
Release
End

#ORG @Speak
= Hey you!

#org @move1
#raw 0x65
#raw 0xFE

#org @move2
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x66
#raw 0xFE

#org @shout
= Your here! meet me\nin the town up ahead!

#org @move3
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x60
#raw 0xFE

and this is it compiled
Spoiler:
'---------------
#org 0x8000A7
msgbox 0x88000D8 MSG_NORMAL '"Hey you!"
applymovement MOVE_PLAYER 0x88000E3
waitmovement 0x0
applymovement 0x1 0x88000E6
waitmovement 0x0
msgbox 0x88000F1 MSG_NORMAL '"Your here! meet me\nin the town up..."
applymovement 0x1 0x880011C
waitmovement 0x0
release
end


'---------
' Strings
'---------
#org 0x8000D8
= Hey you!

#org 0x8000F1
= Your here! meet me\nin the town up ahead!


'-----------
' Movements
'-----------
#org 0x8000E3
#raw 0x65 'Double Exclamation Mark (!!)
#raw 0xFE 'End of Movements

#org 0x8000E6
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x66 'Happy ()
#raw 0xFE 'End of Movements

#org 0x80011C
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x1E 'Step Up (Fast)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements
__________________
It can't end now. Not like this.


I hope you’ll remember, there is something good in goodbye.



Reply With Quote
  #318    
Old January 17th, 2010 (10:25 PM).
KingCyndaquil's Avatar
KingCyndaquil KingCyndaquil is offline
Pokemon Master
 
Join Date: Oct 2009
Location: Chicago
Gender: Male
Nature: Relaxed
Posts: 435
can somebody help fix this?

#dynamic 0x800000

#org @main
lock
faceplayer
msgbox @msg 0x6
release
end

#org @msg
= MOM: Go outside and get some\nfresh air honey!\p[player]: ok mom. ill go to\nprof. Elm and see what\nhe is up to.




lock
faceplayer
special 0x113
applymovement 0x7F @move
waitmovement 0x0
special 0x114
msgbox @msg 0x6
release
end

#org @move
#raw 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x11 0x11 0x11 0xFE


= SILVER: I need a good pokemon to start my adventure with\nill just take a pokemon here\

#org $script


i dont know whats wrong but it wont let me compile............... pm me if u know what 2 do

its two deffernt scripts also. i cant get the offset to work on the mom in the first. and the bottom one wont activate
__________________



3DS FC: 4184-2489-6268 (Pokemon Y)
Reply With Quote
  #319    
Old January 18th, 2010 (11:59 AM).
Satoshi Ookami's Avatar
Satoshi Ookami Satoshi Ookami is offline
Memento Mori
Gold Tier
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Posts: 13,289
#dynamic 0x800000

#org @main
lock
faceplayer
msgbox @msg 0x6
special 0x113
applymovement 0x7F @move
waitmovement 0x0
special 0x114
msgbox @msg 0x6
release
end

#org @msg
= MOM: Go outside and get some\nfresh air honey!\p[player]: ok mom. ill go to\nprof. Elm and see what\nhe is up to.

#org @move
#raw 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x12 0x11 0x11 0x11 0xFE

#org (Here's gotta be something)
= SILVER: I need a good pokemon to start my adventure with\nill just take a pokemon here\

#org $script (What's this?)

Could you say what the script should be doing?
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List
Reply With Quote
  #320    
Old January 23rd, 2010 (06:17 AM).
Muffin™'s Avatar
Muffin™ Muffin™ is offline
Knows your age
 
Join Date: Dec 2009
Location: sucking balls
Age: 4
Gender: Male
Nature: Calm
Posts: 429
Send a message via AIM to Muffin™
Help? every time I do the give pokemon script, this comes up:



The script is:
Code:
#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 0x85 0x5 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
call 0x1A74EB
return

#org @done
msgbox @6 0x6
release
end

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

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

#org @3
= [black_fr]You received a Charmander!

#org @4
= [black_fr]Would you like to give a\nnickname to Charmander?

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

#org @6
= Are you taking good care\nof Charmander?
LOL I'm still not finished with it
__________________
>>>/v/
Reply With Quote
  #321    
Old January 23rd, 2010 (06:36 AM).
Darthatron's Avatar
Darthatron Darthatron is offline
巨大なトロール。
Silver Tier
 
Join Date: Jan 2006
Location: Melbourne, Australia
Age: 23
Gender: Male
Nature: Modest
Posts: 1,152
Quote originally posted by Septile:
Help? every time I do the give pokemon script, this comes up:



The script is:
Code:
#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 0x85 0x5 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
call 0x1A74EB
return

#org @done
msgbox @6 0x6
release
end

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

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

#org @3
= [black_fr]You received a Charmander!

#org @4
= [black_fr]Would you like to give a\nnickname to Charmander?

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

#org @6
= Are you taking good care\nof Charmander?
LOL I'm still not finished with it
Looks like you are missing the std.rbc file. Re-download XSE and try the script again.
__________________
あなた は しきしゃ です
わたし は ばか です
Reply With Quote
  #322    
Old January 23rd, 2010 (06:43 AM).
diegoisawesome's Avatar
diegoisawesome diegoisawesome is online now
Please understand
Silver Tier
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 18
Gender: Male
Nature: Quirky
Posts: 974
Quote originally posted by Septile:
Help? every time I do the give pokemon script, this comes up:



The script is:
Code:
#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 0x85 0x5 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
call 0x1A74EB
return

#org @done
msgbox @6 0x6
release
end

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

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

#org @3
= [black_fr]You received a Charmander!

#org @4
= [black_fr]Would you like to give a\nnickname to Charmander?

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

#org @6
= Are you taking good care\nof Charmander?
LOL I'm still not finished with it
Methinks you didn't update XSE. You're still using 1.0. Remember the HUGE letters at the top of the tut: Update XSE Before Using This Tutorial Or It May Not Work As Defined or something like that.
What it's doing now is checking for the type of boxset right under the msgbox.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Diego's Miscellaneous Patches
GBA Intro Manager
Reply With Quote
  #323    
Old January 23rd, 2010 (06:45 AM).
Muffin™'s Avatar
Muffin™ Muffin™ is offline
Knows your age
 
Join Date: Dec 2009
Location: sucking balls
Age: 4
Gender: Male
Nature: Calm
Posts: 429
Send a message via AIM to Muffin™
Quote originally posted by Darthatron:
Looks like you are missing the std.rbc file. Re-download XSE and try the script again.
Thank you very much Darthatron ^.^


EDIT: And Diego x3
__________________
>>>/v/
Reply With Quote
  #324    
Old February 8th, 2010 (03:59 AM).
mikocoon mikocoon is offline
error? who cares?
 
Join Date: Jan 2010
Location: indonesia
Age: 21
Gender: Male
Nature: Quiet
Posts: 20
can you give me the values of all item for poke mart script? because mine ended with ????????? item.and how to activate national pokedex in ruby?(the script)
Reply With Quote
  #325    
Old February 8th, 2010 (08:22 AM).
rokrdude's Avatar
rokrdude rokrdude is offline
POKEMON : SINNOH QUEST CREATOR
 
Join Date: Oct 2009
Gender: Male
Posts: 136
Quote originally posted by mikocoon:
can you give me the values of all item for poke mart script? because mine ended with ????????? item.and how to activate national pokedex in ruby?(the script)


PokéScript
#raw 0x11 0x02 0x00 0x6B 0x02 0x02 0x11 0x03 0x01 0x6B 0x02 0x02
#raw 0x11 0xDA 0xBE 0x4E 0x02 0x02 0x11 0x67 0x5A 0x6A 0x02 0x02

XSE
writebytetooffset 0x2 0x2026B00
writebytetooffset 0x3 0x2026B01
writebytetooffset 0xDA 0x2024EBE
writebytetooffset 0x67 0x2026A5A

Item list(in hex)

Spoiler:


Master Ball 1
Ultra Ball 2
Great Ball 3
Poké Ball 4
Safari Ball 5
Net Ball 6
Dive Ball 7
Nest Ball 8
Repeat Ball 9
Timer Ball A
Luxury Ball B
Premier Ball C
Potion D
Antidote E
Burn Heal F
Ice Heal 10
Awakening 11
Parlyz Heal 12
Full Restore 13
Max Potion 14
Hyper Potion 15
Super Potion 16
Full Heal 17
Revive 18
Max Revive 19
Fresh Water 1A
Soda Pop 1B
Lemonade 1C
Moomoo Milk 1D
Energypowder 1E
Energy Root 1F
Heal Powder 20
Revival Herb 21
Ether 22
Max Ether 23
Elixir 24
Max Elixir 25
Lava Cookie 26
Blue Flute 27
Yellow Flute 28
Red Flute 29
Black Flute 2A
White Flute 2B
Berry Juice 2C
Sacred Ash 2D
Shoal Salt 2E
Shoal Shell 2F
Red Shard 30
Blue Shard 31
Yellow Shard 32
Green Shard 33
HP Up 3F
Protein 40
Iron 41
Carbos 42
Calcium 43
Rare Candy 44
PP Up 45
Zinc 46
PP Max 47
Guard Spec. 49
Dire Hit 4A
X Attack 4B
X Defend 4C
X Speed 4D
X Accuracy 4E
X Special 4F
Poké Doll 50
Fluffy Tail 51
Super Repel 53
Max Repel 54
Escape Rope 55
Repel 56
Sun Stone 5D
Moon Stone 5E
Fire Stone 5F
Thunderstone 60
Water Stone 61
Leaf Stone 62
Tinymushroom 67
Big Mushroom 68
Pearl 6A
Big Pearl 6B
Stardust 6C
Star Piece 6D
Nugget 6E
Heart Scale 6F
Orange Mail 79
Harbor Mail 7A
Glitter Mail 7B
Mech Mail 7C
Wood Mail 7D
Wave Mail 7E
Bead Mail 7F
Shadow Mail 80
Tropic Mail 81
Dream Mail 82
Fab Mail 83
Retro Mail 84
Cheri Berry 85
Chesto Berry 86
Pecha Berry 87
Rawst Berry 88
Aspear Berry 89
Leppa Berry 8A
Oran Berry 8B
Persim Berry 8C
Lum Berry 8D
Sitrus Berry 8E
Figy Berry 8F
Wiki Berry 90
Mago Berry 91
Aguav Berry 92
Iapapa Berry 93
Razz Berry 94
Bluk Berry 95
Nanab Berry 96
Wepear Berry 97
Pinap Berry 98
Pomeg Berry 99
Kelpsy Berry 9A
Qualot Berry 9B
Hondew Berry 9C
Grepa Berry 9D
Tamato Berry 9E
Cornn Berry 9F
Magost Berry A0
Rabuta Berry A1
Nomel Berry A2
Spelon Berry A3
Pamtre Berry A4
Watmel Berry A5
Durin Berry A6
Belue Berry A7
Liechi Berry A8
Ganlon Berry A9
Salac Berry AA
Petaya Berry AB
Apicot Berry AC
Lansat Berry AD
Starf Berry AE
Enigma Berry AF
Brightpowder B3
White Herb B4
Macho Brace B5
Exp. Share B6
Quick Claw B7
Soothe Bell B8
Mental Herb B9
Choice Band BA
King's Rock BB
Silverpowder BC
Amulet Coin BD
Cleanse Tag BE
Soul Dew BF
Deepseatooth C0
Deepseascale C1
Smoke Ball C2
Everstone C3
Focus Band C4
Lucky Egg C5
Scope Lens C6
Metal Coat C7
Leftovers C8
Dragon Scale C9
Light Ball CA
Soft Sand CB
Hard Stone CC
Miracle Seed CD
Blackglasses CE
Black Belt CF
Magnet D0
Mystic Water D1
Sharp Beak D2
Poison Barb D3
Nevermeltice D4
Spell Tag D5
Twistedspoon D6
Charcoal D7
Dragon Fang D8
Silk Scarf D9
Up-grade DA
Shell Bell DB
Sea Incense DC
Lax Incense DD
Lucky Punch DE
Metal Powder DF
Thick Club E0
Stick E1
Red Scarf FF
Blue Scarf 100
Pink Scarf 101
Green Scarf 102
Yellow Scarf 103
Mach Bike 104
Coin Case 105
Itemfinder 106
Old Rod 107
Good Rod 108
Super Rod 109
S.S. Ticket 10A
Contest Pass 10B
Wailmer Pail 10C
Devon Goods 10D
Soot Sack 10E
Basement Key 10F
Acro Bike 110
PokéBlock Case 111
Letter 112
Eon Ticket 113
Red Orb 114
Blue Orb 115
Scanner 116
Go-goggles 117
Meteorite 118
Rm. 1 Key 119
Rm. 2 Key 11A
Rm. 4 Key 11B
Rm. 6 Key 11C
Storage Key 11D
Root Fossil 11E
Claw Fossil 11F
Devon Scope 120
TM01 121
TM02 122
TM03 123
TM04 124
TM05 125
TM06 126
TM07 127
TM08 128
TM09 129
TM10 12A
TM11 12B
TM12 12C
TM13 12D
TM14 12E
TM15 12F
TM16 130
TM17 131
TM18 132
TM19 133
TM20 134
TM21 135
TM22 136
TM23 137
TM24 138
TM25 139
TM26 13A
TM27 13B
TM28 13C
TM29 13D
TM30 13E
TM31 13F
TM32 140
TM33 141
TM34 142
TM35 143
TM36 144
TM37 145
TM38 146
TM39 147
TM40 148
TM41 149
TM42 14A
TM43 14B
TM44 14C
TM45 14D
TM46 14E
TM47 14F
TM48 150
TM49 151
TM50 152
HM01 153
HM02 154
HM03 155
HM04 156
HM05 157
HM06 158
HM07 159
HM08 15A
Oak's Parcel 15D
Poké Flute 15E
Secret Key 15F
Bike Voucher 160
Gold Teeth 161
Old Amber 162
Card Key 163
Lift Key 164
Helix Fossil 165
Dome Fossil 166
Silph Scope 167
Bicycle 168
Town Map 169
VS Seeker 16A
Fame Checker 16B
TM Case 16C
Berry Pouch 16D
Teachy TV 16E
Tri-pass 16F
Rainbow Pass 170
Tea 171
Mysticticket 172
Auroraticket 173
Powder Jar 174
Ruby 175
Sapphire 176
__________________
If U wanna play a ruby hack which is COMPLETE and has ALL SINNOH REGION POKEMON
(All Capturable)



Anyone interested in making Titlescreen or banners kindly contact me or post on the thread


Pokemon Sinnoh Quest
http://www.pokecommunity.com/showthread.php?t=203273


SALIENT FEATURES AND SCREENSHOTS

Spoiler:
1) 385 Pokemon available in the game which are placed strategically throught the game i.e ALL Sinnoh pokemon and 85% of pokemon from Kanto,Jonto and Hoenn
!!!!ALL ARE CAPTURABLE!!!

2) Some d/p Exclusive attacks added like Aura Sphere,Dark Pulse,Close Combat


Reply With Quote
Reply
Quick Reply

Sponsored Links

You may also like.. (Beta)
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

Forum Jump


All times are UTC -8. The time now is 09:20 PM.