View Single Post
  #5971    
Old August 3rd, 2011 (02:28 PM).
Spherical Ice's Avatar
Spherical Ice Spherical Ice is offline
Team Rocket Grunt would like to battle!
ModeratorCS
 
Join Date: Nov 2007
Location: Leicester, UK
Posts: 3,662
Spoiler:
#dynamic 0x800000 // USe this at the beginning of every script. When you compile in XSE, copy the offset given next to the @start part, and paste that.

#org @Main
lockall
showsprite 0x9
applymovement 0xFF @move1
applymovement 0x9 @move2
waitmovement 0x0 // You always need waitmovement 0x0
hidesprite 0x9
setvar 0x4050 0x1
trainerbattle 0x0 0x001 0x0 @string1 @string2
msgbox @string3 0x2
releaseall
end
// This script will basically display string1 before the battle and string2 at the defeat screen. If the script is interacted with again, string3 will be displayed.

#org @move1
#raw 0x62
#raw 0x0
#raw 0xFE

#org @move2
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x7
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x5
#raw 0x1E
#raw 0x1E
#raw 0xFE

#org @string1
= This is a test...Prepare!!![/B]

#org @string2
= huh it worked and you beat me.

#org @string3
= Well g2g change the wording...
__________________

"Develop amnesia conveniently and forget everything you've heard!"
spheal clicker | rom hacking | pokémon gaia
staff antagonists collab 2015