View Single Post
  #8087    
Old March 30th, 2013 (10:45 AM).
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552
Quote originally posted by Patrick Symus:
Game: Firered
Type: Person

When I enter the lab and speak to it, nothing happens... It should continue asking me questions until it ends, but it does nothing...

Spoiler:
#dynamic 0x82C4EC

#org @start
checkflag 0x1000
if 0x1 goto @already
msgbox @1 0x5
if 0x1 goto @dragonite
msgbox @2 0x5
if 0x1 goto @garchomp
msgbox @3 0x5
if 0x1 goto @salamence
if 0x0 goto @games
release
end

#org @already
msgbox @already1 0x6
release
end

#org @dragonite
givepokemon 0x95 0x5 0x0 0x0 0x0 0x0
msgbox @gotit 0x6
setflag 0x1000
msgbox @nickname 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
release
end

#org @garchomp
givepokemon 0x1BD 0x5 0x0 0x0 0x0 0x0
msgbox @gotit 0x6
setflag 0x1000
msgbox @nickname 0x5
if 0x1 gosub @name
release
end

#org @salamence
givepokemon 0x175 0x5 0x0 0x0 0x0 0x0
msgbox @gotit 0x6
setflag 0x1000
msgbox @nickname 0x5
if 0x1 gosub @name
release
end

#org @name
call 0x1A74EB
return

#org @already1
= [player]: I have already taken my\npokemon.

#org @1
= Is Dragonite your pokemon?

#org @2
= Is Garchomp your pokemon?

#org @3
= Is Salamence your pokemon?

#org @games
= Professor: Stop playing games and\nchoose your pokemon!

#org @gotit
= You received a pokemon!

#org @nickname
= Would you like to nickname your\npokemon?
First of all, no flags over 900, see thise post: http://www.pokecommunity.com/showpost.php?p=6829256&postcount=158

Now, you are close when it comes to yes/no boxes, but you are missing a line:

It should be:

msgbox @1 0x5
compare 0x800D 0x1
if 0x1 goto @dragonite

You need to check and see if they said yes. Before you only saw, you didn't check:p

Also, you need to use a msgbox command to show the text at @games. Otherwise with will try and read the characters as scripting commands.
__________________

Paired with Simba