View Single Post
  #2434    
Old October 26th, 2009 (08:28 PM). Edited October 27th, 2009 by Larvitar170.
Larvitar170's Avatar
Larvitar170
Noobie hacker
 
Join Date: Jul 2009
Location: Kentucky.
Gender: Male
Nature: Modest
Firered
XSE
Pokemon Center
Spoiler:
#dynamic 0x803128

#org @start
lock
faceplayer
call @1
release
end

#org @1
special 0x187
compare LASTRESULT 0x2
if 0x1 goto @2
preparemsg @3
waitmsg
multichoice 0x13 0x8 0x0 0x2
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto @4
compare 0x8000 0x1
if 0x1 goto @5
compare 0x8000 0x7F
if 0x1 goto @5
end

#org @2
release
end

#org @4
cmdc3 0xF
preparemsg @6
waitmsg
call @7
special 0x169
goto @8

#org @5
msgbox @9 MSG_KEEPOPEN
return

#org @7
applymovement LASTTALKED @10
waitmovement 0x0
doanimation 0x19
checkanimation 0x19
applymovement LASTTALKED @11
waitmovement 0x0
special 0x0
return

#org @8
special2 LASTRESULT 0x1B1
compare LASTRESULT 0x0
if 0x1 goto @12
special2 LASTRESULT 0x183
copyvar 0x8008 LASTRESULT
compare 0x8008 0x0
if 0x1 goto @12
compare 0x8008 0x1
if 0x1 goto @13
end

#org @12
preparemsg @14
waitmsg
applymovement LASTTALKED @15
waitmovement 0x0
msgbox @9 MSG_KEEPOPEN
return

#org @13
checkflag 0x842
if 0x1 goto @12
msgbox @14 MSG_KEEPOPEN
setflag 0x842
preparemsg @16
waitmsg
applymovement LASTTALKED @15
waitmovement 0x0
msgbox @9 MSG_KEEPOPEN
return

#org @3
= Welcome to our POKéMON CENTER!\pWould you like me to heal your\nPOKéMON back to perfect health?

#org @6
= Okay, I'll take your POKéMON for a\nfew seconds.

#org @9
= We hope to see you again!

#org @14
= Thank you for waiting.\nWe've restored your POKéMON to\lfull health.

#org @16
= It appears as if [buffer1] is playing\nright now.\lGo for it!

#org @10
#raw 0x2F
#raw 0xFE

#org @11
#raw 0x2D
#raw 0xFE

#org @15
#raw 0x5B
#raw 0x1A
#raw 0xFE


Everytime I use this, it makes my character just pick up an item and go on. I messed this up earlier, but I can't remember how I fixed it.
__________________
Current project: Pokemon Mud Brown (Working Title, will be changed.)
No link because I haven't made a page for it yet.
Team: Myself as mapper, scripter, and spriter.Brandinokthx as spriter.