View Single Post
  #22519    
Old August 18th, 2012, 10:22 PM
tajaros's Avatar
tajaros
Hi I'm dawg
 
Join Date: Apr 2012
Location: Philippines
Age: 15
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to tajaros
Quote:
Originally Posted by Flannery Lue View Post
... I'm not THAT new to creating scripts. Yes I loaded the ROM, and I use BuffRite, and PokeScript to compile my scripts. I had to add the asterix symbols to the link you gave me because I cannot post a link until I have posted fifteen times... lol

I Never could get XSE to work. That link to the a newer version of it you gave me, is broken. I get this message:

404 - NOT FOUND

Attachment 65744

Could you please take a look at my script, and tell me if I made an error? because I am sure that It can be done with BuffRite, and PokeScript. All it does is compile it. Thats all I need.

Here is my script:


#dynamic 0x800000

#org @start
lock
faceplayer
checkflag 0x86A
if 0x3 goto @done
msgbox @2 0x6
trainerbattle 0x3 0x10C 0x0 @before @after @later
end

#org @before
= Welcome to the Lavaridge Gym!\nHey... haven't I seen you\lsomewhere before..? I guess it\ldoesn't really matter. Are you here\lfor a battle? Well, if you are, I\lhope you brought your A-Game,\lbecause I will not go down easy.\lI have beaten all of the Gyms in\lthe Kanto, Jhoto and Sinnoh\lRegions.\lI am considered the "unoffical"\lchampion in the Sinnoh, and Kanto\lElite Four because I beat both\lprevous champions. Though I\ldeclined the title.\lBoth my grandparents were in the\lElite four as well; My Grandma was\lAgatha, and my Grandfather was\lBruno. As you can see, I have quite\la reputation to keep. Are you\lready? Then lets go.

#org @after
= Oh wow... You truly are an\noutstanding trainer.\l....I swear you look so familar. Do\lyou live around here?

#org @later
msgbox @3 0x6
fanfare 0x13E
msgbox @4 0x4
waitfanfare
closeonkeypress
msgbox @5 0x6
giveitem 0x338 0x1
setflag 0x820
release
end

#org @done
msgbox @1 0x6
release
end

#org @1
= I still cant place were I have seen\nyou before...\lMaybe one day I will figure it out.\lOh ya, your dad called my PokeGear\la few hours ago asking if you\lpassed through here yet.\lDont look at me like that! Haha..\lI'm sure he's just anxiuos to\lbattle you.\l--Oh. That look was for my\lPokeGear? It's a device from the\lJhoto Region. Its alot more\ladvanced than the PokeNav.

#org @2
= Welcome to the Lavaridge Gym!\nHey... haven't I seen you\lsomewhere before..? I guess it\ldoesn't really matter. Are you here\lfor a battle? Well, if you are, I\lhope you brought your A-Game,\lbecause I will not go down easy.\lI have beaten all of the Gyms in\lthe Kanto, Jhoto and Sinnoh\lRegions.\lI am considered the "unoffical"\lchampion in the Sinnoh, and Kanto\lElite Four because I beat both\lprevous champions. Though I\ldeclined the title.\lBoth my grandparents were in the\lElite four as well; My Grandma was\lAgatha, and my Grandfather was\lBruno.

#org @3
= Haha... I'm\lsorry for getting off topic.\lI haven't fought against a trainer\lof your skill level for a few\lyears. I'm sure my Pokemon and I\lare out of practice from all the\leasy battles we have been getting.\lStill.. thats no excuse.

#org @4
= \v\h01 recieved the heat Badge!

#org @5
= So without\lfurther adieu, here is the Heat\lBadge, along with my favourite TM:\lOverheat. Initially, its a powerful\lmove, but after every use it cuts\lSpecial Attack.


Please, I would really appreciate it if you could tell me what i am doing wrong.
I believe that some of the commands I am using in it are made for Fire Red/Leaf Green, because they are the ones I learned on Diego's Tutorial, and he specifically stated that he does not like the R/S/E ROMs. If I am using the wrong commands, could you please either tell me the ones I need, or direct me to a forum that has a list of them...?

Please, and Thank you.
Your seriously having problems for me the link works perfectly, just go to the Toolbox section and download XSE from Hackmew's Tool Factory!

I didn't know this was a gym battle script so here's the script like the Gym Battle In FR... XSE Style...

Spoiler:
#dynamic 0x800000

#org @start
lock
faceplayer
setvar 0x8004 0x2
setvar 0x8005 0x2
special 0x174
trainerbattle 0x1 0x10C 0x0 @see @win @sets
checkflag 0x254
if 0x0 goto @take
msgbox @1 0x4
release
end

#org @sets
setvar 0x8004 0x2
setvar 0x8005 0x1
special 0x173
setflag 0x4B0
setflag 0x820
setvar 0x406C 0x1
setflag 0x2E
clearflag 0x92
setvar 0x8008 0x1
call @clear
goto @take

#org @take
msgbox @2 0x4
checkitemroom 0x152 0x1
compare 0x800D 0x0
if 0x1 goto @full
additem 0x152 0x1
loadpointer 0x0 @receive
giveitem2 0x152 0x1 0x101
setflag 0x254
msgbox @tm 0x4
release
end

#org @clear
copyvar 0x8000 0x8008
compare 0x8000 0x1
if 0x1 goto @1.0
compare 0x8000 0x2
if 0x1 goto @2.0
compare 0x8000 0x3
if 0x1 goto @3.0
compare 0x8000 0x4
if 0x1 goto @4.0
compare 0x8000 0x5
if 0x1 goto @5.0
compare 0x8000 0x6
if 0x1 goto @6.0
compare 0x8000 0x7
if 0x1 goto @7.0
compare 0x8000 0x8
if 0x1 goto @8.0
end

#org @full
msgbox @room 0x4
release
end

#org @1.0
cleartrainerflag 0x8E
return

#org @2.0
cleartrainerflag 0x96
cleartrainerflag 0xEA
return

#org @3.0
cleartrainerflag 0x8D
cleartrainerflag 0xDC
cleartrainerflag 0x1A7
return

#org @4.0
cleartrainerflag 0x84
cleartrainerflag 0x85
cleartrainerflag 0xA0
cleartrainerflag 0x109
cleartrainerflag 0x10A
cleartrainerflag 0x10B
cleartrainerflag 0x192
return

#org @5.0
cleartrainerflag 0x126
cleartrainerflag 0x127
cleartrainerflag 0x120
cleartrainerflag 0x121
cleartrainerflag 0x124
cleartrainerflag 0x125
return

#org @6.0
cleartrainerflag 0x118
cleartrainerflag 0x119
cleartrainerflag 0x11A
cleartrainerflag 0x11B
cleartrainerflag 0x1CE
cleartrainerflag 0x1CF
cleartrainerflag 0x1D0
return

#org @7.0
cleartrainerflag 0xB1
cleartrainerflag 0xB2
cleartrainerflag 0xB3
cleartrainerflag 0xB4
cleartrainerflag 0xD5
cleartrainerflag 0xD6
cleartrainerflag 0xD7
return

#org @8.0
cleartrainerflag 0x128
cleartrainerflag 0x129
cleartrainerflag 0x142
cleartrainerflag 0x143
cleartrainerflag 0x144
cleartrainerflag 0x188
cleartrainerflag 0x190
cleartrainerflag 0x191
return

#org @see
= Welcome to the Lavaridge Gym!\pHey... haven't I seen you\nsomewhere before?\pI guess it doesn't really matter.\pAre you here for a battle?\pWell, if you are, I hope you\nbrought your A-game, because I will\lnot go down easy.\pI have beaten all of the Gyms in\nthe Kanto, Johto, and Sinnoh\lRegions.\pI am considered the "unofficial"\nChampion in the Sinnoh, and Kanto\lElite Four because I beat both\lprevious Champions.\pThough I decline the title.\pBoth my grandparents were in the\nElite four as well; My Grandma was\lAgatha, and my Grandfather was\lBruno.\pAs you can see, I have quite a\nreputation to keep.\pAre you ready?\pThen let's go.

#org @win
= Oh wow...\pYou truly are an outstanding\nTrainer.\p...I swear you look familiar.\pDo you live around here?

#org @1
= I still cant place were I have seen\nyou before...\lMaybe one day I will figure it out.\lOh ya, your dad called my PokeGear\la few hours ago asking if you\lpassed through here yet.\lDont look at me like that! Haha..\lI'm sure he's just anxiuos to\lbattle you.\l--Oh. That look was for my\lPokeGear?\pIt's a device from the\lJohto Region. Its alot more\ladvanced than the PokeNav.\pHaha... I'm\lsorry for getting off topic.\lI haven't fought against a trainer\lof your skill level for a few\lyears. I'm sure my Pokemon and I\lare out of practice from all the\leasy battles we have been getting.\lStill.. thats no excuse.

#org @2
= So without further adieu, Here's\nmy favorite TM!

#org @receive
= [player] received the\nTM50 OVERHEAT.

#org @tm
= A TM, Technical Machine, contains a\ntechnique for POKéMON.\pUsing a TM teaches the move it\ncontains to a POKéMON.\pA TM is good for only one use.\pSo, when you use one, pick the\nPOKéMON carefully.\pAnyways[.]\nTM50 contains OVERHEAT.\pIt's a very powerful move.\pTeach it to a FIRE POKéMON!

#org @room
= You don't have room for this.


I've tested it and works I also changed some things in the text like Johto spelled Jhoto and some script alignment's...

Test it if you want...

And if you can't compile it, here's the script in Hex just use a hex editor to insert and take note of the Offset you put it in...

Spoiler:
6A 5A 16 04 80 02 00 16 05 80 02 00 25 74 01 5C 01 0C 01 00 00 9A 01 90 08 0A 04 90 08 35 00 90 08 2B 54 02 06 00 63 00 90 08 0F 00 73 04 90 08 09 04 6C 02 FF 16 04 80 02 00 16 05 80 01 00 25 73 01 29 B0 04 29 20 08 16 6C 40 01 00 29 2E 00 2A 92 00 16 08 80 01 00 04 A5 00 90 08 05 63 00 90 08 FF 0F 00 CC 06 90 08 09 04 46 52 01 01 00 21 0D 80 00 00 06 01 04 01 90 08 44 52 01 01 00 0F 00 FF 06 90 08 1A 00 80 52 01 1A 01 80 01 00 1A 02 80 01 01 09 09 29 54 02 0F 00 20 07 90 08 09 04 6C 02 FF 19 00 80 08 80 21 00 80 01 00 06 01 0F 01 90 08 21 00 80 02 00 06 01 14 01 90 08 21 00 80 03 00 06 01 1C 01 90 08 21 00 80 04 00 06 01 27 01 90 08 21 00 80 05 00 06 01 3E 01 90 08 21 00 80 06 00 06 01 52 01 90 08 21 00 80 07 00 06 01 69 01 90 08 21 00 80 08 00 06 01 80 01 90 08 02 FF 0F 00 3C 08 90 08 09 04 6C 02 FF 61 8E 00 03 FF 61 96 00 61 EA 00 03 FF 61 8D 00 61 DC 00 61 A7 01 03 FF 61 84 00 61 85 00 61 A0 00 61 09 01 61 0A 01 61 0B 01 61 92 01 03 FF 61 26 01 61 27 01 61 20 01 61 21 01 61 24 01 61 25 01 03 FF 61 18 01 61 19 01 61 1A 01 61 1B 01 61 CE 01 61 CF 01 61 D0 01 03 FF 61 B1 00 61 B2 00 61 B3 00 61 B4 00 61 D5 00 61 D6 00 61 D7 00 03 FF 61 28 01 61 29 01 61 42 01 61 43 01 61 44 01 61 88 01 61 90 01 61 91 01 03 FF D1 D9 E0 D7 E3 E1 D9 00 E8 E3 00 E8 DC D9 00 C6 D5 EA D5 E6 DD D8 DB D9 00 C1 ED E1 AB FB C2 D9 ED AD AD AD 00 DC D5 EA D9 E2 B4 E8 00 C3 00 E7 D9 D9 E2 00 ED E3 E9 FE E7 E3 E1 D9 EB DC D9 E6 D9 00 D6 D9 DA E3 E6 D9 AC FB C3 00 DB E9 D9 E7 E7 00 DD E8 00 D8 E3 D9 E7 E2 B4 E8 00 E6 D9 D5 E0 E0 ED 00 E1 D5 E8 E8 D9 E6 AD FB BB E6 D9 00 ED E3 E9 00 DC D9 E6 D9 00 DA E3 E6 00 D5 00 D6 D5 E8 E8 E0 D9 AC FB D1 D9 E0 E0 B8 00 DD DA 00 ED E3 E9 00 D5 E6 D9 B8 00 C3 00 DC E3 E4 D9 00 ED E3 E9 FE D6 E6 E3 E9 DB DC E8 00 ED E3 E9 E6 00 BB AE DB D5 E1 D9 B8 00 D6 D9 D7 D5 E9 E7 D9 00 C3 00 EB DD E0 E0 FA E2 E3 E8 00 DB E3 00 D8 E3 EB E2 00 D9 D5 E7 ED AD FB C3 00 DC D5 EA D9 00 D6 D9 D5 E8 D9 E2 00 D5 E0 E0 00 E3 DA 00 E8 DC D9 00 C1 ED E1 E7 00 DD E2 FE E8 DC D9 00 C5 D5 E2 E8 E3 B8 00 C4 E3 DC E8 E3 B8 00 D5 E2 D8 00 CD DD E2 E2 E3 DC FA CC D9 DB DD E3 E2 E7 AD FB C3 00 D5 E1 00 D7 E3 E2 E7 DD D8 D9 E6 D9 D8 00 E8 DC D9 00 B2 E9 E2 E3 DA DA DD D7 DD D5 E0 B2 FE BD DC D5 E1 E4 DD E3 E2 00 DD E2 00 E8 DC D9 00 CD DD E2 E2 E3 DC B8 00 D5 E2 D8 00 C5 D5 E2 E8 E3 FA BF E0 DD E8 D9 00 C0 E3 E9 E6 00 D6 D9 D7 D5 E9 E7 D9 00 C3 00 D6 D9 D5 E8 00 D6 E3 E8 DC FA E4 E6 D9 EA DD E3 E9 E7 00 BD DC D5 E1 E4 DD E3 E2 E7 AD FB CE DC E3 E9 DB DC 00 C3 00 D8 D9 D7 E0 DD E2 D9 00 E8 DC D9 00 E8 DD E8 E0 D9 AD FB BC E3 E8 DC 00 E1 ED 00 DB E6 D5 E2 D8 E4 D5 E6 D9 E2 E8 E7 00 EB D9 E6 D9 00 DD E2 00 E8 DC D9 FE BF E0 DD E8 D9 00 DA E3 E9 E6 00 D5 E7 00 EB D9 E0 E0 36 00 C7 ED 00 C1 E6 D5 E2 D8 E1 D5 00 EB D5 E7 FA BB DB D5 E8 DC D5 B8 00 D5 E2 D8 00 E1 ED 00 C1 E6 D5 E2 D8 DA D5 E8 DC D9 E6 00 EB D5 E7 FA BC E6 E9 E2 E3 AD FB BB E7 00 ED E3 E9 00 D7 D5 E2 00 E7 D9 D9 B8 00 C3 00 DC D5 EA D9 00 E5 E9 DD E8 D9 00 D5 FE E6 D9 E4 E9 E8 D5 E8 DD E3 E2 00 E8 E3 00 DF D9 D9 E4 AD FB BB E6 D9 00 ED E3 E9 00 E6 D9 D5 D8 ED AC FB CE DC D9 E2 00 E0 D9 E8 B4 E7 00 DB E3 AD FF 00 FF C9 DC 00 EB E3 EB AD AD AD FB D3 E3 E9 00 E8 E6 E9 E0 ED 00 D5 E6 D9 00 D5 E2 00 E3 E9 E8 E7 E8 D5 E2 D8 DD E2 DB FE CE E6 D5 DD E2 D9 E6 AD FB AD AD AD C3 00 E7 EB D9 D5 E6 00 ED E3 E9 00 E0 E3 E3 DF 00 DA D5 E1 DD E0 DD D5 E6 AD FB BE E3 00 ED E3 E9 00 E0 DD EA D9 00 D5 E6 E3 E9 E2 D8 00 DC D9 E6 D9 AC FF 00 FF C3 00 E7 E8 DD E0 E0 00 D7 D5 E2 E8 00 E4 E0 D5 D7 D9 00 EB D9 E6 D9 00 C3 00 DC D5 EA D9 00 E7 D9 D9 E2 FE ED E3 E9 00 D6 D9 DA E3 E6 D9 AD AD AD FA C7 D5 ED D6 D9 00 E3 E2 D9 00 D8 D5 ED 00 C3 00 EB DD E0 E0 00 DA DD DB E9 E6 D9 00 DD E8 00 E3 E9 E8 AD FA C9 DC 00 ED D5 B8 00 ED E3 E9 E6 00 D8 D5 D8 00 D7 D5 E0 E0 D9 D8 00 E1 ED 00 CA E3 DF D9 C1 D9 D5 E6 FA D5 00 DA D9 EB 00 DC E3 E9 E6 E7 00 D5 DB E3 00 D5 E7 DF DD E2 DB 00 DD DA 00 ED E3 E9 FA E4 D5 E7 E7 D9 D8 00 E8 DC E6 E3 E9 DB DC 00 DC D9 E6 D9 00 ED D9 E8 AD FA BE E3 E2 E8 00 E0 E3 E3 DF 00 D5 E8 00 E1 D9 00 E0 DD DF D9 00 E8 DC D5 E8 AB 00 C2 D5 DC D5 AD AD FA C3 B4 E1 00 E7 E9 E6 D9 00 DC D9 B4 E7 00 DE E9 E7 E8 00 D5 E2 EC DD E9 E3 E7 00 E8 E3 FA D6 D5 E8 E8 E0 D9 00 ED E3 E9 AD FA AE AE C9 DC AD 00 CE DC D5 E8 00 E0 E3 E3 DF 00 EB D5 E7 00 DA E3 E6 00 E1 ED FA CA E3 DF D9 C1 D9 D5 E6 AC FB C3 E8 B4 E7 00 D5 00 D8 D9 EA DD D7 D9 00 DA E6 E3 E1 00 E8 DC D9 FA C4 E3 DC E8 E3 00 CC D9 DB DD E3 E2 AD 00 C3 E8 E7 00 D5 E0 E3 E8 00 E1 E3 E6 D9 FA D5 D8 EA D5 E2 D7 D9 D8 00 E8 DC D5 E2 00 E8 DC D9 00 CA E3 DF D9 C8 D5 EA AD FB C2 D5 DC D5 AD AD AD 00 C3 B4 E1 FA E7 E3 E6 E6 ED 00 DA E3 E6 00 DB D9 E8 E8 DD E2 DB 00 E3 DA DA 00 E8 E3 E4 DD D7 AD FA C3 00 DC D5 EA D9 E2 B4 E8 00 DA E3 E9 DB DC E8 00 D5 DB D5 DD E2 E7 E8 00 D5 00 E8 E6 D5 DD E2 D9 E6 FA E3 DA 00 ED E3 E9 E6 00 E7 DF DD E0 E0 00 E0 D9 EA D9 E0 00 DA E3 E6 00 D5 00 DA D9 EB FA ED D9 D5 E6 E7 AD 00 C3 B4 E1 00 E7 E9 E6 D9 00 E1 ED 00 CA E3 DF D9 E1 E3 E2 00 D5 E2 D8 00 C3 FA D5 E6 D9 00 E3 E9 E8 00 E3 DA 00 E4 E6 D5 D7 E8 DD D7 D9 00 DA E6 E3 E1 00 D5 E0 E0 00 E8 DC D9 FA D9 D5 E7 ED 00 D6 D5 E8 E8 E0 D9 E7 00 EB D9 00 DC D5 EA D9 00 D6 D9 D9 E2 00 DB D9 E8 E8 DD E2 DB AD FA CD E8 DD E0 E0 AD AD 00 E8 DC D5 E8 E7 00 E2 E3 00 D9 EC D7 E9 E7 D9 AD FF 00 FF CD E3 00 EB DD E8 DC E3 E9 E8 00 DA E9 E6 E8 DC D9 E6 00 D5 D8 DD D9 E9 B8 00 C2 D9 E6 D9 B4 E7 FE E1 ED 00 DA D5 EA E3 E6 DD E8 D9 00 CE C7 AB FF 00 FF FD 01 00 E6 D9 D7 D9 DD EA D9 D8 00 E8 DC D9 FE CE C7 A6 A1 00 C9 D0 BF CC C2 BF BB CE AD FF 00 FF BB 00 CE C7 B8 00 CE D9 D7 DC E2 DD D7 D5 E0 00 C7 D5 D7 DC DD E2 D9 B8 00 D7 E3 E2 E8 D5 DD E2 E7 00 D5 FE E8 D9 D7 DC E2 DD E5 E9 D9 00 DA E3 E6 00 CA C9 C5 1B C7 C9 C8 AD FB CF E7 DD E2 DB 00 D5 00 CE C7 00 E8 D9 D5 D7 DC D9 E7 00 E8 DC D9 00 E1 E3 EA D9 00 DD E8 FE D7 E3 E2 E8 D5 DD E2 E7 00 E8 E3 00 D5 00 CA C9 C5 1B C7 C9 C8 AD FB BB 00 CE C7 00 DD E7 00 DB E3 E3 D8 00 DA E3 E6 00 E3 E2 E0 ED 00 E3 E2 D9 00 E9 E7 D9 AD FB CD E3 B8 00 EB DC D9 E2 00 ED E3 E9 00 E9 E7 D9 00 E3 E2 D9 B8 00 E4 DD D7 DF 00 E8 DC D9 FE CA C9 C5 1B C7 C9 C8 00 D7 D5 E6 D9 DA E9 E0 E0 ED AD FB BB E2 ED EB D5 ED E7 B0 FE CE C7 A6 A1 00 D7 E3 E2 E8 D5 DD E2 E7 00 C9 D0 BF CC C2 BF BB CE AD FB C3 E8 B4 E7 00 D5 00 EA D9 E6 ED 00 E4 E3 EB D9 E6 DA E9 E0 00 E1 E3 EA D9 AD FB CE D9 D5 D7 DC 00 DD E8 00 E8 E3 00 D5 00 C0 C3 CC BF 00 CA C9 C5 1B C7 C9 C8 AB FF 00 FF D3 E3 E9 00 D8 E3 E2 B4 E8 00 DC D5 EA D9 00 E6 E3 E3 E1 00 DA E3 E6 00 E8 DC DD E7 AD FF 00


Tell me if it doesn't work...
__________________