Check this thread out https://www.pokemonhackersonline.com/showthread.php?t=14471So, just a small nitpick, is there a way to move the camera when teleporting the player? I want it to be a bit more centered.
Ok I have my own issue. After talking to joy and her healing my pokemon the screen glitches up:
Spoiler:
![[PokeCommunity.com] Script Help Thread [PokeCommunity.com] Script Help Thread](https://i.imgur.com/3hosHUX.png)
I do have a sethealing place all set up too. Im using jpans hacked engine too.
Heres the script:
Spoiler:
Code:
'---------------
#org 0x805D8C
checkflag 0x406
if 0x1 goto 0x880965F
msgbox 0x8809594 MSG_NORMAL '"Hello. My name is Joy. I run the\n..."
setflag 0x406
goto 0x880965F
'---------------
#org 0x80965F
lock
faceplayer
call 0x8809669
release
end
'---------------
#org 0x809669
special 0x187
compare LASTRESULT 0x2
if 0x1 goto 0x88096AA
preparemsg 0x8809766 '"Welcome to our POKéMON CENTER!\pWo..."
waitmsg
multichoice 0x13 0x8 0x0 0x2
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x88096AD
compare 0x8000 0x1
if 0x1 goto 0x88096C3
compare 0x8000 0x7F
if 0x1 goto 0x88096C3
end
'---------------
#org 0x8096AA
release
end
'---------------
#org 0x8096AD
cmdc3 0xF
preparemsg 0x88097C6 '"Okay, I'll take your POKéMON for a..."
waitmsg
call 0x88096CD
special 0x169
goto 0x88096EC
'---------------
#org 0x8096C3
msgbox 0x88097F8 MSG_KEEPOPEN '"We hope to see you again!"
return
'---------------
#org 0x8096CD
applymovement LASTTALKED 0x8809A34
waitmovement 0x0
doanimation 0x19
checkanimation 0x19
applymovement LASTTALKED 0x8809A37
waitmovement 0x0
special 0x0
return
'---------------
#org 0x8096EC
special2 LASTRESULT 0x1B1
compare LASTRESULT 0x0
if 0x1 goto 0x81A661D
special2 LASTRESULT 0x183
copyvar 0x8008 LASTRESULT
compare 0x8008 0x0
if 0x1 goto 0x880971E
compare 0x8008 0x1
if 0x1 goto 0x8809738
end
'---------------
#org 0x1A661D
goto 0x80971e
end
'---------------
#org 0x80971E
msgbox 0x88099B8 0x6 '"Thank you for waiting.\nWe've rest..."
msgbox 0x88097F8 MSG_KEEPOPEN '"We hope to see you again!"
return
'---------------
#org 0x809738
checkflag 0x842
if 0x1 goto 0x880971E
msgbox 0x88099B8 MSG_KEEPOPEN '"Thank you for waiting.\nWe've rest..."
setflag 0x842
preparemsg 0x88099FD '"It appears as if [buffer1] is play..."
waitmsg
msgbox 0x88097F8 MSG_KEEPOPEN '"We hope to see you again!"
return
'---------
' Strings
'---------
#org 0x809594
= Hello. My name is Joy. I run the\nlocal Human Center. I guess today\lits a Pokemon center! Hahaha!\pYou know? I like the sound of\nthat. Pokemon center... Hmm, I\lthink thats what I'll call it from\lnow on!
#org 0x809766
= Welcome to our POKéMON CENTER!\pWould you like me to heal your\nPOKéMON back to perfect health?
#org 0x8097C6
= Okay, I'll take your POKéMON for a\nfew seconds.
#org 0x8097F8
= We hope to see you again!
#org 0x8099B8
= Thank you for waiting.\nWe've restored your POKéMON to\lfull health.
#org 0x8099FD
= It appears as if [buffer1] is playing\nright now.\lGo for it!
'-----------
' Movements
'-----------
#org 0x809A34
#raw 0x2F 'Face Left (Delayed)
#raw 0xFE 'End of Movements
#org 0x809A37
#raw 0x2D 'Face Down (Delayed)
#raw 0xFE 'End of Movements
#org 0x809A3A
#raw 0x5B 'mov5B
#raw 0x1A 'Delay3
#raw 0xFE 'End of Movements
#org 0x1A666C
#raw 0x5B 'mov5B
#raw 0x1A 'Delay3
#raw 0xFE 'End of Movements