Thanks for the previous posters for helping me. Sorry if this doesn't count as a simple question, didn't want to start a thread if it doesn't.
I'm trying to make a script on Pokemon Emerald, where Flannery is in Fiery Path in the location where you get the fire stone I believe, basically in the script I want her to say "I came here to train after you beat me, blah blah blah..." Then say something like I found these 2 Pokemon while training here and asking if you want them? If you say no, she stays there, if yes then you get the Pokemon, she says you won't regret it. Then when you talk to her again she says how're those Pokemon getting on? then i'm done with my training i'm going to return to my gym, then have her walk out, screen fade black, then back to normal.
This is the script i have so far:
#org $firepokemongive
lock
faceplayer
checkflag 0x1200
if 0x01 goto $done
message $question
$question 1 = FLANNERY: Hey, I locked myself in here\nafter you beat me to train, I found these\ptwo rare Pokemon CYNDAQUIL and CHARMANDER\pwhile in here do you want them?
boxset 5
compare 0x800D 0x0001
if 0x01 goto $yes
message $no
$no 1 = Oh okay, I'll go back to my training
boxset 6
release
end
#org $yes
message $yes1
$yes1 1 = I'm glad, you won't regret it.
boxset 6
givepokemon 4 10 0x00
message $receive1
$receive1 1 = Player received a CHARMANDER
givepokemon 155 10 0x00
message $receive2
$receive2 1 = Player received a CYNDAQUIL
message $hope
$hope 1 = FLANNERY: I hope those Pokemon serve you well.
setflag 0x1200
release
end
#org $done
message $goodbye
$goodbye 1 = FLANNERY: How're those Pokemon getting on?/nI'm done training here I will return\p back to LAVERIDGE to my GYM\nThank you and good luck.
applymovement 8 $move
$move 1 ; #binary 0x02 0x01 0x01 0x01 0x01 0x01 0x01 0xFE
pausemove 0x0000
fadescreen 1
removesprite 8
setflag 0x1201
pause 0x10
fadescreen 0
release
end
I am having several issues with it while testing:
1. text not appearing all in the box (I'm guessing this is trial and error though)
2. the player received pokemon messages don't appear
3. when i talk to her again, she doesn't say anything, the screen just flashes black and then back to normal and she's still there.
Can anyone help? massive thanks if you can.
EDIT: Also, yesterday I found on here something about check party pokemon, to see if theres enough space for the pokemon to fit in the party, how would I go about implementing that?