View Single Post
  #867    
Old April 20th, 2013, 07:28 AM
Eren Jaeger's Avatar
Eren Jaeger
Pianoist
 
Join Date: Apr 2013
Location: EARTH
Gender: Male
Nature: Serious
Hey diego would you mind checking on this script?

Spoiler:
#dynamic 0x800000

#org @start
checkflag 0x828
lock
faceplayer
textcolor 0x00
if 0x1 goto @done
playsong 0x12E 0x0
applymovement 0x04 @move
applymovement 0xFF @move2
msgbox @hi 0x6
if 0x0 goto @start1
release
end

#org @start1
if 0x1 goto @done
showpokepic 0x1 0x0A 0x03
msgbox @1 0x5
compare 0x800D 0x0001
hidepokepic
if 0x0 goto @start2
givepokemon 0x1 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
closeonkeypress
msgbox @have 0x6
setflag 0x828
release
end

#org @start2
if 0x1 goto @done
showpokepic 0x4 0x0A 0x03
msgbox @2 0x5
compare 0x800D 0x0001
hidepokepic
if 0x0 goto @start3
givepokemon 0x4 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
closeonkeypress
msgbox @have 0x6
setflag 0x828
release
end

#org @start3
if 0x1 goto @done
showpokepic 0x7 0x0A 0x03
msgbox @3 0x5
hidepokepic
compare LASTRESULT 0x1
if 0x0 goto @start1
givepokemon 0x7 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
waitfanfare
closeonkeypress
msgbox @have 0x6
setflag 0x828
release
end

#org @done
msgbox @have 0x6
if 0x1 goto @door
setflag 828
release
end

#org @door
applymovement 0xFF @move3
setdooropened 0x23 0x0A
doorchange
applymovement 0x04 @move4
setdoorclosed 0x23 0x0A
doorchange

#org @move
#raw 0x61
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE

#org @move2
#raw 0x2
#raw 0x62
#raw 0xFE

#org @move3
#raw 0x10
#raw 0x1

#org @move4
#raw 0x61
#raw 0x13
#raw 0x5
#raw 0x60

#org @hi
= Prof:Oak: Hello! First kid I met today! \nI came from the kanto region \nand I'm visiting my new lab here! \pSo what's your name lad? \n... ... ... ... ... ... ... \pI see! [Player]! Hey I'm giving out \nPOK\h1AMON today! \pWhy? It's my first visit! \nfirst visit! new people! \pWell [Player]! Do you know? \nIt's your luckiest day! \pBecause I'm giving you this \nThree POK\h1Aballs containing POK\h1AMON! \lBut be sure to take care \nof this POK\h1AMON you'll choose! \pThey're very rare [Player]! \nSo are you ready?!
#org @1
= Here! Choose! \nWould you like a BULBASAUR?

#org @2
= How about a CHARMANDER?

#org @3
= Maybe a SQUIRTLE?

#org @have
= Good Choice [Player]! \nI'll be expecting something \pmore from you! and.. \nNice to meet you [Player]! \pI'll be going! Bye!


It's hanging when the door opens then closed. What should I do?!
__________________
Music is art
Reply With Quote