(Last updated on; November 10, 2009 11:10 AM )
HOME SCRIPTS RESULTS
Wild battles can be fun because there is a lot that you can do with them, you could create massive events, just based around one wild battle. The codes for wild battles get kind of confusing after a while, but I'm sure you'll understand when i explain it.

#org $script
lock
faceplayer
cry 0xA1
#raw 0x33
pause 0x30
message $cry
$cry 1 = (message)
boxset 6
wildbattle 79 50 0
pause 0x60
fadescreen 0
set flag 0x1211
pause 0x10
fadescreen
release
end

Explanation


"cry 0xA1" means that when the computer reads this script, it will play the nosie associated with that hex number

"#raw 0x33" prevents the computer from making any mistakes

"pause 0x30" This means that when the computer gets to this, it will pause for 30 [missing]s and then continue the script

"wildbattle 79 50 0" In this case "wildbattle" is just telling the system what type of script is going on.
"79" is the hex number of the pokemon being fought. "50" is the level of it. And "0" is the type of
special battle this is, if I were to put "1" instead of "0" it would make it a legendary battle.

"fadescreen 0" is telling the game to fade to black in a certian style.

"setflag 0x1211" is saying that this event will happen to the character with I.D. number 1211


Me filming my results

[back]