View Single Post
  #1371    
Old June 14th, 2009 (03:16 PM).
HackChu's Avatar
HackChu
I need a haircut...
Community Supporter
 
Join Date: Jan 2007
Location: Bankrupt Amerika
Age: 22
Gender: Male
Nature: Modest
Well guys this script works fine,until the fadescreen occurs than the screen jacks up,crazy parts are everywhere,Ive done the other triggers to go with it...



Spoiler:
#dynamic 0x805946

#org @start
setvar 0x5020 0x0
goto @script
end

#org @script
checkflag 0x1018
if 0x1 goto @done
compare 0x5020 0x0
if 0x1 goto @left
compare 0x5020 0x1
if 0x1 goto @midleft
compare 0x5020 0x2
if 0x1 goto @right
compare 0x5020 0x3
if 0x1 goto @faright
end

#org @left
applymovement 0x08 @move
waitmovement 0x0
goto @cont
end

#org @midleft
applymovement 0x08 @move2
waitmovement 0x0
goto @cont
end

#org @right
applymovement 0x08 @move3
waitmovement 0x0
goto @cont
end

#org @faright
applymovement 0x08 @move4
waitmovement 0x0
goto @cont
end

#org @cont
msgbox @1 0x6
playsong 0x156 0x0
cry 0xFB 0x0
msgbox @2 0x6
wildbattle 0xFB 0x5 0x0
fadescreen 0x1
hidesprite 0x08
fadescreen 0x0
msgbox @3 0x6
goto @begin
end

#org @move
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0xFE

#org @move2
#raw 0x10
#raw 0x10
#raw 0xFE

#org @move3
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0xFE

#org @move4
#raw 0x10
#raw 0x10
#raw 0x13
#raw 0x13
#raw 0xFE

#org @1
= [green_fr]???:bii!

#org @2
= [blue_fr]The Pokedex doesn't seem\ncapable of reading that\pPokemon's data.

#org @3
= [blue_fr]The Pokemon vanished!

#org @begin
compare 0x5020 0x0
if 0x1 goto @left2
compare 0x5020 0x1
if 0x1 goto @midleft2
compare 0x5020 0x2
if 0x1 goto @right2
compare 0x5020 0x3
if 0x1 goto @faright2
end

#org @left2
applymovement 0x09 @move5
waitmovement 0x0
goto @last
end

#org @midleft2
applymovement 0x09 @move6
waitmovement 0x0
goto @last
end

#org @right2
applymovement 0x09 @move7
waitmovement 0x0
goto @last
end

#org @faright2
applymovement 0x09 @move8
waitmovement 0x0
goto @last
end

#org @move5
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x04
#raw 0xFE

#org @move6
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x04
#raw 0xFE

#org @move7
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x04
#raw 0xFE

#org @move8
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0x04
#raw 0xFE

#org @last
msgbox @why 0x6
fadescreen 0x1
hidesprite 0x09
fadescreen 0x0
setflag 0x1018
release
end

#org @done
release
end

#org @why
= [blue_fr]???:You let CELEBI escape!\pMy name is Giovanni, and\nI own Team Rocket.\pGiovanni:CELEIBI is a\nLegendary Pokemon, and only a\lfew have whitnessed its power.\pGiovanni:That's Team Rockets\nonly objective, is to catch\lall the Legendary Pokemon!\pGiovanni:Hmm!\nWhat's your objective in\llife?\pTo become a Pokemon Master?\pGiovanni:Hmph! pathetic!\pGiovanni:Well I see I kept\nyou long enough.\pGiovanni:I'm sure we'll meet\nagain!


Yep there it is,fadescreen command jacks me up,and Ive even tried it with just the hidesprite command,and the screen still looks glitchy.Could it be because the sprite?Anyway people please don't leave me here for dead.I really need help,and thanks to those who help me out!
__________________
Join us!

My 'learning how to combine battle scripts' thread:
http://www.pokecommunity.com/showthread.php?t=183001

SoulSilver FC:1162 1864 5409
Name: Ethan

Black FC: 2666 1354 4379
Name: Ashton

White 2 FC: 1120 8065 3049
Name: Nate

3DS Friend Code: 1349-4646-2412
Name: tysonrss