- 49
- Posts
- 13
- Years
- Your darkest nightmares. Kinda like Freddy Kruger!
- Seen Jan 28, 2012
KK. Oh and BTW I made a new banner. you can use it if you'd like. It's in my sig
//Fire Red Script!
#dynamic 0x720400
#org @begin
lock
textcolor 0x0
playsong 0x13B 0x0
applymovement 0xFF @move_plyr1
applymovement 0x1 @move_rival1
waitmovement 0x0 msgbox @msg_1 MSG_NORMAL
trainerbattle 0x9 0x149 0x0 @victory @defeat
playsong 0x13B 0x0 msgbox @msg_2 MSG_NORMAL
applymovement 0x1 @move_rival2
waitmovement 0x0
hidesprite 0x1
setflag 0x7000
setvar 0x7000 0x1
release
end
#org @move_plyr1
#raw 0x62
#raw 0xFE
#org @move_rival1
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x11
#raw 0xFE
#org @move_rival2
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE
#org @msg_1 = [rival]: Hey [player]!\nAlready Made It Here?\lYou Want To Have Battle?\lWell, Lets Get Ready Then!
#org @defeat = Well, at least you tried!
#org @victory = Your Battle Skills Really Impress Me!
#include "useful.h"
void GetMaxLvl()
{
PKMN_DATA* pPKMN_DATA = (PKMN_DATA*) pPKMN_FR; // Pointer to pokemon data
int* LRESULT = (int*) pLRESULT_FR; //LASTRESULT pointer
int Temp = 0; // Storage
for(int i = 0; i < 6; i++)
{
if(pPKMN_DATA->Level > Temp)
Temp = pPKMN_DATA->Level;
pPKMN_DATA += pPKMN_SIZE; // Move by one pokemon
}
*LRESULT = Temp;
}