Hi, i have a few scripting problems!
Give Pokemon Script
Wild Pokemon Script
I'm Using this tutorial: https://www.pokecommunity.com/showthread.php?t=164276
Here is the results of the scripts
Problems:
- Wrong pokemon
- wrong level's
- not facing player
Can someone help?
Give Pokemon Script
Spoiler:
Code:
#dynamic 0x71A544
#org @start
checkflag 0x828
if 0x1 goto @done
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 goto @take
msgbox @2 0x6
release
end
#org @take
givepokemon 0x6 0x50 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @3 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 call @name
msgbox @5 0x6
release
end
#org @name
call 0x1A74EB
return
#org @done
msgbox @6 0x6
release
end
#org @1
= Hi, Can you take this Charizard\noff my hands?
#org @2
= Oh, That's okay!\nI'm sure someone else will want\lit!
#org @3
= [black_fr]You received a Charizard!
#org @4
= [black_fr]Would you like to give\na\nnickname to Charizard?
#org @5
= Take good care of my Charizard!
#org @6
= How is my Charizard feeling?
Wild Pokemon Script
Spoiler:
Code:
#dynamic 0x71A7C8
#org @start
lock
faceplayer
msgbox @1 0x6
cry 0x6 0x0
wildbattle 0x144 0x1E 0x8B
fadescreen 0x1
fadescreen 0x0
hidesprite 0x800F
setflag 0x201
release
end
#org @1
= Articuno: Cuuuuuno!
I'm Using this tutorial: https://www.pokecommunity.com/showthread.php?t=164276
Here is the results of the scripts
Problems:
- Wrong pokemon
- wrong level's
- not facing player
Can someone help?
Last edited: