Larsie13
Guest
- 0
- Posts
An often made error. Mixing up Hex and Decimal. 0x133 is 307, which is Breloom. If you want Eevee, put 133 (without the 0x), or 0x85.Yh thought that had to be added but it wasn't in the tutorial. Wasn't sure where to place it anyway. Any idea on the pokemon problem that i get a breloom instead of an eevee. Though i did use 133 which is for eevee.
adjusted script.
Spoiler:#dynamic 0x800504
#org @start
faceplayer
checkflag 0x828
if 0x1 goto @done
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 goto @take
msgbox @2 0x6
release
end
#org @take
givepokemon 0x133 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @3 0x4
waitfanfare
closeonkeypress
setflag 0x828
msgbox @4 0x5
compare LASTRESULT 0x1
if 0x1 gosub @name
msgbox @5 0x6
release
end
#org @name
call 0x1A74EB
return
#org @done
msgbox @6 0x6
release
end
#org @1
= MOM: You're going outside?\nYou should take your eevee\pwith you.\nYou've been a team since\pyou learned to walk.\nWant it?
#org @2
= It'll be here waiting\nwhenever you need it.
#org @3
= [black_fr]You received an Eevee!
#org @4
= [black_fr]Would you like to give a\nnickname to Eevee?
#org @5
= Eevee looks overjoyed!
#org @6
= Be carefull wherever you go.
EDIT: DJG beat me.