View Single Post
  #8173    
Old May 10th, 2013, 10:25 AM
~Anbuja's Avatar
~Anbuja
Let's Keep It Simple
 
Join Date: Oct 2010
Location: In Snorlax Stomach
Gender: Male
Nature: Lonely
Send a message via Skype™ to ~Anbuja
Hi!
I need help with this.
I've applied Jpans engine to my ROM, and tried to recompile the nurse joy script.
Everything works fine, until the part when the nurse joy comes to the part shes supposed to say "We hope to see you again!" then my screen turns into 3 different colors and the rom image crushes.
I suck at scripting so I don't have a clue what else to do, I hope someone can help me there :>
Spoiler:

Quote:
#Dynamic 0x740000
'---------------
#org @start
lock
faceplayer
call @one
release
end

'---------------
#org @one
special 0x187
compare LASTRESULT 0x2
if 0x1 goto @nope
preparemsg @text1 '"Welcome to our POKéMON CENTER!\pWo..."
waitmsg
multichoice 0x13 0x8 0x0 0x2
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto @A1A65B8
compare 0x8000 0x1
if 0x1 goto @A1A6663
compare 0x8000 0x7F
if 0x1 goto @A1A6663
end

'---------------
#org @nope
release
end

'---------------
#org @A1A65B8
cmdc3 0xF
preparemsg @text2 '"Okay, I'll take your POKéMON for a..."
waitmsg
call @A1A65CE
special 0x169
goto @A1A65EC

'---------------
#org @A1A6663
msgbox @again MSG_KEEPOPEN '"We hope to see you again!"
return

'---------------
#org @A1A65CE
applymovement LASTTALKED 0x81A75E7
waitmovement 0x0
doanimation 0x19
checkanimation 0x19
applymovement LASTTALKED @A1A75ED
waitmovement 0x0
special 0x0
return

'---------------
#org @A1A65EC
special2 LASTRESULT 0x1B1
compare LASTRESULT 0x0
if 0x1 goto @A1A661D
special2 LASTRESULT 0x183
copyvar 0x8008 LASTRESULT
compare 0x8008 0x0
if 0x1 goto @A1A661D
compare 0x8008 0x1
if 0x1 goto @A1A6636
end

'---------------
#org @A1A661D
preparemsg @TY '"Thank you for waiting.\nWe've rest..."
waitmsg
applymovement LASTTALKED @A1A666C
waitmovement 0x0
msgbox @again MSG_KEEPOPEN '"We hope to see you again!"
return

'---------------
#org @A1A6636
checkflag 0x842
if 0x1 goto @A1A661D
msgbox @TY MSG_KEEPOPEN '"Thank you for waiting.\nWe've rest..."
setflag 0x842
preparemsg @Playing '"It appears as if [buffer1] is play..."
waitmsg
applymovement LASTTALKED @A1A666C
waitmovement 0x0
msgbox @again MSG_KEEPOPEN '"We hope to see you again!"
return


'---------
' Strings
'---------
#org @text1
= [black_fr]Welcome to our [blue_fr]POKéMON CENTER!\p[black_fr]Would you like me to heal your\n[blue_fr]POKéMON [black_fr]back to perfect health?

#org @text2
= [black_fr]Okay, I'll take your [blue_fr]POKéMON [black_fr]for a\nfew seconds.

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

#org @TY
= [black_fr]Thank you for waiting.\nWe've restored your [blue_fr]POKéMON [black_fr]to\lfull health.

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


'-----------
' Movements
'-----------
#org @A1A75E7
#raw 0x2F 'Face Left (Delayed)
#raw 0xFE 'End of Movements

#org @A1A75ED
#raw 0x2D 'Face Down (Delayed)
#raw 0xFE 'End of Movements

#org @A1A666C
#raw 0x5B 'mov5B
#raw 0x1A 'Delay3
#raw 0xFE 'End of Movements

Thanks in advantage!
__________________