Cheesymitten
Dukcs
- 1,840
- Posts
- 16
- Years
- Seen Jun 5, 2015
Thanks for taking your time your the best ;)hopefully i won't be asking to many questions next time...O.o
Hey just wondering... When are the other parts coming
??
#dynamic 0x71AABF
#org @start
lock
checkflag 0x828
if b_true goto @recieved
givepokemon 133 5 0 0 0 0
setflag 0x828
release
end
#org @recieved
release
end
Fixed. you frogot the 0x0 instead of the 0's
#dynamic 0x71AABF
#org @start
checkflag 0x828
if b_true goto @recieved
givepokemon 133 5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @got
boxset 0x2
waitfanfare
setflag 0x828
release
end
#Org @got
= \c\h01\h02You Recieved a EEVEE!
#org @recieved
release
end
--
This Script will:
Give you a Eevee,
and say, you recieved Eevee.
and it will play a little sound! xD
Good luck..
Code:#dynamic 0x71AABF #org @start lock checkflag 0x828 if b_true goto @recieved givepokemon 133 5 0 0 0 0 setflag 0x828 release end #org @recieved release end
This should give the player a eevee (only once) if they live their room. However, It freezes te game! I tried everything I could think off.
This is my first day of scripting in hacks (actualy the first time I hack). The stupid thing is that I worked, then I wanted to add a give item so the player has pokéballs but then the script stoped working. I changed some things around, but now I can't get back to the working script.
Memo to self: always save your script.
Could someone point me in the right deriction?
Yes, it works. ^^I also made a somewhat bigger script:
Your dad ask you if you need pokéballs. If you answer yes, he will give you 5. If you say no, he says something along the lines of: Ok, just say so when you need them. A flag is set so you can only do it once.
However, I still need some help:
- Trainerbattle, How does it work? I changed an empty trainer with HackMew's A-trainer. How Can I place this trainer on a route? I studied a trainer a bit, but it was very confusing with alot offsets! You should make a tutorial on it.
- How can you make someone heal your pokémon? I guess it's something with special cause that's what I saw in a PokéCenter script.
Quick question (again) :) do i need the newest version of XSE for the givepokemon for some reason the one i'm using isn't working which is a bit wierd O.o
XSE doesn't let me compile it when i try to and says "Too less parameters on line 6. The correct number is 2."
What do I do when it says too many parameters on line 6.The correct number is 2
help