View Single Post
  #816    
Old January 3rd, 2013 (04:27 PM).
tajaros's Avatar
tajaros tajaros is offline
Hi I'm dawg
 
Join Date: Apr 2012
Location: Philippines
Age: 16
Gender: Male
Nature: Timid
Posts: 857
Send a message via Windows Live Messenger to tajaros
Quote originally posted by LudicoloDude:
the script is kinda long.

Spoiler:
#dynamic 0x800000

#org @start
setvar 0x5003 0x3
goto 0x803D22
end

#org @script
checkflag 0x1003
if 0x1 goto @done
compare 0x5003 0x0
if 0x1 goto @left
compare 0x5003 0x1
if 0x1 goto @middleleft
compare 0x5003 0x2
if 0x1 goto @middleright
compare 0x5003 0x3
if 0x1 goto @right
end

#org @left
showsprite 0x2
showsprite 0x1
textcolor 0x00
msgbox @yellforhelp 0x4
closeonkeypress
applymovement 0xFF @movesfast1
waitmovement 0x0
msgbox @TeamRocket 0x4
closeonkeypress
applymovement 0x1 @!
pause 0x30
applymovement 0x1 @turnsaround
trainerbattle 0x1 0x019 0x0 @before @after @later
end

#org @middleleft
showsprite 0x2
showsprite 0x1
textcolor 0x00
msgbox @yellforhelp 0x4
closeonkeypress
applymovement 0xFF @movesfast2
waitmovement 0x0
msgbox @TeamRocket 0x4
closeonkeypress
applymovement 0x1 @!
pause 0x30
applymovement 0x1 @turnsaround
trainerbattle 0x1 0x019 0x0 @before @after @later
end

#org @middleright
showsprite 0x2
showsprite 0x1
textcolor 0x00
msgbox @yellforhelp 0x4
closeonkeypress
applymovement 0xFF @movesfast3
waitmovement 0x0
msgbox @TeamRocket 0x4
closeonkeypress
applymovement 0x1 @!
pause 0x30
applymovement 0x1 @turnsaround
trainerbattle 0x1 0x019 0x0 @before @after @later
end

#org @right
showsprite 0x2
showsprite 0x1
textcolor 0x00
msgbox @yellforhelp 0x4
closeonkeypress
applymovement 0xFF @movesfast4
waitmovement 0x0
msgbox @TeamRocket 0x4
closeonkeypress
applymovement 0x1 @!
pause 0x30
applymovement 0x1 @turnsaround
trainerbattle 0x1 0x019 0x0 @before @after @later
end

#org @later
textcolor 0x00
msgbox @chideshero 0x4
closeonkeypress
applymovement 0x1 @TRgoesaway
waitmovement 0x0
hidesprite 0x1
msgbox @thankyou 0x4
closeonkeypress
applymovement 0x2 @Rivalgoesaway
waitmovement 0x0
hidesprite 0x2
release
end

#org @done
release
end

#org @yellforhelp
= SOME ONE HELP ME!
#org @teamrocket
= Ha, one less trainer with out\ntheir Pokemon means one less\ltrainer sho wont get in the way of\lboss's plans!

#org @before
= What kind of person do you think\nyou are, some kind of hero?\pHa, just test me, I'll send you\nhome bawling your eyes out.

#org @after
= WHA-?! HOW!?

#org @chideshero
= How did this happen?!\pI have been training for this\nmission and I failed!\pGRR... you will pay one day for\nwhat you did to the team, but then\lagain, a few trainers don't\lmatter.\pStay out of our way!

#org @thankyou
= Wow, thank you so much for saving\nme, he almost took my Pokemon.\pI recieved it as a gift from and\nold friend of mine, I don't know\lwhat I would do with out it.\pHm, didn't that guy say something\nabout a plan earlier?\pIt probably dosn't matter much.\nOnce again thanks for saving me,\lcome by my house later.\pIt's just north from the\nPokecenter in Morbank town.

#org @movesfast1
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0xFE

#org @movesfast2
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0xFE

#org @movesfast3
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0xFE

#org @movesfast4
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0xFE

#org @!
#raw 0x62
#raw 0xFE

#org @turnsaround
#raw 0x3
#raw 0xFE

#org @TRgoesaway
#raw 0x1E
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0xFE

#org @Rivalgoesaway
#raw 0x1E
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0xFE
It seems you don't put waitmovement 0x0 after the applymovement command in some of your scripts. Put those after your applymovement scripts instead of a pause command.

And what's 803D22? Where is the pointer for that I can't see it in your script. And remove those release commands at the end of your scripts since you didn't put a lock command at first.

And instead of 0x019 for your trainer ID you can just put 0x19. And did you try A-trainer now? Also it's not a good idea to use flags greater than 0x900 cause they can make your hack buggy and may be the cause of BAD EGGS appearing in your PC.
__________________
Reply With Quote