Thank you! It worked. Although, I haven't tested yet since i have tons of other editting to do. Thanxs again.
Oh, Can you help me with a different problem? I can only get one person with a "Give item" or "Give pokemon" script to actually give you the item or pokemon. Like I made Ho-oh give you a max revive and Clefairy give you a masterball, but when I tested it, the first one I went to was the only one with an item. Here's Clefairy's script:
#org $Sillyquestion
lock
faceplayer
checkflag 0x200
If B_TRUE goto $Done
message $Freepo
$Freepo 1 = Do you want a pokeball I found?
boxset 5
compare LASTRESUILT B_TRUE
if B_False goto $Nothanks1
message $Hereitis
$Hereitis 1 = Here ya go!
Boxset 6
giveitem 0x1 0x1
setflag 0x200
release
end
#org $Nothanks1
lock
faceplayer
message $Nothanks
$Nothanks 1 = Whatever.
boxset 6
release
end
#org $Done
lock
faceplayer
message $Noneleft
$Noneleft 1 = Use it wisely young padawan.
release
end
They also never say the part of the script in red. Thank you.
Hi. I've been working on the following script, but it won't work properly.
#org start
lock
faceplayer
checkflag 0x184
if b_true goto $squirt
checkflag 0x195
if b_true goto $bulb
checkflag 0x206
if b_true goto $charm
#org $squirt
trainerbattle 1 0x001 $before $after $later
#org $bulb
trainerbattle 1 0x002 $before $after $later
#org $charm
trainerbattle 1 0x003 $before $after $later
#org $later
message $beaten
boxset 6
applymovement 0x08 $move
#raw 0x53 0x0F 0x80
release
end
#org $move
#raw 0x11
#org $before
$before 1 = \v\h06: Hey \v\h01! Have you\ncaught any more POKéMON yet?
#org $after
$after 1 = \v\h06: Not bad...
#org $beaten
$beaten 1 = \v\h06: You have a badge? I'm\nimpressed.\pAlthough, I already have two badges.\nRight now, I'm just taking a detour\pMT. MOON to catch a CLEFAIRY.\nAnyways, smell ya later.
First problem is at the checkflags. I swear I found the right values for deciding which Pokémon you took at the beginning, but perhaps not.
Also, when it reaches the pausemove 0, it freezes.
Can anyone help?
Awesome stuff.
#org $start
lock
faceplayer
checkflag 0x29F
if b_true goto $done
message $hey
boxset 6
applymovement 0xFF $hey2
pausemove 0x0
special 0x113
applymovement 0x7F $camera
pausemove 0x10
special 0x114
special 0x113
applymovement 0x7F $camera2
pausemove 0x0
special 0x114
applymovement 0xFF $move
pausemove 0
applymovement 0x02 $move2
pausemove 0
applymovement 0xFF $move3
pausemove 0
message $psyduck
boxset 4
#raw 0x68
fadescreen 0x1
fanfare 0x100
special 0x0
waitfanfare
fadescreen 0x0
message $psy
boxset 6
givepokemon 79 10 0
fanfare 0x13E
message $received
boxset 4
waitfanfare
#raw 0x68
message $Would
boxset 5
compare LASTRESULT 0x1
if b_true gosub $name
fadescreen 0x01
#raw 0x53
#raw 0x00
#raw 0x00
#raw 0x53
#raw 0x00
#raw 0x00
#raw 0x53
#raw 0x00
#raw 0x00
#raw 0x53
#raw 0x00
#raw 0x53
#raw 0x00
#raw 0x00
fadescreen 0x00
setflag 0x29F
release
end
#org $done
release
end
#org $hey
$hey 1 = \v\h01: Hey, what's going on\nover there?
#org $hey2
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0xFE
#org $camera
#raw 0x11 0x11 0x11 0x11 0x11 0xFE
#org $camera2
#raw 0x10 0x10 0x10 0x10 0x10 0xFE
#org $move
#raw 0x11 0x11 0xFE
#org $move2
#raw 0x62 0x12 0x01 0xFE
#org $move3
#raw 0x11 0x11 0xFE
#org $psyduck
$psyduck 1 = \v\h01: This Psyduck appears to\nbe afraid of the water. Maybe\lI should help it.
#org $psy
$psy 1 = Psyduck: Psy psy psy?\n\v\h01: You want to join my team?
#org $received
$received 1 = You received a Psyduck.
#org $would
$would 1 = Would you like to rename Psyduck?
#org $name
call 0x1A74EB
return
Uh..shouldn't it be "boxset"?
Signs are Boxset 4 I think
Here it is, but fixed.what's wrong with this script it wont work
#org $start
lock
faceplayer
message $10
givepokemon 1 5 0
give item = 5x#DEFINE_POKEBALL
release
end
message $10
here is your starter pack
DISSAPEAR SPRITE
release
message $11
data
end
message $11
bye
this is what i wanted to happen he gives you you the pokemon then item,says bye
then the sprite you are talking to dissapears can someone fix it plz
#dynamic 0x8000000
#org @start
lockall
applymovement 0xFF @walkup
waitmovement 0
setflag 0x203
setvar 0x8001 0x2
releaseall
end
#org @walkup
#binary 0x0D 0x0D 0x0D 0x0D 0x0D 0x0D 0x0D 0xFE
#dynamic 0x26E4C3
#org @start
trainerbattle 0 0x001 @before @after
message @beaten
boxset 0x6
release
end
#org @before
= Aren't bugs great?
#org @after
= Nooo! My bugs!
#org @beaten
= How could you squash my\npoor bugs?
no problem ;)I am trying to make a trainer battle but I really have no clue how to. Can someone help me please? 3=
#dynamic 0x26E4C3
#org @start
trainerbattle 0x0 0x01 0x00 @before @after
message @beaten
boxset 0x6
release
end
#org @before
= Aren't bugs great?
#org @after
= Nooo! My bugs!
#org @beaten
= How could you squash my\npoor bugs?