Sierra's MEGA-HUGE XSE Scripting Tutorial Page 7

Started by Sierraffinity December 26th, 2008 6:55 PM
  • 776138 views
  • 1232 replies
Woodridge, IL
Seen June 9th, 2009
Posted May 25th, 2009
80 posts
14.1 Years
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.
My Newest Hack, Pokemon Dark Shadow Version:
http://www.pokecommunity.com/showthread.php?t=179246


DarkPrince304

Back to Hacking after exams!!!

Male
PokeCommunity
Seen June 17th, 2013
Posted September 19th, 2010
167 posts
14 Years
Hello Guys
This is my 1st post and I am a Beginner to scripting...
I just made this script to battle Ho-Oh

#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
Seen February 10th, 2012
Posted December 24th, 2011
264 posts
15.5 Years
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!

Canada
Seen October 14th, 2011
Posted May 30th, 2009
5 posts
14 Years
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

Back to Hacking after exams!!!

Male
PokeCommunity
Seen June 17th, 2013
Posted September 19th, 2010
167 posts
14 Years
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 :)
I am the creator of Pokemon Gotta Catch em' All! Game.







Click on the Banner to go to main thread

PI Hudson

Can be random for hugs> PIE!!!

Age 30
Male
Minnesota
Seen February 2nd, 2013
Posted April 15th, 2010
33 posts
14 Years
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

Retiring from Pokémon ROM hacking

Age 26
she/her
Somewhere the rains of Africa can be blessed
Seen January 8th, 2023
Posted December 26th, 2022
1,071 posts
15.4 Years
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.
Restarted and revamped.

Public alpha out now!
Seen January 23rd, 2015
Posted September 9th, 2010
67 posts
15 Years
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!

Sierraffinity

Retiring from Pokémon ROM hacking

Age 26
she/her
Somewhere the rains of Africa can be blessed
Seen January 8th, 2023
Posted December 26th, 2022
1,071 posts
15.4 Years
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.
Restarted and revamped.

Public alpha out now!
Seen January 23rd, 2015
Posted September 9th, 2010
67 posts
15 Years
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

Retiring from Pokémon ROM hacking

Age 26
she/her
Somewhere the rains of Africa can be blessed
Seen January 8th, 2023
Posted December 26th, 2022
1,071 posts
15.4 Years
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.
Restarted and revamped.

Public alpha out now!