[ARCHIVE] Simple Questions (SEARCH BEFORE ASKING A QUESTION)
View Single Post
June 30th, 2009, 11:20 AM
Join Date: Mar 2007
Location: The Netherlands
Ok, I'm not sure if this has anything to do with the script that I'm using, but it should work...
So, my problem is, I made a script where you see a poké ball, you click it, it shows a picture of a pokemon, asks if you want it yes/no. If no, then ok, choose another one, end script. When you press yes you go on, get the pokemon, fanfair, your rival picks a pokemon and then he leaves...
This all takes place in the lab, with an aid and your rival. Now, my problem is... that after you choose your pokemon, you can choose if you want to give it a name. When you press no the script runs fine and it works as it should. When you press yes the script also works fine... but at the end of the script you don't control the player but the lab assistant... Why's this?
I don't think the script is need... but I'm still posting it xD
Oh, and it's a level script.
if 0x1 goto @Done
showpokepic 0x8 0xA 0x3
msgbox @WantFreezpool 0x5
compare LASTRESULT 0x0
if 0x1 goto @No
msgbox @GoodChoice 0x4
givepokemon 0x8 0x5 0x0 0x0 0x0 0x0
msgbox @GiveName 0x5
compare LASTRESULT 0x1
if 0x1 call @NameDoing
applymovement 0x5 @MoveRival
msgbox @RivalPick 0x4
msgbox @FindQuick 0x6
applymovement 0x5 @MoveRival2
msgbox @AlreadyHavePokemon 0x6
setvar 0x8004 0x0
= [blue_fr]AID: FREEZPOOL, the WATER-TYPE\nPOKéMON!\pDo you want FREEZPOOL?
= [blue_fr]AID: I think that's a great choice,\n[player]!\p[player] received a FREEZPOOL!
= Would you like to give FREEZPOOL\na NICKNAME?
= [blue_fr][rival]: Then I'll pick[.]\pThis one!\p[rival] received a SQUIBEEL!
= [blue_fr]AID: Find him, quickly!\nPlease!\p[rival]: Sure!\pC'mon, [player]!\pLet's find him!
= You already got your POKéMON!
I'll try if it helps to do the name choosing later in the game...
But I'm still wondering why this happens, so if anyone has an answer please answer :D
View Public Profile
Send a private message to Lyzo
Find all posts by Lyzo
Find threads started by Lyzo
Ignore Posts by Lyzo