|Maximus|
I'm back~
- 836
- Posts
- 17
- Years
- Seen Sep 10, 2010
Okay, so I have actually decided to make my first tutorial. This tutorial is going to be how to create a Basic Mystery Gift Person Dude Thingy :P
Okay, so I am going to break this up into steps.
1) Checking for a File
So first you want to create a Conditional Branch with this line of script.
Basically, it checks if you have "Arceus.pkmn" inside of your game folder. View the video inside of my signature for how to create custom files.
2) Adding the Effect
So, what happens if you do have the file? Easy, we can add the Arceus.
3)What if you don't have it?
Well, thats easy. Just add whatever you want under 'else'
Well, that's my tutorial I hope you enjoyed it, and found it useful! Check out the video in the spoiler in my signature because that is where you will find out how to convert TXT files into .PKMN files.
PHEW, that's a lot of typing!
Okay, so I am going to break this up into steps.
1) Checking for a File
So first you want to create a Conditional Branch with this line of script.
Code:
@> [COLOR="Blue"]Conditional Branch: Script: FileTest.exist?("Arceus.pkmn")[/COLOR]
@>
: [COLOR="Blue"]Else[/COLOR]
@>
:[COLOR="Blue"] Branch End[/COLOR]
@>
Basically, it checks if you have "Arceus.pkmn" inside of your game folder. View the video inside of my signature for how to create custom files.
2) Adding the Effect
So, what happens if you do have the file? Easy, we can add the Arceus.
Code:
@> [COLOR="Blue"]Conditional Branch: Script: FileTest.exist?("Arceus.pkmn")[/COLOR]
@> Text: You have the Mystery Gift.
@> [COLOR="Blue"]Conditional Branch: Script: Kernel.pbAddPokemon(PBSpecies::ARCEUS,80)[/COLOR]
@> [COLOR="Red"]Self Switch: A = ON[/COLOR]
@>
: [COLOR="Blue"]Else[/COLOR]
@>
:[COLOR="Blue"] Branch End[/COLOR]
@>
: [COLOR="Blue"]Else[/COLOR]
@>
:[COLOR="Blue"] Branch End[/COLOR]
@>
3)What if you don't have it?
Well, thats easy. Just add whatever you want under 'else'
Code:
@> [COLOR="Blue"]Conditional Branch: Script: FileTest.exist?("Arceus.pkmn")[/COLOR]
@> Text: You have the Mystery Gift.
@> [COLOR="Blue"]Conditional Branch: Script: Kernel.pbAddPokemon(PBSpecies::ARCEUS,80)[/COLOR]
@> [COLOR="Red"]Self Switch: A = ON[/COLOR]
@>
: [COLOR="Blue"]Else[/COLOR]
@>
:[COLOR="Blue"] Branch End[/COLOR]
@>
: [COLOR="Blue"]Else[/COLOR]
@> Text: The Gift is not for everyone.
@>
:[COLOR="Blue"] Branch End[/COLOR]
@>
Well, that's my tutorial I hope you enjoyed it, and found it useful! Check out the video in the spoiler in my signature because that is where you will find out how to convert TXT files into .PKMN files.
PHEW, that's a lot of typing!