Sierra's MEGA-HUGE XSE Scripting Tutorial Page 37

Started by Sierraffinity December 26th, 2008 6:55 PM
  • 776138 views
  • 1232 replies

BourbonWhiskey

Pokemon Trainer Since 1998

Male
Seen April 2nd, 2017
Posted November 29th, 2016
43 posts
9.8 Years
Thank you very much. Truly, this is an informative thread. A real gem especially for beginners like me. I hope I will be able to put my dream hack game into completion soon.
If you have traded with me, please do post here for the outcome report of the trade: http://www.pokecommunity.com/showthread.php?t=316565

3DS Friend Code: 5344-2005-9129

Orifiel

Priestess

Female
Tokyo, Japan
Seen May 3rd, 2015
Posted May 5th, 2014
413 posts
9.7 Years
HELP! My script won't work when I step in the script green one.
nothing happens, I set the var number into 4050 and unknown to 300?
It works once, why doesn't it work again?!

Here's my script
Spoiler:
'---------------
#org 0x8004A9
if 0x1 goto 0x8800535
checkflag 0x8CE
msgbox 0x8800559 MSG_NORMAL '"[red_rs]Prof.Birch: That's indeed ..."
applymovement 0x1 0x8800538
applymovement 0x2 0x880053C
waitmovement 0x0
msgbox 0x880058A MSG_NORMAL '"Oh! [red_rs][player]! Why don't yo..."
applymovement MOVE_PLAYER 0x880053F
waitmovement 0x0
applymovement 0x1 0x8800544
applymovement 0x2 0x8800547
waitmovement 0x0
msgbox 0x88005BC MSG_NORMAL '"So I was saying..\pThat white drag..."
applymovement 0x2 0x880054A
waitmovement 0x0
hidesprite 0x2
msgbox 0x880078E MSG_NORMAL '"So, [player]! Your father told me\..."
setdooropened 0x1F 0x24
applymovement 0x1 0x8800553
waitmovement 0x0
hidesprite 0x1
applymovement MOVE_PLAYER 0x8800556
waitmovement 0x0
warp 0x1 0x4 0xFF 0x7 0xC
setflag 0x8CE
release
end

'---------------
#org 0x800535
release
end


'---------
' Strings
'---------
#org 0x800559
= [red_rs]Prof.Birch: That's indeed correct, [red_rs]Hope.

#org 0x80058A
= Oh! [red_rs][player]! Why don't you come\nhere and join us.

#org 0x8005BC
= So I was saying..\pThat white dragon that set this\nregion in fire was Reshiram.\lI've been seeing it many times.\pAnyone who tries the ceremony with it\nReshiram will come out in rage.\p[red_rs]Hope: I see, Thank you professor.\nI'll be going now, a journey far away.\p[red_rs]Prof.Birch: You be careful now [red_rs]hope, I've been\nhearing a group of bad people are\lup to now good as always.\p[red_rs]Hope: No worries, I'm strong enough to\nprotect my self from those guys.\lSee ya, Professor.

#org 0x80078E
= So, [player]! Your father told me\nthat he left you a POKèMON, right?\pWell then, why don't you come inside\nand let me have a word with you.


'-----------
' Movements
'-----------
#org 0x800538
#raw 0x2 'Face Left
#raw 0x56 'Exclamation Mark (!)
#raw 0xFE 'End of Movements

#org 0x80053C
#raw 0x2 'Face Left
#raw 0xFE 'End of Movements

#org 0x80053F
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x800544
#raw 0x0 'Face Down
#raw 0xFE 'End of Movements

#org 0x800547
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x80054A
#raw 0x8 'Step Down (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xFE 'End of Movements

#org 0x800553
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements

#org 0x800556
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements


EDIT: I figured it out. So, whatever.
~ Pair | Character | Previously L96 ~
Seen October 12th, 2013
Posted August 24th, 2013
3 posts
9.7 Years
Hey guys. so i understand all of this and stuff and watched a bunch of videos im almost 100% sure im during it right but i get nothing or a box with jiburish,and i cant get out the convo to help plz ???

windows 7
XSE v1.0.0
advanceMapv1.95

destinedjagold

You can contact me in PC's discord server...

Age 32
Male
Seen 2 Days Ago
Posted March 24th, 2023
8,579 posts
16 Years
Is 1.1.1 Available anywhere? I can't find a working link.. I have 1.0.0....

Any tips appreciated :)
Here's the thread to the latest XSE.

Or just click here to download it directly.

edit...
...or you can click the download link on my signature~

GoGoJJTech

(☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)

Age 24
Female
Earth
Seen December 9th, 2016
Posted December 5th, 2016
2,475 posts
10.5 Years
hay guys this is what i get and i used the basic one you wrote to see if i was doing something wrong
That may be similar to the "Qaf Qaf" message, where it shows endless qaf's. You sure you have free space? Plus you should ask in the simple questions thread so you get help. You're lucky I just happened to read this :D

Hey guys. so i understand all of this and stuff and watched a bunch of videos im almost 100% sure im during it right but i get nothing or a box with jiburish,and i cant get out the convo to help plz ???

windows 7
XSE v1.0.0
advanceMapv1.95
1: http://www.pokecommunity.com/showpost.php?p=7781039&postcount=304
2: That's old XSE. The newest is in gamer2020's toolbox.
3: For #dynamic use an offset after 800000 since gamefreak does not use that area. The area you chose is HIGHLY unstable as the main code goes there.

EVERYONE, I RECOMMEND ASKING QUESTIONS IN SIMPLE QUESTIONS THREAD OR SCRIPT HELP THREAD SINCE IT'S RARE FOR PEOPLE TO COME HERE TO HELP YOU.
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.
The HGSS Music Patch - The BW/2 Music Patch - ASM: Switch Music Based on Seasons
Romhack.me Profile - Pokecommunity Profile - Youtube Channel

Support me at my site!
Pokémon Platinum Red and Blue
Male
Seen December 27th, 2017
Posted August 30th, 2013
8 posts
10.6 Years
Hi, I'm using JPAN's patch and I'm using XSE 1.1.1

Is there a way to use a script to check the time on your computer. Basically to make a script which will say a door is locked at a certain time of the day.
I've read JPAN's notes about Timer Specials but I don't think it would work with this.
I'm also applied DNS to the game so there is day and night on the game which links to the time on my computer.

Cheers
Age 23
Male
Portugal
Seen July 5th, 2021
Posted October 26th, 2014
287 posts
10 Years
Here's my script:

#dynamic 0x800882

#org @start
lock
applymovement 0xFF @move
waitmovement 0x0
release
end

#org @move
#raw 0x12


In advance map, on the Unknown space, there is only space for two numbers, so i typed 300 on the other unknown, the one with 4 digits.
Var number :4050

When I step in the tile I take one step left (as supposed) and then I freeze
Please help me!

destinedjagold

You can contact me in PC's discord server...

Age 32
Male
Seen 2 Days Ago
Posted March 24th, 2023
8,579 posts
16 Years
Here's my script:

#dynamic 0x800882

#org @start
lock
applymovement 0xFF @move
waitmovement 0x0
release
end

#org @move
#raw 0x12 0xFE


In advance map, on the Unknown space, there is only space for two numbers, so i typed 300 on the other unknown, the one with 4 digits.
Var number :4050

When I step in the tile I take one step left (as supposed) and then I freeze
Please help me!
Always end your movement scripts with 0xFE.
Also, next time, wrap your scripts in Spoiler or Code tags. :3
[CODE]-insert script here-[/CODE]
[SPOILER]-insert script here-[/SPOILER]

Age 23
Male
Portugal
Seen July 5th, 2021
Posted October 26th, 2014
287 posts
10 Years
Always end your movement scripts with 0xFE.
Also, next time, wrap your scripts in Spoiler or Code tags. :3
[CODE]-insert script here-[/CODE]
[SPOILER]-insert script here-[/SPOILER]
Thank you :)
Your the men!
Age 23
Male
Portugal
Seen July 5th, 2021
Posted October 26th, 2014
287 posts
10 Years
Hello.
So I have this very odd "glitch".
Whenever I change ANYTHING, but ANYTHING in my ROM (Fire Red), when you open the menu the blue bar at the bottom gets glitchy.
Is it possibly because my ROM is not clean (Ithink thats the term)?
Maybe its my computer?
Do you have no idea why it happens?
Well anyways, I hope I can get my answer, and I hope I'm not breaking any rule by saying this (if I am, please do advice), but if the problem is having a clean rom, could you pm me a link of a clean ROM?
Thank you for your time :)

P.S.: I use XSE
Working on:


#fasterSneasel :D (nohomo)

Coolest IRC with the coolest people in the coolest rooms:
http://chat.linkandzelda.com:9090/?channels=romhacking,gogo,discovery,fluorite
Male
Seen January 2nd, 2014
Posted November 15th, 2013
36 posts
9.7 Years
I read the whole tutorial but i'm not sure if anyone has covered any of what i'm about to ask in these 37 pages of posts...

1) Is there any specific way to control what HM move is enabled or disabled outside battles? or are those functions integrated with the badge flags?
For example, I'd like to enable Surf or Cut without getting a badge using a simple script or after a normal trainer battle. Is it possible?

2) I take it trainerbattle 0x1 is a gym leader battle, is this correct?
If so, is there any way to control what sprite will be shown and the name of the Leader? or do I just modify the text name and the sprite and use any gym leader ID already in the game?

3) Is it possible to select what music will be played during a specific trainer battle? For example, if I want the 8th Gym Leader to use the E4 Champion music... or use a different song for each Leader.

destinedjagold

You can contact me in PC's discord server...

Age 32
Male
Seen 2 Days Ago
Posted March 24th, 2023
8,579 posts
16 Years
I read the whole tutorial but i'm not sure if anyone has covered any of what i'm about to ask in these 37 pages of posts...

1) Is there any specific way to control what HM move is enabled or disabled outside battles? or are those functions integrated with the badge flags?
For example, I'd like to enable Surf or Cut without getting a badge using a simple script or after a normal trainer battle. Is it possible?

2) I take it trainerbattle 0x1 is a gym leader battle, is this correct?
If so, is there any way to control what sprite will be shown and the name of the Leader? or do I just modify the text name and the sprite and use any gym leader ID already in the game?

3) Is it possible to select what music will be played during a specific trainer battle? For example, if I want the 8th Gym Leader to use the E4 Champion music... or use a different song for each Leader.
1. For the CUTable trees, you can open their script with XSE and remove the checkflag command. For Surf, well, you'll have to locate the entire script. I dunno how though. Best ask in the Simple Questions Thread.

2. Use a Trainer Editing Tool, like Advance Trainer.

3. This tutorial will do that job for you.

Male
Seen January 2nd, 2014
Posted November 15th, 2013
36 posts
9.7 Years
1. For the CUTable trees, you can open their script with XSE and remove the checkflag command. For Surf, well, you'll have to locate the entire script. I dunno how though. Best ask in the Simple Questions Thread.

2. Use a Trainer Editing Tool, like Advance Trainer.

3. This tutorial will do that job for you.
Thanks a lot! Hopefully, the surf thing won't be too much of a mess.

Satoshi Ookami

Memento Mori

Age 30
Male
Abyss of Time, Great Seal
Seen August 5th, 2018
Posted July 3rd, 2018
14,253 posts
14.8 Years
Hi guys, I've made a very, very long script.
But after I compiled it and add it on my game. When I tried to run my game, it's just all white. What should I DO?!
You did something reeeeeally wrong... you should return to your back up... :/
ROM hacking FAQ - Read before asking how to play a hack.

Anime List | PSN Trophy List

Aeolus Gaming

Male
Southern California
Seen October 11th, 2014
Posted March 13th, 2014
4 posts
9.4 Years
I am working on a starter Pokemon script, and it works (Just receiving a Pokemon from someone). However, after I have received the Pokemon, there is no Pokemon menu on the Start Menu. Do I have to set a variable or something? I tried to find it in the Pokeball script in Oak's lab, but it was too big.

P.S. I hope I have the right thread for this question.

Satoshi Ookami

Memento Mori

Age 30
Male
Abyss of Time, Great Seal
Seen August 5th, 2018
Posted July 3rd, 2018
14,253 posts
14.8 Years
I am working on a starter Pokemon script, and it works (Just receiving a Pokemon from someone). However, after I have received the Pokemon, there is no Pokemon menu on the Start Menu. Do I have to set a variable or something? I tried to find it in the Pokeball script in Oak's lab, but it was too big.

P.S. I hope I have the right thread for this question.
You need to put special 0x??? depending on which ROM you are using.
ROM hacking FAQ - Read before asking how to play a hack.

Anime List | PSN Trophy List
Seen December 24th, 2013
Posted December 12th, 2013
5 posts
12.3 Years
I am having a problem that when searching the posts I have not seen anyone else have but I could have missed it so I will ask. I have a basic message script for Fire Red but when I tested it the person becomes a potion goes into my bag and vanishes. The moment I walk away the person reappears and if I click to talk to them the same thing happens again. I have deleted and redone this several times but I get this same result so I do not know what I am doing wrong. I used the newest XSE and advance map. This is the script. Also is there a way to edit the script without looking for a new free space offset? Thank you in advance :)

//---------------
#org 0x800000
lock
faceplayer
msgbox 0x880000D MSG_NORMAL //"Hey there.\pYou should go to the\n..."
release
end


//---------
// Strings
//---------
#org 0x80000D
= Hey there.\pYou should go to the\nBATTLE SCHOOL