• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Script] Nicknaming screen not showing.

8
Posts
3
Years
  • Age 20
  • Seen Jul 4, 2021
There was a problem after a Pokémon is given. You know, after a Pokémon was given, we had a chance to nickname it or not..

But this time it's different..

This was my script.

#dynamic 0x800000

#org @start
lock
faceplayer
checkflag 0x240
if 0x1 goto @Done
msgbox @question 0x5
compare LASTRESULT 0x1
if 0x1 goto @Yes
msgbox @saidnomsg 0x6
release
end

#org @Yes
countpokemon
compare 0x800D 0x6
if 0x1 goto @Full
msgbox @take 0x6
givepokemon 0x199 0x15 0x0 0x0 0x0 0x0
fanfare 0x101
msgbox @receive 0x4
waitfanfare
closeonkeypress
msgbox @nick 0x5
compare LASTRESULT 0x1
if 0x1 call @YesToNick
msgbox @Donemsg 0x6
setflag 0x240
release
end

#org @YesToNick
setvar 0x8004 0x0
call 0x81A74EB
return

#org @Full
msgbox @Fullmsg 0x6
release
end

#org @Done
msgbox @Donemsg 0x6
release
end

#org @question
= Do you like a legendary Pokémon?

#org @saidnomsg
= Too bad[.]

#org @Fullmsg
= You don't have enough room for your party.

#org @Donemsg
= Bye!

#org @take
= You can have one of mine!

#org @receive
= You received a JIRACHI

#org @nick
= Give a nickname to JIRACHI?



The problem is after I receive a Pokémon, the nicknaming screen doesn't show up. And it keeps on repeating the same script again and again after I pressed yes.. help me out.
 
990
Posts
4
Years

Try this:
Spoiler:
 
8
Posts
3
Years
  • Age 20
  • Seen Jul 4, 2021
I wrote out your script... it seemed had the same issue but this time only the fadescreen command works. There were also parts missing.. the setflag 0x860 which gives access to Pokémon Menu.. and then, the script goes on over again.

Is there anything that is missing there yet?

I would have been wondering and yet, I was hacking Pokemon Emerald...

Setflag for Pokemon Emerald:
0x860 (gives access to PKMN Menu)

The nicknaming address:
special 0x166 / call 0x81A74EB

In this script:

#org @YesToNick
setvar 0x8004 0x0
fadescreen 0x1
special 0x166
waitstate
lock
faceplayer
return

only the fadescreen worked...but not appearing the nicknaming screen..

The script also repeats over and over again without saying the @donemsg
 
Last edited:
990
Posts
4
Years


Ah, you should've mentioned you're on Emerald.
Try this, then:
Spoiler:

This is at x1A74EB in Emerald; not sure why you were calling it:
Code:
'---------------
#org 0x1A74EB
jumpram
nop1
comparefarbytes 0x34014004 0xF0001C20
comparefarbytes 0x44802FD 0x1BC1080
virtualcallif 0x0 0xF0000047
showpokepic 0x203 0x0 0xB5
if 0x48 call 0x49076800
warp4 0x18 0x0 0x88 0x2804 0xD80F
goto 0x480649
 
8
Posts
3
Years
  • Age 20
  • Seen Jul 4, 2021
Yes! It worked now... Thank you...
Thanks for the help, never thought I mistakenly wrote out 0x166... It was 0xA1.

Thanks a lot, mate...
 
Back
Top