The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Fire Red: Nurse Joy script

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old December 7th, 2016 (4:24 PM). Edited December 7th, 2016 by Mystelex.
Mystelex
Guest
 
Posts: n/a
Hi, so I'm using JPAN's hacked engine and can't find the Nurse Joy script anymore. I tried making one, but it didn't really turn out to be that good...

So does anyone here have the script so that I can directly complie into the ROM? Or could help me with the script, like which special commands to use for the animations?

And yep, I know how to use sethealing place. ^^

Here's what my poor script looks like right now-
https://www.youtube.com/watch?v=E5JemJGeqss
2:09

I wanna make it look like the default one from Fire Red.

Thank you!
~ Daman
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old December 8th, 2016 (12:59 AM).
Squeetz's Avatar
Squeetz Squeetz is offline
ROM Hacker
 
Join Date: Jun 2013
Location: Norway
Age: 25
Gender: Male
Nature: Quiet
Posts: 236
Quote:
Originally Posted by Daman View Post
Hi, so I'm using JPAN's hacked engine and can't find the Nurse Joy script anymore. I tried making one, but it didn't really turn out to be that good...
Here:
Spoiler:
//---------------
#dynamic 0x856F7D
#org @start
lock
faceplayer
call @snippet1
release
end

//---------------
#org @snippet1
preparemsg @string1 //"Welcome to our POKéMON CENTER!\pWo..."
waitmsg
multichoice 0x13 0x8 0x0 0x2
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto @snippet3
compare 0x8000 0x1
if 0x1 goto @snippet4
compare 0x8000 0x7F
if 0x1 goto @snippet4
end

//---------------
#org @snippet3
cmdc3 0xF
preparemsg @string2 //"Okay, I'll take your POKéMON for a..."
waitmsg
call @snippet5
goto @snippet7

//---------------
#org @snippet4
msgbox @string3 MSG_KEEPOPEN //"We hope to see you again!"
return

//---------------
#org @snippet5
applymovement LASTTALKED @move1
waitmovement 0x0
doanimation 0x19
checkanimation 0x19
applymovement LASTTALKED @move2
waitmovement 0x0
special 0x0
return


//---------------
#org @snippet7
preparemsg @string4 //"Thank you for waiting.\nWe've rest..."
waitmsg
applymovement LASTTALKED @move3
waitmovement 0x0
msgbox @string3 MSG_KEEPOPEN //"We hope to see you again!"
return


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

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

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

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


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

#org @move2
#raw 0x2D //Face Down (Delayed)
#raw 0xFE //End of Movements

#org @move3
#raw 0x5B //mov5B
#raw 0x1A //Delay3
#raw 0xFE //End of Movements

This should work with his engine.
__________________
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old December 8th, 2016 (3:12 AM).
Mystelex
Guest
 
Posts: n/a
Quote:
Originally Posted by Squeetz View Post
Here:
Spoiler:
//---------------
#dynamic 0x856F7D
#org @start
lock
faceplayer
call @snippet1
release
end

//---------------
#org @snippet1
preparemsg @string1 //"Welcome to our POKéMON CENTER!\pWo..."
waitmsg
multichoice 0x13 0x8 0x0 0x2
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto @snippet3
compare 0x8000 0x1
if 0x1 goto @snippet4
compare 0x8000 0x7F
if 0x1 goto @snippet4
end

//---------------
#org @snippet3
cmdc3 0xF
preparemsg @string2 //"Okay, I'll take your POKéMON for a..."
waitmsg
call @snippet5
goto @snippet7

//---------------
#org @snippet4
msgbox @string3 MSG_KEEPOPEN //"We hope to see you again!"
return

//---------------
#org @snippet5
applymovement LASTTALKED @move1
waitmovement 0x0
doanimation 0x19
checkanimation 0x19
applymovement LASTTALKED @move2
waitmovement 0x0
special 0x0
return


//---------------
#org @snippet7
preparemsg @string4 //"Thank you for waiting.\nWe've rest..."
waitmsg
applymovement LASTTALKED @move3
waitmovement 0x0
msgbox @string3 MSG_KEEPOPEN //"We hope to see you again!"
return


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

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

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

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


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

#org @move2
#raw 0x2D //Face Down (Delayed)
#raw 0xFE //End of Movements

#org @move3
#raw 0x5B //mov5B
#raw 0x1A //Delay3
#raw 0xFE //End of Movements

This should work with his engine.
Sounds good! I'll try it today and let you know, thank you!
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:18 AM.