- 2
- Posts
- 14
- Years
- Seen Feb 7, 2011
PokeScript - Give Pokemon
Right, I am wondering how to display text after I have just called the givepokmon function. I've tried and tried and still had no luck.. Anyway care to help me on this script?
(Started learning last night!)
Right, I am wondering how to display text after I have just called the givepokmon function. I've tried and tried and still had no luck.. Anyway care to help me on this script?
Code:
#ORG $givePokemonScript
lock
faceplayer
checkflag 0x202
if B_TRUE goto $claimedPokemon
message $askPlayer
$askPlayer 1 = Would you like to look after my Mew?
boxset 5
compare 0x800D 0x0001
if 0x01 goto $givePokemon
message $ansNo
$ansNo 1 = Come back if you change your mind!
boxset 6
release
end
#ORG $claimedPokemon
lock
faceplayer
message $claimed
$claimed 1 = You have already have my Mew!
boxset 6
release
end
#ORG $givePokemon
lock
faceplayer
givepokemon 151 10 0x00
setflag 0x202
fanfare 0x13E
message $giving
$giving 1 = You have obtained Mew!
release
end
(Started learning last night!)