Sierra's MEGA-HUGE XSE Scripting Tutorial Page 49

Started by Sierraffinity December 26th, 2008 6:55 PM
  • 776138 views
  • 1232 replies
Male
Shhh....
Seen October 24th, 2018
Posted October 20th, 2018
3 posts
5 Years
DIEGOISAWESOME. PLZ!!!. I have played pokémon crystaldust and I LOVED it. But the things you changed like opeing and the color when the pokémon word shines. PLEASE! make tutorials of them. EVEN IF THIS IS THE FUTURE. PLZ!
!!!!
!!!!
!!!!
PLEASE!!!!!!!!!!!
PLEASE!!!!!!!
I BEG YOU!
PLZ!! :(

DrFuji

Heiki Hecchara‌‌

Age 30
Male
Aussie
Seen 3 Days Ago
Posted February 12th, 2021
1,693 posts
13.7 Years
Having some problems moving the camera with a script tile. I'm setting unknown to 3 and my script doesn't crash. It simply doesn't move the camera. Even using a waitmovement 0x7F after my applymovement call.
Are you able to post your script so other members can analyse it and find out what's wrong?

Make sure that you're including the commands 'special 0x113' and 'special 0x114' before and after moving the camera.
Male
USA
Seen May 5th, 2019
Posted May 3rd, 2019
115 posts
13.2 Years
Are you able to post your script so other members can analyse it and find out what's wrong?

Make sure that you're including the commands 'special 0x113' and 'special 0x114' before and after moving the camera.
Special 0x113 and 0x114 were the problem, I hadn't heard about them. Thanks :)

Now am I able to move the camera with the movesprite or movesprite2 cmds? I have a script where this would be much easier than adjusting the camera based on players initial location with an applymovement cmd.

BluRose

blu rass

Age 22
Male
michigan tech
Seen 1 Week Ago
Posted April 9th, 2023
812 posts
9.1 Years
Now am I able to move the camera with the movesprite or movesprite2 cmds? I have a script where this would be much easier than adjusting the camera based on players initial location with an applymovement cmd.
try with the npc id 0xFE (or 0xFF? i can't remember)
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Male
USA
Seen May 5th, 2019
Posted May 3rd, 2019
115 posts
13.2 Years
The camera is 0x7F, but as far as I can tell I'm not able to move it with any movesprite cmd. Also having a problem were the sprite whose ID initiates my script keeps turning to face against the player each time I applymovement 0xFF. This is bizarre to me because I'm not even using a faceplayer cmd, or msgbox 0x6 (which I think deals with some kind of faceplayer call, if I'm correct). Even more bizarre because the player moves earlier in the script and doesn't trigger the NPC to move.

Spoiler:
#dynamic 0x819170

#org @main
lockall
compare 0x407D 0x4
if 0x4 goto @afterWon
compare 0x407D 0x2
if 0x1 goto @rematch
if 0x0 goto @original
goto @end

#org @original
msgbox @challenge 0x5
compare 0x800D 0x1
if 0x1 goto @wantsChallenge
setvar 0x407D 0x1
msgbox @okay 0x4
closeonkeypress
goto @end

#org @rematch
msgbox @rematchMsg 0x5
compare 0x800D 0x1
if 0x1 goto @wantsChallenge
msgbox @okay 0x4
closeonkeypress
goto @end

#org @wantsChallenge
msgbox @challengeStart 0x4
closeonkeypress
pause 0x10
fadescreen 0x1
setflag 0x113
movesprite 0xFF 0x23 0xB
movesprite2 0x7F 0x23 0xB
pause 0x10
setflag 0x114
pause 0x20
fadescreen 0x0
compare 0x407D 0x1
if 0x3 call @intros
applymovement 0xFF @lookRight
applymovement 0x3 @rightKidMoveIn
waitmovement 0x3
setvar 0x407D 0x2
trainerbattle 0x1 0x43 0x0 @before @after @battle2
goto @end

#org @battle2
msgbox @1stWin 0x4
closeonkeypress
applymovement 0x3 @rightKidBackOut
applymovement 0x8 @bottomKidMoveIn
applymovement 0xFF @lookDown
waitmovement 0x8
trainerbattle 0x1 0x44 0x0 @before2 @after2 @battle3
goto @end

#org @battle3
msgbox @2ndWin 0x4
closeonkeypress
applymovement 0x8 @bottomKidBackOut
applymovement 0x1 @leftKidMoveIn
applymovement 0xFF @lookLeft
waitmovement 0x1
trainerbattle 0x1 0x42 0x0 @before3 @after3 @battle4
goto @end

#org @battle4
msgbox @3rdWin 0x4
closeonkeypress
applymovement 0x1 @leftKidBackOut
applymovement 0x4 @topKidMoveIn
applymovement 0xFF @lookUp
waitmovement 0x1
trainerbattle 0x1 0x41 0x0 @before4 @after4 @won
goto @end

#org @won
setvar 0x407D 0x3
msgbox @finalWin 0x4
closeonkeypress
applymovement 0x4 @topKidBackOut
waitmovement 0x4
pause 0x30
applymovement 0xFF @lookAround
waitmovement 0xFF
pause 0x30
applymovement 0x1 @suprised
applymovement 0x3 @suprised
applymovement 0x8 @suprised
applymovement 0x4 @suprised
waitmovement 0x0
applymovement 0x3 @rightKidMoveIn
applymovement 0xFF @lookRight
waitmovement 0x3
msgbox @youWin 0x4
closeonkeypress
msgbox @prize 0x4
countpokemon
compare 0x800D 0x6
if 0x1 goto @partyFull
setvar 0x8006 0x0
loadpointer 0x0 @magby
special 0x25
setvar 0x8006 0x1
loadpointer 0x0 @elekid
special 0x25
multichoice 0x12 0x8 0x20 0x0
compare 0x800D 0x0
if 0x1 @pickedMag
compare 0x800D 0x1
if 0x1 @pickedEle
msgbox @wantNone 0x4
closeonkeypress
goto @end

#org @pickedMag
pause 0x30
givepokemon 0xF0 0xC 0x0 0x0 0x0 0x0
fanfare 0x101
msgbox @gotPokeMag 0x4
waitfanfare
closeonkeypress
msgbox @giveNickname 0x5
compare 0x800D 0x1
if 0x1 call @name
msgbox @takeCareMag 0x4
closeonkeypress
setvar 0x407D 0x5
goto @end

#org @pickedEle
pause 0x30
givepokemon 0xEF 0xC 0x0 0x0 0x0 0x0
fanfare 0x101
msgbox @gotPokeEle 0x4
waitfanfare
closeonkeypress
msgbox @giveNickname 0x5
compare 0x800D 0x1
if 0x1 call @name
msgbox @takeCareEle 0x4
closeonkeypress
setvar 0x407D 0x4
goto @end

#org @name
countpokemon
subvar 0x800D 0x1
copyvar 0x8004 0x800D
fadescreen 0x1
special 0x9E
waitstate
return

#org @intros
applymovement 0xFF @lookRight
msgbox @welcome1 0x4
closeonkeypress
applymovement 0xFF @lookDown
msgbox @welcome2 0x4
closeonkeypress
applymovement 0xFF @lookLeft
msgbox @welcome3 0x4
closeonkeypress
applymovement 0xFF @lookUp
msgbox @welcome4 0x4
closeonkeypress
return

#org @partyFull
msgbox @partyFullMsg 0x4
closeonkeypress
goto @end

#org @afterWon
msgbox @afterMsg 0x4
closeonkeypress
goto @end

#org @end
releaseall
end


there is the body if anyone wants to check it out...

DrFuji

Heiki Hecchara‌‌

Age 30
Male
Aussie
Seen 3 Days Ago
Posted February 12th, 2021
1,693 posts
13.7 Years
Now am I able to move the camera with the movesprite or movesprite2 cmds? I have a script where this would be much easier than adjusting the camera based on players initial location with an applymovement cmd.
There's really only one instant move camera command and its extremely buggy. It will move every OW (including the player) rather than just the camera, resets all OWs original positions after a trainerbattle and if you don't move the camera back to its original position after using it, will mess with the movement permissions of the map. It should only really be used in the context of the video in the thread (looking at something far away) and isn't suited for your purpose at all.

The camera is 0x7F, but as far as I can tell I'm not able to move it with any movesprite cmd. Also having a problem were the sprite whose ID initiates my script keeps turning to face against the player each time I applymovement 0xFF. This is bizarre to me because I'm not even using a faceplayer cmd, or msgbox 0x6 (which I think deals with some kind of faceplayer call, if I'm correct). Even more bizarre because the player moves earlier in the script and doesn't trigger the NPC to move.

there is the body if anyone wants to check it out...
I'm not 100% sure why the OW is acting like that based of your script, but make sure that it isn't sharing its 'Person Event Number' with any other OW. If that isn't the case, you could try writing an extra applymovement command each time the player changes their facing direction that changes the troublesome OW's facing direction to the correct one.

Also, you're using setflag 0x113/ 0x114 instead of the special command in your script. Finally, its msgbox 0x2 that has lock/ faceplayer automatically built-in. Here's what it says in the first post of this thread:

Spoiler:
Msgbox Numbers
Here are the many different types, taken directly from The ROM Hacking Newsletter, also located in the ROM Hacking section.
This week's tip comes from HackMew. This time, it's all about msgboxes. Below is a description, script example and in-game shot of the different msgbox types.

0x2
Spoiler:
Description:
This is the msgbox used for normal people. Using this type means that you don't need to use the lock, faceplayer or release commands.

Script:
#dynamic 0x800000


#org @start
msgbox @hello 0x2
end

#org @hello
= Hello, my name is dshayabusa.


0x3
Spoiler:
Description:
Used for signs etc. No lock or faceplayer effect. Only shows the sign textbox when used on an actual sign.

Script:
#dynamic 0x800000



#org @start
msgbox @sign 0x3
end

#org @sign
= You are here

0x4
Spoiler:
Description:
A normal msgbox except for the fact that it does not close. Command closeonkeypress must be used to close it. No lock or faceplayer effect.

Script:
#org @start
msgbox @hello 0x4
end

#org @hello
= Hello, my name is dshayabusa.

0x5
Spoiler:
Description:
Used for Yes/No questions. No lock or faceplayer effect.

Script:
#dynamic 0x800000


#org @start
msgbox @question 0x5
end

#org @question
= Is this statement false?

0x6
Spoiler:
Description:
Normal textbox. Has no lock or faceplayer effect.

Script:

#dynamic 0x800000

#org @start
msgbox @hello 0x6
end

#org @hello
= Hello, my name is dshayabusa.
Male
USA
Seen May 5th, 2019
Posted May 3rd, 2019
115 posts
13.2 Years
There's really only one instant move camera command and its extremely buggy. It will move every OW (including the player) rather than just the camera, resets all OWs original positions after a trainerbattle and if you don't move the camera back to its original position after using it, will mess with the movement permissions of the map. It should only really be used in the context of the video in the thread (looking at something far away) and isn't suited for your purpose at all.



I'm not 100% sure why the OW is acting like that based of your script, but make sure that it isn't sharing its 'Person Event Number' with any other OW. If that isn't the case, you could try writing an extra applymovement command each time the player changes their facing direction that changes the troublesome OW's facing direction to the correct one.

Also, you're using setflag 0x113/ 0x114 instead of the special command in your script. Finally, its msgbox 0x2 that has lock/ faceplayer automatically built-in. Here's what it says in the first post of this thread:

Spoiler:
Msgbox Numbers
Here are the many different types, taken directly from The ROM Hacking Newsletter, also located in the ROM Hacking section.
This week's tip comes from HackMew. This time, it's all about msgboxes. Below is a description, script example and in-game shot of the different msgbox types.

0x2
Spoiler:
Description:
This is the msgbox used for normal people. Using this type means that you don't need to use the lock, faceplayer or release commands.

Script:
#dynamic 0x800000


#org @start
msgbox @hello 0x2
end

#org @hello
= Hello, my name is dshayabusa.


0x3
Spoiler:
Description:
Used for signs etc. No lock or faceplayer effect. Only shows the sign textbox when used on an actual sign.

Script:
#dynamic 0x800000



#org @start
msgbox @sign 0x3
end

#org @sign
= You are here

0x4
Spoiler:
Description:
A normal msgbox except for the fact that it does not close. Command closeonkeypress must be used to close it. No lock or faceplayer effect.

Script:
#org @start
msgbox @hello 0x4
end

#org @hello
= Hello, my name is dshayabusa.

0x5
Spoiler:
Description:
Used for Yes/No questions. No lock or faceplayer effect.

Script:
#dynamic 0x800000


#org @start
msgbox @question 0x5
end

#org @question
= Is this statement false?

0x6
Spoiler:
Description:
Normal textbox. Has no lock or faceplayer effect.

Script:

#dynamic 0x800000

#org @start
msgbox @hello 0x6
end

#org @hello
= Hello, my name is dshayabusa.
Thanks for all the help! I've deduced that its the trainerbattle 0x1 cmd that's causing the movement... I assume that it has a faceplayer call... I figured this out by trying to turn the sprite, just to have her turn back when the @before msgbox appears for the trainerbattle.

/JASHIN/

Age 29
Male
Canada
Seen January 22nd, 2022
Posted July 1st, 2021
62 posts
4.5 Years
Is there a way to compare a variable based on whether it is higher or lower than a certain number?

For example..

if 0x4011 > 20 event happens
POKEMON PULSAR VERSION PHASE 02 THREAD: https://www.pokecommunity.com/showthread.php?t=421565
(Phase 03 in development)


POKEMON PULSAR VERSION PHASE 02 TRAILER:https://www.youtube.com/watch?v=zPY7_ZvoO7E
(Formerly known as Pokemon Jashin Version)


-Praise Be To Jashin

DrFuji

Heiki Hecchara‌‌

Age 30
Male
Aussie
Seen 3 Days Ago
Posted February 12th, 2021
1,693 posts
13.7 Years
Is there a way to compare a variable based on whether it is higher or lower than a certain number?

For example..

if 0x4011 > 20 event happens
You can use the 'compare' command to do that easily. Here's what your example would look like with it:

compare 0x4011 0x14
if 0x2 goto @EventHappens
The first line is pretty simple, you just write the variable you want to use and then the value that you want to compare it to. The second line is tricky if you don't know what XSE's 'if values' mean. Here's a table that diegoisawesome has on the first page:

Lower Than (0x0)
Equals (0x1)
Greater Than (0x2)
Lower than or Equal to (0x3)
Greater than or Equal to (0x4)
Not exactly equal to (0x5)
Since I'm using 'if 0x2', the script will only move onto @EventHappens if 0x4011 is greater than 20 (0x14). Hopefully that all makes sense.

/JASHIN/

Age 29
Male
Canada
Seen January 22nd, 2022
Posted July 1st, 2021
62 posts
4.5 Years
Beautiful!

Thank you very much!
POKEMON PULSAR VERSION PHASE 02 THREAD: https://www.pokecommunity.com/showthread.php?t=421565
(Phase 03 in development)


POKEMON PULSAR VERSION PHASE 02 TRAILER:https://www.youtube.com/watch?v=zPY7_ZvoO7E
(Formerly known as Pokemon Jashin Version)


-Praise Be To Jashin

/JASHIN/

Age 29
Male
Canada
Seen January 22nd, 2022
Posted July 1st, 2021
62 posts
4.5 Years
Hi, I'm trying to execute a code that allows me to evolve a certain pokemon in my party (I'm actually form changing it, but I have inserted a routine to skip the evolution sequence. The issue I'm having is forcing the game to specifically ONLY evolve the particular pokemon.

So far I have this code: (note that my issue isn't with the routine, but rather with making the game understand that I picked A certain pokemon and any other pokemon will not be allowed to evolve)
Spoiler:

#org @start
lock
msgbox @talk1 0x6 "If bulbasaur is in your party its going to evolve"
setvar 0x8004 0x1
special2 0x800D 0x17C
compare 0x800D 0x1
if 0x1 goto @have
end

#org @have
From here is where I'm having issues. I need the game to give me bulbasaur's slot number in the party so I can execute this code:
Setvar 0x8001 0x(whichever slot Bubasaur is in)
callasm 0x900000 (This will evolve the pokemon in that slot.)
end


So, yeah.. Basically I need the game to check if I have the pokemon, find which slot that pokemon is in and execute that ASM to evolve it... Does anyone have any information? It would be greatly appreciated. BTW I got the ASM from here if that helps..

https://www.pokecommunity.com/showpost.php?p=8513813&postcount=39
POKEMON PULSAR VERSION PHASE 02 THREAD: https://www.pokecommunity.com/showthread.php?t=421565
(Phase 03 in development)


POKEMON PULSAR VERSION PHASE 02 TRAILER:https://www.youtube.com/watch?v=zPY7_ZvoO7E
(Formerly known as Pokemon Jashin Version)


-Praise Be To Jashin
Seen June 16th, 2019
Posted June 15th, 2019
15 posts
4 Years
I have a question. If I use special 0x9f to select a pokemon. How would I execute a script to basically say if the chosen pokemon is (let's say pikachu) perform this script. If it's not pikachu perform this script. Basically I'm wondering if special 0x9f stores the index pokemon of the pokemon u chose and if I can use a compare to set up 2 scenarios. I'm wondering which var it would load the index number to
Seen June 16th, 2019
Posted June 15th, 2019
15 posts
4 Years
Or better yet is there a way to script an event so that a certain pokemon MUST be the 1st pokemon in your party to proceed ? Like basically I want to put a pokemon at the front of your party and have a guy stop you unless that pokemon is the first one in your party. It's really important that it's the first one in your slot.

Avara

She/Her
Seen 5 Days Ago
Posted April 10th, 2022
1,305 posts
11.4 Years
Is there a way to prevent you from stepping on a tile unless you have at least one Pokémon? It's supposed to be like when Professor Oak stops you from going on route 1 in Fire Red/Leaf Green.
You could use a level script triggered in the overworld for that (the green "S" tiles). Diego's covered how these work in this tutorial already, alternatively there's this post. You could use that in combination with a flag check for if the Pokemon menu has been activated (flag 0x828 for FR, 0x860 for EM) or the countpokemon command. Hope that helps!

Nice-kun

Pokemon Blast Burn and Titanium Author

Age 23
Male
Philippines
Seen October 6th, 2022
Posted March 28th, 2022
42 posts
4.3 Years
is it possible to combine apply movement script and trainer battle script? how?

My Stamp Collection:
Spoiler:

Pyxal

It's pronounced pixel.

Age 17
Pakistan
Seen 6 Hours Ago
Posted 5 Days Ago
987 posts
3.8 Years
is it possible to combine apply movement script and trainer battle script? how?
This is fairly simple. Just slam dunk a trainer battle command in a script where you want it to be. Do look at the main page of the thread. You will find alot of answers there.

Pyxal

It's pronounced pixel.

Age 17
Pakistan
Seen 6 Hours Ago
Posted 5 Days Ago
987 posts
3.8 Years
Should I risk flags 200+ unless they're listed or should I follow the advice in the XSE guide and use flags above 1000? Which is more accurate?
Flags over 0x1000 are actually used. They are reserved for trainer flags. 200-2FF is preferable.

Pyxal

It's pronounced pixel.

Age 17
Pakistan
Seen 6 Hours Ago
Posted 5 Days Ago
987 posts
3.8 Years
There seem to be some of the applymovement commands missing in the documentation. They are listed below.
FireRed [source]:
Spoiler:
#raw 0x45 = Walk in place. Direction of walking depends on which way you were facing at time of activation. Loops forever
#raw 0x5A = Look Down
#raw 0x5B = Run in place, downwards. Loops forever. Uses running frames, as opposed to walking frames.
#raw 0x5C = Seemingly Absolutely nothing
#raw 0x5D = Also absolutely nothing
#raw 0x5E = Again, Nothing
#raw 0x5F = Nothing once more.
#raw 0x67 = Nothing.
#raw 0x68 = Face up, and locks movement.
#raw 0x69 = Face up, and locks movement. When used for cut trees and smash rocks, it plays the destruction animation.
#raw 0x6A = Nothing.
#raw 0x6B = Nothing.
#raw 0x6C = Causes person not to flip while moving right, aka Moonwalking.
#raw 0x6D = Nothing.
#raw 0x6E = Walks one tile down, but takes two steps.
#raw 0x6F = Walks one tile down, but takes two steps.
#raw 0x70 = Faces right, then down, very fast.
#raw 0x71 = Faces down, then up, very fast.
#raw 0x72 = Faces up, then left, very fast.
#raw 0x73 = Faces left, then right, very fast.
#raw 0x74 = Runs in place downward, uses running frames, as opposed to normal
walking frames. Loops forever.
#raw 0x75 = Runs in place upward, uses running frames, as opposed to normal
walking frames. Loops forever.
#raw 0x76 = Runs in place left, uses running frames, as opposed to normal
walking frames. Loops forever.
#raw 0x77 = Runs in place right, uses running frames, as opposed to normal walking frames. Loops forever.
#raw 0x78 = Player looks diagonally left and right, twice.
#raw 0x79 = Faces down, Locks movement.
#raw 0x7A = Faces up, and locks movement.
#raw 0x7B = Faces left, locks movement.
#raw 0x7C = Runs and jumps in place, facing down. Uses running frames.
#raw 0x7D = Runs and jumps in place, facing up. Uses running frames
#raw 0x7E = Runs and jumps in place, facing left. Uses running frames.
#raw 0x7F = Runs and jumps in place, facing right. Uses running frames.
#raw 0x80 = Runs and jumps down. Uses running frames.
#raw 0x81 = Runs and jumps up. Uses running frames.
#raw 0x82 = Runs and jumps left. Uses running frames.
#raw 0x83 = Runs and jumps right. Uses running frames.
#raw 0x84 = Runs and jumps down two tiles. Uses running frames.
#raw 0x85 = Runs and jumps up two tiles. Uses running frames.
#raw 0x86 = Runs and jumps left two tiles. Uses running frames.
#raw 0x87 = Runs and jumps right two tiles. uses running frames.
#raw 0x88 = Step on the spot right, then face down.
#raw 0x89 = Step on the spot down, then face up.
#raw 0x8A = Step on the spot up, then face left
#raw 0x8B = Step on the spot left, then face right
#raw 0x8C = Run down. Uses running frames
#raw 0x8D = Run up. Uses running frames
#raw 0x8E = Run left. Uses running frames
#raw 0x8F = Run right. Uses running frames
#raw 0x90 = Slide down, facing right, then faces down.
#raw 0x91 = Slide up, facing down, then faces up.
#raw 0x92 = Slides left, facing up, then faces left.
#raw 0x93 = Slides right, facing left, then faces right.
#raw 0x94 = Spins down. Faces down when completed.
#raw 0x95 = Spins up. Faces up when completed.
#raw 0x96 = Spins left. Faces left when completed.
#raw 0x97 = Spins right. Faces left when completed.
#raw 0x98 = Runs downward, using running frames. Loops forever.
#raw 0x99 = Runs downward in place, and jumps. Repeats once.
#raw 0x9A = Runs downward in place, swaying from side to side slighty. Uses running frames.
#raw 0x9B = Walks downward VERY slowly, taking ten steps to move one tile.
#raw 0x9C = Walks upward VERY slowly.
#raw 0x9D = Walks left VERY slowly.
#raw 0x9E = Walks right VERY slowly.
#raw 0x9F = Looks diagonaly left and right, twice, then faces the same way you started facing.
#raw 0xA0 = Slides down one tile.
#raw 0xA1 = Slides up one tile.
#raw 0xA2 = Slides left one tile.
#raw 0xA3 = Slides right one tile.
#raw 0xA4 = Flies up off the screen, and disappears.
#raw 0xA5 = Flies down from top of screen, and reappears.
#raw 0xA6 = Runs very fast, and jumps down one tile
#raw 0xA7 = Runs very fast, and jumps up one tile
#raw 0xA8 = Runs very fast, and jumps left one tile
#raw 0xA9 = Runs very fast, and jumps right one tile
#raw 0xAA through #raw 0xFD either lock or crash the game.

Emerald [source]:
Spoiler:
#raw 0x4F - Player runs in place, facing down doesn't seem to stop, even with 0xFE after.
#raw 0x50 - #raw 0x53 = Nothing.
#raw 0x5A and 0x5B = player faces up, 0xFE doesn't cancel the effects
#raw 0x5E = After it finishes when you walk right, it uses the walk left sprite.
#raw 0x68 = same as 0x4F
#raw 0x69 = same, but runs facing up instead
#raw 0x6A = same, but runs facing left instead
#raw 0x6B = same, but runs facing right instead
#raw 0x6C = seems to be walking in place, facing down
#raw 0x6D = seems to be walking in place, facing up
#raw 0x6E = seems to be walking in place, facing left
#raw 0x6F = seems to be walking in place, facing right
#raw 0x9B = player starts flying and does something cool http://imgur.com/qhLqOel
#raw 0x5F = cancels the effect of 0x5E

Momoro

I'm gonna put some dirt in your eye..

Male
Castelia City, Unova
Seen February 4th, 2023
Posted January 30th, 2023
269 posts
3.7 Years
Hi!

I read your entire tutorial on XSE scripting, and now I know the professional basics.

I'm particularly fond of your givepokemon script example (the one that gives you a Charmander), and I have a question about it:

How do I make the Pokemon to be given Shiny? If I were to put some kind of post-game event for a shiny Pokemon, how would I change your givepokemon script to also make the given Pokemon shiny?

That's really the only question I have :D

Thanks for this really, really big tutorial!