View Single Post
Old December 25th, 2008 (2:53 PM).
iTeruri's Avatar
iTeruri iTeruri is offline
Join Date: May 2006
Location: The Nederlands
Nature: Relaxed
Posts: 277
#dynamic 0x71AABF

#org @start

checkflag 0x828
if b_true goto @recieved
givepokemon 133 5 0 0 0 0
setflag 0x828

#org @recieved
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?