The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary Hack Tutorials (https://www.pokecommunity.com/forumdisplay.php?f=66)
-   -   Sierra's MEGA-HUGE XSE Scripting Tutorial (https://www.pokecommunity.com/showthread.php?t=164276)

Vince_27 May 24th, 2009 1:41 AM

Make sure you have XSE 1.0.1.
If it's the case I can't help you.

onyx79 May 24th, 2009 10:16 AM

nice tut! what is a level script?

notbob May 24th, 2009 6:29 PM

Quote:

Originally Posted by Mishiimoo (Post 4669460)
I have an error on making a signpost.



The error is : type mismatch on line 4. Missing dynamic label.

I've been trying everything, I even used your scripts almost word for word. How do I fix this?

Change @chicken to @1, it should work.

Pokepal17 May 25th, 2009 2:26 AM

Quote:

Originally Posted by onyx79 (Post 4671071)
nice tut! what is a level script?

A script which activates as soon as you enter a map.

Pokemon12345678901 May 25th, 2009 10:12 AM

I made a script for a battle, but it appears as Gary on the S.S. Anne. How do I make it have certain Pokemon, levels, battle sprites, and etc... Thank you in advance.

DarkPrince304 May 28th, 2009 4:40 AM

Hello Guys
This is my 1st post and I am a Beginner to scripting...
I just made this script to battle Ho-Oh

Quote:

#dynamic 0x800000
#org @start
lock
faceplayer
message @yesno
boxset 5
compare LASTRESULT 1
if b_true goto @yes
wildbattle 250 50 0 0 0 0
compare LASTRESULT 0
if b_true goto @no
release
end

#org @tutorial
= Are you sure you want to battle HO-OH?

#org @yes
message @pressyes
boxset 6
release
end

#org @no
message @pressno
boxset 6
release
end

#org @pressyes
= HO-OH Woke Up!\p HO-OH:Geeyaauugh!!

#org @pressno
= You left HO-OH...
Now
I have put Ho-oh in a room along with Lugia,Raikou,Entei,and Suicune
I want someone to make and explain me an event in which if I battle Any of the 5 pokemon the other 4 dissapear after the battle leaving a message..
I need a code for it

1 more thing
in the statement wildbattle 250 50 0 0 0 0
What do the other 4 zero's mean...I just typed that by seeing what other people did but I don't know what the other 4 zero's mean
Thank You :D

TomByrne May 29th, 2009 3:53 AM

???
 
Once you've got the script you want wha do you do with it? How do you import it into ADV map? or get it working in the rom?

NTA May 29th, 2009 4:26 AM

i made some changes to the wildbattle script
the cry came right after the message giving alot lesss time to play the cry
and the fadescreen was right but the player dissapeared right after the fadescreen not during it so i fixed that too :D

#dynamic 0x800000

#org @start
lock
faceplayer
cry 0x6 0x0
msgbox @1 0x6
wildbattle 0x6 0x1E 0x8B
fadescreen 0x1
hidesprite 0x800F
fadescreen 0x0
setflag 0x200
release
end

#org @1
= CHARIZARD: Raaarrgghh!

Kolossus May 29th, 2009 6:12 AM

Quote:

Originally Posted by Dark Swellow (Post 4657679)
Try remaking the script. ;)

could someone explain what he means by that? I am having the exact same problem. I change some of the existing script, then I try to save, but it just makes a new file for that script! Then when I close the script and open it again, it opens the old script. I can open mine, but it opens in a new tab. Even when I go 'compile' it still saves as a new file. Any help would be much appreciated

DarkPrince304 May 29th, 2009 11:11 AM

Umm Hi Guys I want to make a script with following information

I begin my adventure and as soon as I try to go down the stairs,mom comes up and says to go back to sleep as we have to choose our 1st pokemon tomorrow and then we go to sleep...

So I want it like when i go to stairs the mom blocks and when i have gone to sleep and wake up the mom is not blocking me anymore...Please help me
I pray for help please!!... :(
and please explain me the script too
Thank you very much :)

Hunter9098 June 1st, 2009 7:06 AM

Flags :/
 
I don't understand the flags at all :(
I just want my trainer to dissappear after battle
actually, i want it so he gives you an item after the battle, then dissappears. Everything works except i cant get him to dissappear :(:(:(
this sucks :(

DarkPrince304 June 1st, 2009 7:29 AM

Hey Hunter I have the same problem
Just see the Script Help Thread
Can anyone help us

PI Hudson June 1st, 2009 6:53 PM

1 Attachment(s)
I PM'ed Diego about a week ago to ask him if I should make this into a downloadable item, but Diego has't replied. This was to help combine the mess that the multiple posts in different areas had into one document. I took the liberty to make it anyway because Diego hasn't replied.

It was copied and pasted WORD FOR WORD, so there is no comments from me or anyone else in there

Sierraffinity June 2nd, 2009 2:45 PM

Quote:

Originally Posted by PI Hudson (Post 4706182)
I PM'ed Diego about a week ago to ask him if I should make this into a downloadable item, but Diego has't replied. This was to help combine the mess that the multiple posts in different areas had into one document. I took the liberty to make it anyway because Diego hasn't replied.

It was copied and pasted WORD FOR WORD, so there is no comments from me or anyone else in there

Thanks for making it, anyways. Sorry I didn't respond. I had stuff to do, like working on my hack and modding my Wii.

heatransoul June 6th, 2009 10:48 AM

When I do any wildbattle script, it freezes at the cry part.
I got the cry to work later, but then it freezes at the wildbattle.
Can you help me?
Here is the script:
Spoiler:

#dynamic 0x800000

#org @start
lock
faceplayer
msgbox @1 0x6
cry 0x194 0x2
wildbattle 0x194 0x32 0x8B
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x200
release
end

#org @1
= The wild Sudrak attacked!

Satoshi Ookami June 6th, 2009 10:52 AM

Ya didn't use checkflag... but it's just guess I don't know if it'll solve your problem

Sierraffinity June 6th, 2009 11:04 AM

Quote:

Originally Posted by heatransoul (Post 4721427)
When I do any wildbattle script, it freezes at the cry part.
I got the cry to work later, but then it freezes at the wildbattle.
Can you help me?
Here is the script:
Spoiler:

#dynamic 0x800000

#org @start
lock
faceplayer
msgbox @1 0x6
cry 0xC0 0x0
wildbattle 0xC0 0x32 0x8B
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x200
release
end

#org @1
= The wild Sudrak attacked!

There is no Pokémon, fake or otherwise, numbered 404 that is programmed or can be programmed into the game. I think you mean 0xC0.
And don't use effect number 0x2. Just to be safe, use 0x0.

heatransoul June 6th, 2009 11:48 AM

Quote:

Originally Posted by diegoisawesome (Post 4721476)
There is no Pokémon, fake or otherwise, numbered 404 that is programmed or can be programmed into the game. I think you mean 0xC0.
And don't use effect number 0x2. Just to be safe, use 0x0.

Well, I tried what you said, but it still froze on the Wildbattle.
Also, C0 is the number for Sunflora...
I believe that 383 in Hex is 17E...

Sierraffinity June 6th, 2009 11:56 AM

Quote:

Originally Posted by heatransoul (Post 4721662)
Well, I tried what you said, but it still froze on the Wildbattle.
Also, C0 is the number for Sunflora...
I believe that 383 in Hex is 17E...

What number Pokémon do you need?
EDIT: It may be a messed-up sprite.
That's what happened to me. Just re-insert the sprite at an offset that ends in 0.

heatransoul June 6th, 2009 12:00 PM

Quote:

Originally Posted by diegoisawesome (Post 4721702)
What number Pokémon do you need?
EDIT: It may be a messed-up sprite.
That's what happened to me. Just re-insert the sprite at an offset that ends in 0.

It's for Kyogre.
And how do you do the offset thing?

Sierraffinity June 6th, 2009 12:07 PM

Look somewhere else for that answer.
Sorry, but I have no time left.

Mr June 10th, 2009 2:32 AM

Nice Tutorial! This has a lot of information.

Tacoman4rmsj94 June 21st, 2009 12:11 AM

Can Someone Help Me With this script?
 
#Dynamic 0x000001

#org @start
lock
faceplayer
msgbox @blah 0x6
cry 0xF5 0x0
wildbattle 0xF5 0x32 0x0
hidesprite 0x1
release
end

#org @blah
= GYAOO!


everytime i stop fighting the pokemon the sprite dissapears but then immediately reappears after I move. Help Please.

Excalibur June 21st, 2009 12:41 AM

Tacoman4rmsj94, you have to set a flag on sprite and then use command setflag after hidesprite.

Chimchar 9 June 21st, 2009 8:38 AM

How do i stop a script from repeating??
I forgot cause i haven't scripted for a while.


All times are GMT -8. The time now is 8:11 PM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 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 - 2016 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.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.