Can anyone help me, a weird menu pops up when I click compile. Is was working before I edited it to change the Pokemon.
#dynamic 0x8007BA
#org @start
lock
faceplayer
msgbox @1 0x6
release
end
#org @1
= Pikachu!\nPikachu is having fun.
Absolutely nothing is wrong with this script.
It is perfect the way it is, I can't even optimize it.
That strange menu that pops up, is your Compiler Log.
You might have inserted the script, but you can't use it 'till make one of the Sprites in A-Map use it. (Or if you point to it, but you are not really doing that here...)
In the compiler log, you'll see a thing that says @start... next to it should be an offset, probably the same one as your Dynamic One, if this is the first script you are inserting.
Just copy that offset, and go into A-Map, find the sprite you want to have use this script, and paste the offset into the 'Script Offset' box.
Why does my script always get ignored, this is the third time i posted it here but people completely ignore it D=
I never ignored it, I was just busy reading that HUGE post of yours.
Here you go.
Changes are in
BOLD RED.
I decided to make this for the NEWEST XSE.
If you are going to continue using that old copy, then you need to delete the numbers that follow after the msgbox commands, and replace them with boxset commands...
Also, I changed your Dynamic offset, since you should NEVER start that close to important data.
Your Problem with Gary not moving is because you don't have the numbers matching correctly between the Sprite, and XSE. Look it over. (In A-Map, the Sprite number is NOT in HEX, so if you are trying to move person #11, don't use the 0x11... just use 11... get it?)
Code:
#dynamic 0x[B][COLOR="Red"]760000[/COLOR][/B]
#org @start
checkflag 0x82[B][COLOR="Red"]9[/COLOR][/B]
if b_false goto @done
message @1 [B][COLOR="Red"]6[/COLOR][/B]
applymovement [B][COLOR="Red"]11[/COLOR][/B] @gary2
waitmovement 0x0
trainerbattle 0x1 0x146 0x0 @2 @3 @4
applymovement [B][COLOR="Red"]11[/COLOR][/B] @gary3
waitmovement 0x0
release
end
#org @done
release
end
#org @4
message @later2 [B][COLOR="Red"]6[/COLOR][/B]
fanfare 0x13E
special 0x16F
setflag [B][COLOR="Red"]0x[/COLOR][/B]829
message @5 [B][COLOR="Red"]4[/COLOR][/B]
waitfanfare
closeonkeypress
message @6 [B][COLOR="Red"]6[/COLOR][/B]
release
end
#org @gary2
#raw 0x10 0x10
#raw 0x10
#raw 0x13
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0xFE
#org @gary3
#raw 0x12
#raw 0x12
#raw 0x11
#raw 0x11
#raw 0x12
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE
#org @1
= [RED_FR]HOLD ON!!!!!
#org @2
= [RED_FR][rival]: You're not leaving until\nyou give me a pokemon battle!\lSo get your pokemon and fight!
#org @3
= WHAAATT!\nHOW COULD I HAVE LOST?!
#org @later2
= [rival]: Wow man, you got lucky\nthere!\lAnyway, gramps told me to give you\lthis whenever i see you.
#org @5
= [BLACK_FR]You received the National Pokedex!
#org @6
= That's all i'm ever going to give\nyou though! I think you'll be a\lgreat rival, so let's meet\lsomewhere again and battle alright?\lWell i don't have time for your\lanswer, smell ya later.