View Single Post
Old February 7th, 2009 (11:33 AM).
Mourgrim's Avatar
Mourgrim Mourgrim is offline
Join Date: Nov 2008
Age: 25
Nature: Rash
Posts: 19
And here's yet another issue...xD My give pokemon code isn't working correctly. First, the nicknaming: it just keeps asking "Would you like to nickname EEVEE?" over and over until I say no. Also, it's not an eevee. I entered the number for eevee, and yet, it's giving me a Breloom. Also, I put in "hidesprite" so that it'd disappear, but that's not working either. When I step away, it reappears.

Anyway, here's the code:
#dynamic 0x800020

#org @start
checkflag 0x1000
if 0x1 goto @give
msgbox @notyours 0x2

#org @give
givepokemon 0x133 0x5 0x0 0x0 0x0 0x0
msgbox @received 0x2
setflag 0x828
msgbox @nickname 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
hidesprite 0x02

#org @name
call 0x1A7FEB

#org @notyours
= This isn't your POK\h06MON,\nyou shouldn't even be\llooking at it!

#org @received
= You received EEVEE!

#org @nickname
= Would you like to nickname\nEEVEE?
Reply With Quote